仲裁bug修复

This commit is contained in:
18792927508
2024-05-11 09:05:59 +08:00
parent 198b29dcb0
commit 42c9a82363
6 changed files with 4 additions and 15 deletions
@@ -141,7 +141,6 @@ public class AdjudicationServiceImpl implements IAdjudicationService {
@Override
@Transactional
public AjaxResult createDocument(CaseApplication caseApplicationReq) {
// todo 生成裁决书单独出接口,即确定审理结果接口,提交按钮只改变案件状态和生成签名链接
String templatePath = "";
String templateName = "";
@@ -348,7 +347,6 @@ public class AdjudicationServiceImpl implements IAdjudicationService {
hearDateStr = sdf.format(hearDate);
datas.put("审理日期", hearDateStr);
}
// todo 线上仲裁/线下仲裁方式未选择
//线上开庭时+线上仲裁
if (arbitratMethod != null && arbitratMethod == 1) {
String replace = onLine.replace(onLineDate, Optional.of(hearDateStr).orElse(""));
@@ -1344,7 +1342,6 @@ public class AdjudicationServiceImpl implements IAdjudicationService {
@Transactional
@Override
public AjaxResult batchDocument(List<Long> ids) {
// todo 多线程生成裁决书
// List<MultipleThreadListParam> execList=new ArrayList<>();
// if(CollectionUtil.isNotEmpty(columnValueList)) {
// setExecList(execList, columnValueList);
@@ -223,7 +223,6 @@ public class CaseApplicationServiceImpl implements ICaseApplicationService {
*/
@Override
public List<CaseApplication> selectCaseApplicationListByRole(CaseApplication caseApplication) {
// todo 案件列表查询Bug修复,需要看见已办案件
// 获取登录用户
LoginUser loginUser = getLoginUser();
SysUser user = loginUser.getUser();
@@ -386,7 +385,6 @@ public class CaseApplicationServiceImpl implements ICaseApplicationService {
*/
public List<CaseApplication> page(CaseApplication caseApplication) {
List<CaseApplication> caseApplications= new ArrayList<>();
// todo 案件列表查询Bug修复,需要看见已办案件
// 获取登录用户
LoginUser loginUser = getLoginUser();
SysUser user = loginUser.getUser();
@@ -1707,7 +1705,6 @@ public class CaseApplicationServiceImpl implements ICaseApplicationService {
for (String baseColumn : baseColumns) {
if(StrUtil.isEmpty( ObjectFieldUtils.getValue(caseApplication, baseColumn))){
errorMsg.append(baseColumn).append("不能为空,");
// todo 暂抛出异常,后边改为提示具体的字段
throw new ServiceException("必填字段未填写,请完善案件信息!");
}
}
@@ -1721,7 +1718,6 @@ public class CaseApplicationServiceImpl implements ICaseApplicationService {
for (String applicAffiliateColumn : applicAffiliateColumns) {
if(StrUtil.isEmpty( ObjectFieldUtils.getValue(caseAffiliate, applicAffiliateColumn))){
errorMsg.append(applicAffiliateColumn).append("不能为空,");
// todo 暂抛出异常,后边改为提示具体的字段
throw new ServiceException("必填字段未填写,请完善案件信息!");
}
}
@@ -1731,7 +1727,6 @@ public class CaseApplicationServiceImpl implements ICaseApplicationService {
for (String applicAffiliateColumn : dectborAffiliateColumns) {
if(StrUtil.isEmpty( ObjectFieldUtils.getValue(caseAffiliate, applicAffiliateColumn))){
errorMsg.append(applicAffiliateColumn).append("不能为空,");
// todo 暂抛出异常,后边改为提示具体的字段
throw new ServiceException("必填字段未填写,请完善案件信息!");
}
}
@@ -481,7 +481,6 @@ public class CaseEvidenceServiceImpl implements ICaseEvidenceService {
private List<CaseEvidenceVO> getCaseEvidenceVOList(String identityNum, List<Integer> caseStatusList, Integer identityType) {
List<CaseEvidenceVO> caseListByRespondent = caseEvidenceMapper.getCaseListByRespondent(identityNum, caseStatusList, identityType,null,SecurityUtils.getUsername());
// todo 返回房间号和开庭时间
if (caseListByRespondent != null && caseListByRespondent.size() > 0) {
for (CaseEvidenceVO caseEvidenceVO : caseListByRespondent) {
//根据案件id查询姓名
@@ -502,7 +501,6 @@ public class CaseEvidenceServiceImpl implements ICaseEvidenceService {
}
private List<CaseEvidenceVO> getCaseEvidenceVOListByPhone(String phone, List<Integer> caseStatusList, Integer identityType) {
List<CaseEvidenceVO> caseListByRespondent = caseEvidenceMapper.getCaseListByRespondent(null, caseStatusList, identityType,phone,SecurityUtils.getUsername());
// todo 返回房间号和开庭时间
if (caseListByRespondent != null && caseListByRespondent.size() > 0) {
for (CaseEvidenceVO caseEvidenceVO : caseListByRespondent) {
//根据案件id查询姓名
@@ -692,7 +692,6 @@ public class CaseZipImportImpl {
try {
BigDecimal bigDecimal = new BigDecimal(caseSubjectAmount);
caseApplication.setCaseSubjectAmount(bigDecimal);
// todo 案件标的名字要改,字典配置中也要改
//todo 暂时设置计费比率为0.01
BigDecimal feeRate = new BigDecimal(0.01);
BigDecimal feePayable = caseApplication.getCaseSubjectAmount().multiply(feeRate).setScale(2, BigDecimal.ROUND_HALF_UP);