lin 3 år sedan
förälder
incheckning
ba09bc1135

+ 2 - 1
zoniot-rmcp/zoniot-rmcp-web/src/main/java/com/zcxk/rmcp/web/service/install/impl/InstallPlanServiceImpl.java

@@ -367,7 +367,7 @@ public class InstallPlanServiceImpl implements InstallPlanService {
 
         InstallPlan installPlan = new InstallPlan();
         installPlan.setTenantId(excelData.getImportFile().getTenantId());
-        installPlan.setPlanName(infoData.getCommunityName());
+        //installPlan.setPlanName(infoData.getCommunityName());
         if(community!=null)installPlan.setCommunityId(community.getId());
         installPlan.setCompanyOrgId(companyOrg.getId());
         if(deptOrg!=null)installPlan.setDeptOrgId(deptOrg.getId());
@@ -479,6 +479,7 @@ public class InstallPlanServiceImpl implements InstallPlanService {
         InstallPlan updateInstallPlan = new InstallPlan();
         updateInstallPlan.setId(excelData.getInstallPlan().getId());
         updateInstallPlan.setEnableUnit(excelData.getEnableUnit());
+        updateInstallPlan.setDoorNum(excelData.getInstallList().size());
         this.updateByPrimaryKeySelective(updateInstallPlan);
     }