wl
2022-09-29 e1341c21eff54bb24c1c98df2e65387ff7e17dd7
ycl-platform/src/main/java/com/ycl/controller/store/StoreInfoController.java
@@ -5,8 +5,8 @@
import com.ycl.api.CommonPage;
import com.ycl.api.CommonResult;
import com.ycl.dto.UmsStoreInfoParam;
import com.ycl.entity.platform.store.StoreInfo;
import com.ycl.service.platform.store.StoreInfoService;
import com.ycl.entity.store.StoreInfo;
import com.ycl.service.store.StoreInfoService;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import org.springframework.beans.factory.annotation.Autowired;
@@ -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);