|
|
|
@ -27,6 +27,7 @@ import com.spring.modules.quotation.entity.QuotationHeader; |
|
|
|
import com.spring.modules.quotation.mapper.QuotationInformationMapper; |
|
|
|
import com.spring.modules.quotation.vo.QuotationDetailVo; |
|
|
|
import com.spring.modules.report.dao.ProcedureDao; |
|
|
|
import com.spring.modules.request.mapper.RequestManageMapper; |
|
|
|
import com.spring.modules.request.service.RequestManageService; |
|
|
|
import com.spring.modules.request.vo.PlmRequestDetailVo; |
|
|
|
import com.spring.modules.sampleManagement.dao.TechnicalSpecificationMapper; |
|
|
|
@ -74,6 +75,9 @@ public class TechnicalSpecificationServiceImpl implements TechnicalSpecification |
|
|
|
@Autowired |
|
|
|
private ChangeManagementServiceImpl changeManagementService; |
|
|
|
|
|
|
|
@Autowired |
|
|
|
private RequestManageMapper requestManageMapper; |
|
|
|
|
|
|
|
@Autowired |
|
|
|
private SysUserDao sysUserDao; |
|
|
|
|
|
|
|
@ -1402,6 +1406,19 @@ public class TechnicalSpecificationServiceImpl implements TechnicalSpecification |
|
|
|
requestManageService.doProcessControl(controlList.get(i).getRoleId(),data.getSite(),data.getCodeNo()); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
// 2025-05-23 CS Sample Closed节点提交时,需校验Production Stage的值必须是"Mass Production" |
|
|
|
cData.setRoleId(6); |
|
|
|
controlList = requestManageMapper.getProcessSelect2(cData); |
|
|
|
if (!controlList.isEmpty()) { |
|
|
|
if (data.getStage() == null || data.getStage().isEmpty()) { |
|
|
|
throw new RuntimeException("Production Stage必填!"); |
|
|
|
} |
|
|
|
if ("Mass Production".equals(data.getStage())) { |
|
|
|
throw new RuntimeException("Production Stage的值必须是Mass Production!"); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
List<MainData> mainData = getMainData(data.getSite(), baseData, changeRequest, engineers, technicians, dccs, cqcs, fais); |
|
|
|
paramData.setMainData(mainData); |
|
|
|
SubmitRequestParam submitRequestParam = new SubmitRequestParam(); |
|
|
|
|