|
@@ -274,8 +274,8 @@ public class PreparationServiceImpl extends BaseServiceImpl<PreparationMapper, P
|
|
|
record.setTempUserId(userInfo.getUserId());
|
|
|
if(record.getSearchType() != null && record.getStatus() == null){
|
|
|
List<Integer> statusList = new ArrayList<>();
|
|
|
- if(record.getSearchType() == 1){ // 待接工单
|
|
|
- statusList.add(PreparationStatusEnum.VERIFY_SUCCESS.getValue());
|
|
|
+ if(record.getSearchType() == 1){ // 待派工单
|
|
|
+ statusList.add(PreparationStatusEnum.APPLY_LEADER_VERIFY_SUCCESS.getValue());
|
|
|
record.setTempUserId(null);
|
|
|
}else if(record.getSearchType() == 2){ // 待审核工单
|
|
|
statusList.add(PreparationStatusEnum.NOT_ALLOCATED.getValue());
|
|
@@ -372,16 +372,6 @@ public class PreparationServiceImpl extends BaseServiceImpl<PreparationMapper, P
|
|
|
sendMessageToRepairer(userVOS,model);
|
|
|
}
|
|
|
|
|
|
- @Override
|
|
|
- public void verifyPreparation(PreparationDTO model) {
|
|
|
-
|
|
|
- }
|
|
|
-
|
|
|
- @Override
|
|
|
- public void receivePreparation(PreparationDTO model) {
|
|
|
-
|
|
|
- }
|
|
|
-
|
|
|
/**
|
|
|
* 获取当前用户的角色集合
|
|
|
* @return
|
|
@@ -445,8 +435,7 @@ public class PreparationServiceImpl extends BaseServiceImpl<PreparationMapper, P
|
|
|
if(!StringUtils.isEmpty(vo.getExecuteDept())){
|
|
|
vo.setExecuteDeptName(sysDeptMapper.selectByPrimaryKey(vo.getExecuteDept()).getName());
|
|
|
if(vo.getStatus() == PreparationStatusEnum.PROCESSING.getValue()
|
|
|
- || vo.getStatus() == PreparationStatusEnum.FINISHED.getValue()
|
|
|
- || vo.getStatus() == PreparationStatusEnum.WAIT_DISPATCH.getValue()){
|
|
|
+ || vo.getStatus() == PreparationStatusEnum.FINISHED.getValue()){
|
|
|
vo.setDispatchUserName(sysUserMapper.selectUserNameById(vo.getDispatchUserId()));
|
|
|
}else{
|
|
|
// 获取筹建主管角色
|