Pārlūkot izejas kodu

整改数据保存

wangming 1 gadu atpakaļ
vecāks
revīzija
ea5797f3be

+ 3 - 0
business-common/src/main/java/com/rongwei/bscommon/sys/service/impl/ZhcxProjectManageServiceImpl.java

@@ -18,6 +18,7 @@ import com.rongwei.bsentity.domain.ZhcxProjectRectifyMachineDo;
 import com.rongwei.bsentity.dto.project.*;
 import com.rongwei.rwcommon.base.exception.CustomException;
 import com.rongwei.rwcommon.utils.SecurityUtil;
+import com.rongwei.rwcommon.utils.StringUtils;
 import com.rongwei.rwcommoncomponent.excel.aspose.ExcelUtils;
 import com.rongwei.rwcommoncomponent.file.dto.SysFileItemParamDto;
 import com.rongwei.rwcommoncomponent.file.service.SysFileItemService;
@@ -186,6 +187,8 @@ public class ZhcxProjectManageServiceImpl extends ServiceImpl<ZhcxProjectManageD
             main.setRemark1(row.getString("备注1"));
             main.setRemark2(row.getString("备注2"));
 
+            main.setMachineno(StringUtils.join(summaryDataBo.getPrjDeviceNumMap().keySet(), ","));
+
             mainList.add(main);
 
             JSONObject children = row.getJSONObject("children");

+ 6 - 0
business-entity/src/main/java/com/rongwei/bsentity/domain/ZhcxProjectRectifyDo.java

@@ -105,5 +105,11 @@ public class ZhcxProjectRectifyDo extends BaseDo {
     @TableField("REMARK2")
     private String remark2;
 
+    /**
+     * 机号
+     */
+    @TableField("MACHINENO")
+    private String machineno;
+
 
 }