优化生成裁决书接口
This commit is contained in:
+1
-2
@@ -94,8 +94,7 @@ public class AdjudicationServiceImpl implements IAdjudicationService {
|
||||
datas.put("resName", affiliate.getName());
|
||||
datas.put("resAddress", affiliate.getContactAddress());
|
||||
datas.put("resSex", affiliate.getResponSex());
|
||||
// datas.put("resDateOfBirth", responBirthdatestr);
|
||||
datas.put("resDateOfBirth", "1987-03-05");
|
||||
datas.put("resDateOfBirth", affiliate.getResponBirth());
|
||||
datas.put("resContactAddress", null);
|
||||
}
|
||||
}
|
||||
|
||||
+16
-16
@@ -127,25 +127,25 @@ public class CaseApplicationServiceImpl implements ICaseApplicationService {
|
||||
){
|
||||
return caseApplicationMapper.selectAdminCaseApplicationList(caseApplication);
|
||||
}
|
||||
if(role.getRoleName().equals("仲裁委")
|
||||
||role.getRoleName().equals("部门长")){
|
||||
List<Integer> caseStatusList=new ArrayList<>();
|
||||
caseStatusList.add(CaseApplicationConstants.CONFIRMDED_PENDING_TRIAL);
|
||||
caseStatusList.add(CaseApplicationConstants.SIGN_ARBITRATION);
|
||||
caseStatusList.add(CaseApplicationConstants.ARBITRATED_SEAL);
|
||||
caseApplication.setDeptHeadStatus(caseStatusList);
|
||||
}
|
||||
if(role.getRoleName().equals("仲裁员")){
|
||||
caseApplication.setUserId(String.valueOf(userId));
|
||||
}
|
||||
// if(role.getRoleName().equals("仲裁委")
|
||||
// ||role.getRoleName().equals("部门长")){
|
||||
// List<Integer> caseStatusList=new ArrayList<>();
|
||||
// caseStatusList.add(CaseApplicationConstants.CONFIRMDED_PENDING_TRIAL);
|
||||
// caseStatusList.add(CaseApplicationConstants.SIGN_ARBITRATION);
|
||||
// caseStatusList.add(CaseApplicationConstants.ARBITRATED_SEAL);
|
||||
// caseApplication.setDeptHeadStatus(caseStatusList);
|
||||
// }
|
||||
// if(role.getRoleName().equals("仲裁员")){
|
||||
// caseApplication.setUserId(String.valueOf(userId));
|
||||
// }
|
||||
if(role.getRoleName().equals("财务")){
|
||||
caseApplication.setFinanceStatus(CaseApplicationConstants.PENDING_PAYMENT_CONFIRM);
|
||||
}
|
||||
if(role.getRoleName().equals("法律顾问")){
|
||||
// 查询角色有关的用户部门
|
||||
List<Long> deptIds = sysDeptMapper.selectUserDeptListByRoleId(role.getRoleId());
|
||||
caseApplication.setDeptIds(deptIds);
|
||||
}
|
||||
// if(role.getRoleName().equals("法律顾问")){
|
||||
// // 查询角色有关的用户部门
|
||||
// List<Long> deptIds = sysDeptMapper.selectUserDeptListByRoleId(role.getRoleId());
|
||||
// caseApplication.setDeptIds(deptIds);
|
||||
// }
|
||||
if(StrUtil.isEmpty(caseApplication.getNameId())&&role.getRoleName().equals("申请人")){
|
||||
// 查询角色有关的用户部门
|
||||
caseApplication.setNameId(String.valueOf(sysUser.getDeptId()));
|
||||
|
||||
Reference in New Issue
Block a user