|
|
|
@ -289,6 +289,9 @@ public class MesReworkTaskServiceImpl implements IMesReworkTaskService {
|
|
|
|
|
DdlPreparedPack.getNumEqualPack(mesReworkTask.getId(), "reworkTaskId", packBean);
|
|
|
|
|
MesPartInspection mesPartInspection = mesPartInspectionRepository.getByProperty(packBean);
|
|
|
|
|
if (!StringUtils.isEmpty(mesReworkTask.getId())){
|
|
|
|
|
if(!CollectionUtils.isEmpty(requestModel.getAssemblyModelList())){
|
|
|
|
|
mesPartInspection.setNcStatus(MesExtEnumUtil.PART_INSPECTION_NC_STATUS.DISASSEMBLY.getValue());
|
|
|
|
|
}
|
|
|
|
|
mesPartInspection.setQmsSync(CommonEnumUtil.TRUE_OR_FALSE.FALSE.getValue());
|
|
|
|
|
ConvertBean.serviceModelUpdate(mesPartInspection, requestModel.getUserName());
|
|
|
|
|
mesPartInspectionRepository.update(mesPartInspection);
|
|
|
|
|