guoyujia 7 ay önce
ebeveyn
işleme
53a6f599ca

+ 5 - 0
src/main/java/cn/ezhizao/project/business/product/controller/BizProcessInspecionController.java

@@ -1697,6 +1697,7 @@ public class BizProcessInspecionController extends BaseController {
                 consultInfo.setIsProcessInspection(1);
                 consultInfo.setProcessAlias(processInspecion.getLot().getProcessAlias());
                 //consultInfo.setTechnicianId(technicianUser == null ? 0L : technicianUser.getUserId());
+                consultInfo.setTechnicianId(consult.getTechnicianId());
                 needAdd.add(consultInfo);
             }
             bizDayworkItemConsultService.saveBatch(needAdd);
@@ -1941,6 +1942,7 @@ public class BizProcessInspecionController extends BaseController {
                 consultInfo.setIsProcessInspection(1);
                 consultInfo.setProcessAlias(processInspecion.getLot().getProcessAlias());
                 //consultInfo.setTechnicianId(technicianUser == null ? 0L : technicianUser.getUserId());
+                consultInfo.setTechnicianId(consult.getTechnicianId());
                 needAdd.add(consultInfo);
             }
             bizDayworkItemConsultService.saveBatch(needAdd);
@@ -2313,6 +2315,7 @@ public class BizProcessInspecionController extends BaseController {
                 consultInfo.setIsProcessInspection(1);
                 consultInfo.setProcessAlias(processInspecion.getLot().getProcessAlias());
                 //consultInfo.setTechnicianId(technicianUser == null ? 0L : technicianUser.getUserId());
+                consultInfo.setTechnicianId(consult.getTechnicianId());
                 needAdd.add(consultInfo);
             }
             bizDayworkItemConsultService.saveBatch(needAdd);
@@ -2478,6 +2481,7 @@ public class BizProcessInspecionController extends BaseController {
                 consultInfo.setIsProcessInspection(1);
                 consultInfo.setProcessAlias(processInspecion.getLot().getProcessAlias());
                 //consultInfo.setTechnicianId(technicianUser == null ? 0L : technicianUser.getUserId());
+                consultInfo.setTechnicianId(consult.getTechnicianId());
                 needAdd.add(consultInfo);
             }
             bizDayworkItemConsultService.saveBatch(needAdd);
@@ -2784,6 +2788,7 @@ public class BizProcessInspecionController extends BaseController {
                     consultInfo.setIsProcessInspection(1);
                     consultInfo.setProcessAlias(processInspecion.getLot().getProcessAlias());
                     //consultInfo.setTechnicianId(technicianUser == null ? 0L : technicianUser.getUserId());
+                    consultInfo.setTechnicianId(consult.getTechnicianId());
                     needAdd.add(consultInfo);
                 }
                 bizDayworkItemConsultService.saveBatch(needAdd);