guarantee-lsq 2 år sedan
förälder
incheckning
cd5adb2d0f

+ 2 - 3
platform-service/src/main/java/com/platform/service/repair/impl/RepairApplicationFormServiceImpl.java

@@ -305,7 +305,6 @@ public class RepairApplicationFormServiceImpl extends BaseServiceImpl<RepairAppl
         }
         //出库
         outStoreFormDTO.setStatus(OutStoreStatusEnum.NOT_EXECUTE.getValue());
-        outStoreFormDTO.setOutFlag(1);
         BigDecimal outStoreCount=outStoreFormMapper.getOutStoreFormCount1(outStoreFormDTO);
         noticeNumberVO.setOutStoreNum(outStoreCount==null?initNum:outStoreCount);
         if (noticeNumberVO.getRoleFlag()!=5) {
@@ -409,9 +408,9 @@ public class RepairApplicationFormServiceImpl extends BaseServiceImpl<RepairAppl
                 repairApplicationFormVOS= mapper.getRepairCount(repairApplicationFormDTO);
                 noticeNumberVO=addRepairNums(noticeNumberVO,repairApplicationFormVOS);
 
-                outStoreFormDTO.setCreatedUserId(userInfo.getUserId());
+                outStoreFormDTO.setUserId(userInfo.getUserId());
                 outStoreFormDTO.setOutFlag(1);
-                noticeNumberVO=addStoreNums(noticeNumberVO,inStoreFormDTO,outStoreFormDTO,storeCheckJobDTO);
+                noticeNumberVO = addStoreNums(noticeNumberVO,inStoreFormDTO,outStoreFormDTO,storeCheckJobDTO);
             }
             else if(sb.toString().contains(CommonConstants.WORKPLACE_REPAIR_MANAGE)){
                 //维修管理员,先获取其deptid