| | |
| | | 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); |