mg
2022-10-10 5c22e5bbbb7e30de3c4cd6251df7ec366016d5ed
ycl-platform/src/main/java/com/ycl/controller/store/StoreInfoController.java
@@ -57,12 +57,12 @@
    public CommonResult<StoreInfo> add(@Validated @RequestBody UmsStoreInfoParam umsStoreInfoParam) {
        StoreInfo storeInfo = StoreInfo.builder()
                .owner(umsStoreInfoParam.getOwner())
                .storename(umsStoreInfoParam.getStorename())
                .storeName(umsStoreInfoParam.getStorename())
                .contact(umsStoreInfoParam.getContact())
                .storeaddr(umsStoreInfoParam.getStoreaddr())
                .storephoto(umsStoreInfoParam.getStorephoto())
                .idcardinfo(umsStoreInfoParam.getIdcardinfo())
                .storescore(umsStoreInfoParam.getStorescore()).build();
                .storeAddress(umsStoreInfoParam.getStoreaddr())
                .storePhoto(umsStoreInfoParam.getStorephoto())
                .idCardInfo(umsStoreInfoParam.getIdcardinfo())
                .storeScore(umsStoreInfoParam.getStorescore()).build();
        boolean success = storeInfoService.save(storeInfo);
        if (success) {
            return CommonResult.success(null);
@@ -84,7 +84,7 @@
    }
    @ApiOperation(value = "修改门店信息")
    @RequestMapping(value = "/update", method = RequestMethod.GET)
    @RequestMapping(value = "/update", method = RequestMethod.PUT)
    @ResponseBody
    public CommonResult update(@RequestBody StoreInfo storeInfo) {
        boolean success = storeInfoService.updateById(storeInfo);