新增流程

This commit is contained in:
wenc000 2020-03-31 22:47:03 +08:00
parent c828375cbf
commit 513f9fda24
3 changed files with 1 additions and 27 deletions

View File

@ -16,10 +16,6 @@ import com.cm.inspection.pojo.vos.check.CheckVO;
import com.cm.inspection.pojo.vos.hiddendangerreport.HiddenDangerReportVO;
import com.cm.inspection.service.BaseService;
import com.cm.inspection.service.check.ICheckService;
<<<<<<< HEAD
=======
import com.cm.inspection.service.enterpriseofgridoperator.IEnterpriseOfGridOperatorService;
>>>>>>> 68f1a72fb99bfded0696f942c5fb73af22e89872
import com.cm.inspection.service.gridpersonnel.IGridPersonnelService;
import com.cm.inspection.service.hiddendangerreport.IHiddenDangerReportService;
import com.cm.inspection.service.process.IProcessService;
@ -101,7 +97,6 @@ public class CheckServiceImpl extends BaseService implements ICheckService {
LOG.debug("2.isAllPass: {}", isAllPass);
params.put("isAllPass", isAllPass);
if (isAllPass == 0) {
<<<<<<< HEAD
LOG.debug("3.检查项没有完全通过,需要复查");
params.put("reReporter", userId);
processService.setTaskVariableByTaskId(task.getId(), "isReport", 1);
@ -125,13 +120,6 @@ public class CheckServiceImpl extends BaseService implements ICheckService {
processService.setTaskVariableByTaskId(task.getId(), "isLeader", 1);
LOG.debug("2.标记上一次的检查项");
processService.setTaskVariableByTaskId(task.getId(), "lastCheckId", checkId);
=======
LOG.debug("检查项没有完全通过,需要复查");
params.put("reReporter", userId);
}
} else {
List<GridPersonnelDTO> gridPersonnelDTOs = gridPersonnelService.listGridPersonnelByUserId(userId);
>>>>>>> 68f1a72fb99bfded0696f942c5fb73af22e89872
}
processService.saveTaskCompleteByTaskId(task.getId(), params);
}

View File

@ -109,7 +109,6 @@ public interface IGridPersonnelService {
SuccessResultList<List<GridPersonnelDTO>> listPageGridPersonnel(ListPage page) throws SearchException;
/**
<<<<<<< HEAD
* 网格人员列表通过用户名和是否是网格员
*
* @param userId
@ -118,13 +117,5 @@ public interface IGridPersonnelService {
* @throws SearchException
*/
List<GridPersonnelDTO> listGridPersonnelByUserIdAndIsGridOperator(String userId, int isGridOperator) throws SearchException;
=======
* 通过UserId
*
* @param userId
* @return
* @throws SearchException
*/
List<GridPersonnelDTO> listGridPersonnelByUserId(String userId) throws SearchException;
>>>>>>> 68f1a72fb99bfded0696f942c5fb73af22e89872
}

View File

@ -143,16 +143,11 @@ public class GridPersonnelServiceImpl extends BaseService implements IGridPerson
}
@Override
<<<<<<< HEAD
public List<GridPersonnelDTO> listGridPersonnelByUserIdAndIsGridOperator(String userId, int isGridOperator) throws SearchException {
Map<String, Object> params = getHashMap(2);
params.put("userId", userId);
params.put("isGridOperator", isGridOperator);
return listGridPersonnel(params);
=======
public List<GridPersonnelDTO> listGridPersonnelByUserId(String userId) throws SearchException {
return null;
>>>>>>> 68f1a72fb99bfded0696f942c5fb73af22e89872
}
}