修改职能部门案件上报自动分配受理人的逻辑
This commit is contained in:
parent
b9c5c9062b
commit
7bef248ab7
@ -106,11 +106,13 @@ public class ReportCaseAutoAppServiceImpl extends BaseService implements IReport
|
||||
String caseTypeId = params.get("caseTypeId").toString();
|
||||
BindingDepartmentDTO bindingDepartmentDTO = bindingDepartment.getBindingDepartmentByCaseType(caseTypeId);
|
||||
if(bindingDepartmentDTO == null){
|
||||
throw new SaveException("未找到绑定职能部门");
|
||||
LOG.info("案件类型未绑定只能部门,执行手动受理逻辑");
|
||||
return new SuccessResult();
|
||||
}
|
||||
UserDTO userDTO = bindingDepartment.getDepartmentUserReturnOne(bindingDepartmentDTO.getDepartmentId(),token);
|
||||
if(userDTO == null){
|
||||
throw new SaveException("未找到N员信息");
|
||||
LOG.info("未查询到专管员, 执行手动受理逻辑");
|
||||
return new SuccessResult();
|
||||
}
|
||||
//受理
|
||||
params.clear();
|
||||
|
@ -489,8 +489,10 @@ public class ReportCaseServiceImpl extends BaseService implements IReportCaseSer
|
||||
Map<String, Object> queryMap = getHashMap(8);
|
||||
queryMap.put("communityBossId",handleUserId);
|
||||
CommunityBossDTO communityBoss = communityBossService.getCommunityBoss(queryMap);
|
||||
if(communityBoss != null){
|
||||
params.put("handleUserId", communityBoss.getCommunityBossUserId());
|
||||
params.put("handleUserName", communityBoss.getCommunityBossName());
|
||||
}
|
||||
setSaveInfo(params);
|
||||
reportCaseDao.saveReportCaseAssign(params);
|
||||
|
||||
|
@ -25,13 +25,14 @@ spring:
|
||||
datasource:
|
||||
druid:
|
||||
# url: jdbc:mysql://49.233.36.36:6688/db_cloud_city?useUnicode=true&characterEncoding=utf8&characterSetResults=utf8&autoReconnect=true&failOverReadOnly=false&useSSL=false
|
||||
url: jdbc:mysql://127.0.0.1:3306/db_cloud_servicecity?useUnicode=true&characterEncoding=utf8&characterSetResults=utf8&autoReconnect=true&failOverReadOnly=false&useSSL=false
|
||||
# url: jdbc:mysql://127.0.0.1:3306/db_cloud_servicecity?useUnicode=true&characterEncoding=utf8&characterSetResults=utf8&autoReconnect=true&failOverReadOnly=false&useSSL=false
|
||||
url: jdbc:mysql://192.168.0.151:3306/db_cloud_system_city?useUnicode=true&characterEncoding=utf8&characterSetResults=utf8&autoReconnect=true&failOverReadOnly=false&useSSL=false
|
||||
db-type: mysql
|
||||
driver-class-name: com.mysql.jdbc.Driver
|
||||
# username: wanggeng
|
||||
username: root
|
||||
# password: WenG>2132997
|
||||
password: 123456
|
||||
password: root
|
||||
initial-size: 2
|
||||
min-idle: 2
|
||||
max-active: 10
|
||||
|
Loading…
Reference in New Issue
Block a user