|
@@ -25,7 +25,6 @@ import com.platform.dao.vo.SysUserRoleVO;
|
|
import com.platform.dao.vo.SysUserVO;
|
|
import com.platform.dao.vo.SysUserVO;
|
|
import com.platform.service.part.PartInfoService;
|
|
import com.platform.service.part.PartInfoService;
|
|
import com.platform.service.repair.strategy.AbstractRepairBaseStrategy;
|
|
import com.platform.service.repair.strategy.AbstractRepairBaseStrategy;
|
|
-import com.platform.service.sb.SbMeasureLogService;
|
|
|
|
import com.platform.service.upms.SysConfigService;
|
|
import com.platform.service.upms.SysConfigService;
|
|
import com.platform.service.util.SendMessageUtils;
|
|
import com.platform.service.util.SendMessageUtils;
|
|
import org.springframework.stereotype.Component;
|
|
import org.springframework.stereotype.Component;
|
|
@@ -881,9 +880,10 @@ public class LongYanRepairStrategy extends AbstractRepairBaseStrategy {
|
|
if(queryForm.getStatus().intValue() == RepairApplicationFormStatusEnum.REPAIR_VERIFYING.getValue()){ // 非待审状态,不走
|
|
if(queryForm.getStatus().intValue() == RepairApplicationFormStatusEnum.REPAIR_VERIFYING.getValue()){ // 非待审状态,不走
|
|
RepairApplicationForm updForm = new RepairApplicationForm();
|
|
RepairApplicationForm updForm = new RepairApplicationForm();
|
|
updForm.setId(model.getId());
|
|
updForm.setId(model.getId());
|
|
- if(model.getStatus().intValue() == RepairApplicationFormStatusEnum.NOT_ALLOCATED.getValue()){
|
|
|
|
- // 通过报修
|
|
|
|
- updForm.setStatus(RepairApplicationFormStatusEnum.NOT_ALLOCATED.getValue());
|
|
|
|
|
|
+ if(model.getStatus().intValue() == RepairApplicationFormStatusEnum.NOT_ALLOCATED.getValue()
|
|
|
|
+ || model.getStatus().intValue() == RepairApplicationFormStatusEnum.REPAIR_SELF.getValue()){
|
|
|
|
+ // 通过报修 分情况 提交到维修部门或者自修
|
|
|
|
+ updForm.setStatus(model.getStatus());
|
|
// 维修描述&维修部门&维修专业&车间位置
|
|
// 维修描述&维修部门&维修专业&车间位置
|
|
updForm.setContent(model.getContent());
|
|
updForm.setContent(model.getContent());
|
|
updForm.setRepairDeptId(model.getRepairDeptId());
|
|
updForm.setRepairDeptId(model.getRepairDeptId());
|