仲裁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
@@ -65,7 +65,7 @@ public class CaseApplicationLogController {
if(vo.getCaseId()==null || vo.getVersion()==null){
return AjaxResult.error("参数校验错误");
}
// todo 需确定
return caseApplicationLogService.revoke(vo);
}
@@ -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);
@@ -35,9 +35,9 @@
when 3 then '缴费确认' when 4 then '案件质证' when 5 then '组庭审核'
when 6 then '组庭确定' when 7 then '审核仲裁方式' when 8 then '开庭审理'
when 9 then '书面审理'
when 11 then '法律顾问核验裁决书'
when 18 then '仲裁员审核裁决书'
when 12 then '部门长审核裁决书' when 13 then '裁决书签名' when 14 then '裁决书用印'
when 11 then '核验裁决书'
when 18 then '审核裁决书'
when 12 then '审核裁决书' when 13 then '裁决书签名' when 14 then '裁决书用印'
when 15 then '决书送达' when 16 then '案件归档' when 17 then '已归档'
when 26 then '证据确认成功'
when 31 then '修改开庭时间'