| | |
| | | import org.jeecg.common.constant.DataBaseConstant; |
| | | import org.jeecg.common.exception.JeecgBootException; |
| | | import org.jeecg.common.system.vo.LoginUser; |
| | | import org.jeecg.common.util.DateUtils; |
| | | import org.jeecg.common.util.oConvertUtils; |
| | | import org.jeecg.modules.eam.constant.*; |
| | | import org.jeecg.modules.eam.entity.*; |
| | |
| | | values.put("NextAssignee", userApprovalList); |
| | | entity.setEvaluationStatus(TechnicalStatusEvaluationOrderStatusEnum.REPAIRER_SIGNING.name()); |
| | | } |
| | | // //更新设备保养状态 |
| | | // eamEquipmentExtendService.updateEquipmentMaintenanceStatus(entity.getEquipmentId(), EquipmentMaintenanceStatus.NORMAL.name()); |
| | | break; |
| | | case PROCESS_TECHNICIAN_SIGNING: |
| | | //工艺员签字 |
| | |
| | | entity.setInspectorComment(request.getInspectorComment()); |
| | | entity.setEvaluationResult(request.getEvaluationResult()); |
| | | entity.setEvaluationReason(request.getEvaluationReason()); |
| | | //更新设备技术状态 |
| | | // 按照填报完成日期计算本次三保日期,去除时分秒 |
| | | Date evaluationDate = DateUtils.localDateToDate(DateUtils.dateToLocalDate(entity.getActualEndTime())); |
| | | equipmentExtendService.updateTechnologyParam(equipment.getId(), entity.getEvaluationResult(), |
| | | evaluationDate, CommonConstant.STATUS_0); |
| | | break; |
| | | } |
| | | request.setValues(values); |