优化案件状态名称命名

This commit is contained in:
wangqiong
2024-04-29 11:19:34 +08:00
parent 4a807869aa
commit c19c61affd
12 changed files with 103 additions and 101 deletions
@@ -48,7 +48,7 @@ public class CaseEvidenceController extends BaseController {
* 案件证据上传 * 案件证据上传
* *
* @param file 附件 * @param file 附件
* @param annexType 附件类型,立案申请书(1)、证据材料(2)、仲裁文书(3)、案件视频(4)、身份证件(5) * @param annexType 附件类型,立案申请书(1)、证据材料(2)、裁决书(3)、案件视频(4)、身份证件(5)
* @param id 案件申请id * @param id 案件申请id
* @return * @return
*/ */
@@ -28,17 +28,17 @@ public class CaseApplicationConstants {
public static final int PENDING_OPENCOURT_HEAR = 8; public static final int PENDING_OPENCOURT_HEAR = 8;
/** 待书面审理 */ /** 待书面审理 */
public static final int PENDING_WRIITEN_HEAR = 9; public static final int PENDING_WRIITEN_HEAR = 9;
/** 待生成仲裁文书 */ /** 待生成裁决书 */
public static final int GENERATED_ARBITRATION = 10; public static final int GENERATED_ARBITRATION = 10;
/**待秘书核验仲裁文书*/ /**待秘书核验裁决书*/
public static final int VERPRIF_ARBITRATION = 11; public static final int VERPRIF_ARBITRATION = 11;
/**待部门长审核仲裁文书*/ /**待部门长审核裁决书*/
public static final int CHECK_ARBITRATION = 12; public static final int CHECK_ARBITRATION = 12;
/**待仲裁文书签名*/ /**待裁决书签名*/
public static final int SIGN_ARBITRATION = 13; public static final int SIGN_ARBITRATION = 13;
/** 待仲裁文书用印 */ /** 待裁决书用印 */
public static final int ARBITRATED_SEAL = 14; public static final int ARBITRATED_SEAL = 14;
/** 待仲裁文书送达 */ /** 待裁决书送达 */
public static final int ARBITRATION_DELIVERY = 15; public static final int ARBITRATION_DELIVERY = 15;
/** 待案件归档*/ /** 待案件归档*/
public static final int CASE_FILING = 16; public static final int CASE_FILING = 16;
@@ -47,7 +47,7 @@ public class CaseApplicationConstants {
/** 待修改开庭时间*/ /** 待修改开庭时间*/
public static final int MODIFY_HEARDATE = 31; public static final int MODIFY_HEARDATE = 31;
/**待仲裁员审核仲裁文书*/ /**待仲裁员审核裁决书*/
public static final int HEAD_CHECK_ARBITRATION = 18; public static final int HEAD_CHECK_ARBITRATION = 18;
@@ -228,7 +228,7 @@ public class CaseApplication extends BaseEntity {
private List<Integer> annexTypeList; private List<Integer> annexTypeList;
/** /**
* 立案申请书(1)、申请人证据材料(2)、仲裁文书(3)、案件视频(4)、身份证件(5) * 立案申请书(1)、申请人证据材料(2)、裁决书(3)、案件视频(4)、身份证件(5)
* 被申请人证据材料 (6)、庭审笔录(7)、缴费凭证(8)、视频录制(9)、公章图片(10)、语音转录文件(11) * 被申请人证据材料 (6)、庭审笔录(7)、缴费凭证(8)、视频录制(9)、公章图片(10)、语音转录文件(11)
*/ */
private Integer annexType; private Integer annexType;
@@ -32,7 +32,7 @@ public class CaseAttach {
*/ */
private String annexPath; private String annexPath;
/** /**
* 附件类型,立案申请书(1)、申请人证据材料(2)、仲裁文书(3)、案件视频(4)、身份证件(5)、被申请人证据材料 (6)、庭审笔录(7)、缴费凭证(8)' * 附件类型,立案申请书(1)、申请人证据材料(2)、裁决书(3)、案件视频(4)、身份证件(5)、被申请人证据材料 (6)、庭审笔录(7)、缴费凭证(8)'
*/ */
private Integer annexType; private Integer annexType;
/** /**
@@ -21,14 +21,14 @@ public class ToDoCount {
private int caseApplyArbitrateWay=0; // 待审核仲裁方式 private int caseApplyArbitrateWay=0; // 待审核仲裁方式
private int caseApplyGroupOnline=0; // 待开庭审理 private int caseApplyGroupOnline=0; // 待开庭审理
private int caseApplyGroupOffline=0; // 待书面审理 private int caseApplyGroupOffline=0; // 待书面审理
private int caseApplyAward=0; // 待生成仲裁文书 private int caseApplyAward=0; // 待生成裁决书
private int caseApplyAwardCheck=0; // 待核验仲裁文书 private int caseApplyAwardCheck=0; // 待核验裁决书
private int caseApplyAwardConfirm=0; // 待审核仲裁文书 private int caseApplyAwardConfirm=0; // 待审核裁决书
private int caseApplyAwardSign=0; // 待仲裁文书签名 private int caseApplyAwardSign=0; // 待裁决书签名
private int caseApplyAwardSeal=0; // 待仲裁文书用印 private int caseApplyAwardSeal=0; // 待裁决书用印
private int caseApplyAwardSend=0; // 待仲裁文书送达 private int caseApplyAwardSend=0; // 待裁决书送达
private int caseApplyStored=0; // 待案件归档 private int caseApplyStored=0; // 待案件归档
private int caseApplyArchived=0; // 已归档 private int caseApplyArchived=0; // 已归档
private int updateOnlineHearDate=0; // 待修改开庭时间 private int updateOnlineHearDate=0; // 待修改开庭时间
private int arbitratorApplyAwardConfirm=0; // 待仲裁员审核仲裁文书 private int arbitratorApplyAwardConfirm=0; // 待仲裁员审核裁决书
} }
@@ -658,7 +658,7 @@ public class AdjudicationServiceImpl implements IAdjudicationService {
} }
} }
return AjaxResult.success("仲裁文书送达成功"); return AjaxResult.success("裁决书送达成功");
} catch (MailSendException e) { } catch (MailSendException e) {
return AjaxResult.error("发送失败,请检查文件路径"); return AjaxResult.error("发送失败,请检查文件路径");
} }
@@ -728,7 +728,7 @@ public class AdjudicationServiceImpl implements IAdjudicationService {
// 新增日志 // 新增日志
CaseLogUtils.insertCaseLog(caseApplication.getId(), CaseApplicationConstants.ARBITRATED_SEAL, ""); CaseLogUtils.insertCaseLog(caseApplication.getId(), CaseApplicationConstants.ARBITRATED_SEAL, "");
return AjaxResult.success("签名成功,案件状态已改为待仲裁文书用印"); return AjaxResult.success("签名成功,案件状态已改为待裁决书用印");
} }
@Override @Override
@@ -947,7 +947,7 @@ public class AdjudicationServiceImpl implements IAdjudicationService {
// 新增日志 // 新增日志
CaseLogUtils.insertCaseLog(caseApplication.getId(), CaseApplicationConstants.CASE_FILING, ""); CaseLogUtils.insertCaseLog(caseApplication.getId(), CaseApplicationConstants.CASE_FILING, "");
return AjaxResult.success("仲裁文书送达成功"); return AjaxResult.success("裁决书送达成功");
} }
/** /**
@@ -1008,7 +1008,7 @@ public class AdjudicationServiceImpl implements IAdjudicationService {
// 新增日志 // 新增日志
CaseLogUtils.insertCaseLog(caseApplication.getId(), CaseApplicationConstants.ARBITRATION_DELIVERY, ""); CaseLogUtils.insertCaseLog(caseApplication.getId(), CaseApplicationConstants.ARBITRATION_DELIVERY, "");
return AjaxResult.success("用印成功,案件状态已改为待仲裁文书送达"); return AjaxResult.success("用印成功,案件状态已改为待裁决书送达");
} }
@Override @Override
@@ -1768,7 +1768,7 @@ public class AdjudicationServiceImpl implements IAdjudicationService {
} else { } else {
throw new ServiceException("这个批号没有批量送达裁决书的案件"); throw new ServiceException("这个批号没有批量送达裁决书的案件");
} }
return AjaxResult.success("仲裁文书送达成功"); return AjaxResult.success("裁决书送达成功");
} }
/** /**
@@ -739,24 +739,24 @@ public class CaseApplicationServiceImpl implements ICaseApplicationService {
caseLogRecord9.setContent("仲裁员将进行书面审理"); caseLogRecord9.setContent("仲裁员将进行书面审理");
CaseLogRecord caseLogRecord12 = new CaseLogRecord(); CaseLogRecord caseLogRecord12 = new CaseLogRecord();
caseLogRecord11.setCaseNode(12); caseLogRecord11.setCaseNode(12);
caseLogRecord11.setCaseNodeName("核验仲裁文书"); caseLogRecord11.setCaseNodeName("核验裁决书");
caseLogRecord11.setContent("法律顾问将进行核验仲裁文书"); caseLogRecord11.setContent("法律顾问将进行核验裁决书");
CaseLogRecord caseLogRecord13 = new CaseLogRecord(); CaseLogRecord caseLogRecord13 = new CaseLogRecord();
caseLogRecord12.setCaseNode(13); caseLogRecord12.setCaseNode(13);
caseLogRecord12.setCaseNodeName("确认仲裁文书"); caseLogRecord12.setCaseNodeName("确认裁决书");
caseLogRecord12.setContent("仲裁员将进行确认仲裁文书"); caseLogRecord12.setContent("仲裁员将进行确认裁决书");
CaseLogRecord caseLogRecord14 = new CaseLogRecord(); CaseLogRecord caseLogRecord14 = new CaseLogRecord();
caseLogRecord13.setCaseNode(14); caseLogRecord13.setCaseNode(14);
caseLogRecord13.setCaseNodeName("仲裁文书签名"); caseLogRecord13.setCaseNodeName("裁决书签名");
caseLogRecord13.setContent("仲裁员将进行仲裁文书签名"); caseLogRecord13.setContent("仲裁员将进行裁决书签名");
CaseLogRecord caseLogRecord15 = new CaseLogRecord(); CaseLogRecord caseLogRecord15 = new CaseLogRecord();
caseLogRecord14.setCaseNode(15); caseLogRecord14.setCaseNode(15);
caseLogRecord14.setCaseNodeName("仲裁文书用印"); caseLogRecord14.setCaseNodeName("裁决书用印");
caseLogRecord14.setContent("部门长将进行仲裁文书用印"); caseLogRecord14.setContent("部门长将进行裁决书用印");
CaseLogRecord caseLogRecord16 = new CaseLogRecord(); CaseLogRecord caseLogRecord16 = new CaseLogRecord();
caseLogRecord15.setCaseNode(16); caseLogRecord15.setCaseNode(16);
caseLogRecord15.setCaseNodeName("仲裁文书送达"); caseLogRecord15.setCaseNodeName("裁决书送达");
caseLogRecord15.setContent("法律顾问将进行仲裁文书送达"); caseLogRecord15.setContent("法律顾问将进行裁决书送达");
CaseLogRecord caseLogRecord17 = new CaseLogRecord(); CaseLogRecord caseLogRecord17 = new CaseLogRecord();
caseLogRecord16.setCaseNode(17); caseLogRecord16.setCaseNode(17);
caseLogRecord16.setCaseNodeName("案件归档"); caseLogRecord16.setCaseNodeName("案件归档");
@@ -985,33 +985,33 @@ public class CaseApplicationServiceImpl implements ICaseApplicationService {
caseLogRecord.setNextRoleName("下一节点角色:仲裁员"); caseLogRecord.setNextRoleName("下一节点角色:仲裁员");
break; break;
case "11": case "11":
caseLogRecord.setCaseNodeName("核验仲裁文书"); caseLogRecord.setCaseNodeName("核验裁决书");
caseLogRecord.setCaseNode(11); caseLogRecord.setCaseNode(11);
caseLogRecord.setContent("法律顾问正在进行核验仲裁文书"); caseLogRecord.setContent("法律顾问正在进行核验裁决书");
caseLogRecord.setNextRoleName("下一节点角色:部门长"); caseLogRecord.setNextRoleName("下一节点角色:部门长");
break; break;
case "12": case "12":
caseLogRecord.setCaseNodeName("确认仲裁文书"); caseLogRecord.setCaseNodeName("确认裁决书");
caseLogRecord.setCaseNode(12); caseLogRecord.setCaseNode(12);
caseLogRecord.setContent("仲裁员正在进行确认仲裁文书"); caseLogRecord.setContent("仲裁员正在进行确认裁决书");
caseLogRecord.setNextRoleName("下一节点角色:仲裁员"); caseLogRecord.setNextRoleName("下一节点角色:仲裁员");
break; break;
case "13": case "13":
caseLogRecord.setCaseNodeName("仲裁文书签名"); caseLogRecord.setCaseNodeName("裁决书签名");
caseLogRecord.setCaseNode(13); caseLogRecord.setCaseNode(13);
caseLogRecord.setContent("仲裁员正在进行仲裁文书签名"); caseLogRecord.setContent("仲裁员正在进行裁决书签名");
caseLogRecord.setNextRoleName("下一节点角色:法律顾问"); caseLogRecord.setNextRoleName("下一节点角色:法律顾问");
break; break;
case "14": case "14":
caseLogRecord.setCaseNodeName("仲裁文书用印"); caseLogRecord.setCaseNodeName("裁决书用印");
caseLogRecord.setCaseNode(14); caseLogRecord.setCaseNode(14);
caseLogRecord.setContent("部门长正在进行仲裁文书用印"); caseLogRecord.setContent("部门长正在进行裁决书用印");
caseLogRecord.setNextRoleName("下一节点角色:法律顾问"); caseLogRecord.setNextRoleName("下一节点角色:法律顾问");
break; break;
case "15": case "15":
caseLogRecord.setCaseNodeName("仲裁文书送达"); caseLogRecord.setCaseNodeName("裁决书送达");
caseLogRecord.setCaseNode(15); caseLogRecord.setCaseNode(15);
caseLogRecord.setContent("法律顾问正在进行仲裁文书送达"); caseLogRecord.setContent("法律顾问正在进行裁决书送达");
caseLogRecord.setNextRoleName("下一节点角色:法律顾问"); caseLogRecord.setNextRoleName("下一节点角色:法律顾问");
break; break;
case "16": case "16":
@@ -1916,7 +1916,7 @@ public class CaseApplicationServiceImpl implements ICaseApplicationService {
@Override @Override
@Transactional @Transactional
public int verificationArbitrateRecord(CaseApplication caseApplication) { public int verificationArbitrateRecord(CaseApplication caseApplication) {
// 秘书核验裁决书,流转到待仲裁员审核仲裁文书 // 秘书核验裁决书,流转到待仲裁员审核裁决书
caseApplication.setCaseStatus(CaseApplicationConstants.HEAD_CHECK_ARBITRATION); caseApplication.setCaseStatus(CaseApplicationConstants.HEAD_CHECK_ARBITRATION);
int rows = caseApplicationMapper.submitCaseApplication(caseApplication); int rows = caseApplicationMapper.submitCaseApplication(caseApplication);
ArbitrateRecord arbitrateRecord = caseApplication.getArbitrateRecord(); ArbitrateRecord arbitrateRecord = caseApplication.getArbitrateRecord();
@@ -2128,7 +2128,7 @@ public class CaseApplicationServiceImpl implements ICaseApplicationService {
caseApplication.setCaseStatus(CaseApplicationConstants.HEAD_CHECK_ARBITRATION); caseApplication.setCaseStatus(CaseApplicationConstants.HEAD_CHECK_ARBITRATION);
String notes=""; String notes="";
if(caseApplication.getArbitrateRecord()!=null&&StrUtil.isNotEmpty(caseApplication.getArbitrateRecord().getDeptorReject())){ if(caseApplication.getArbitrateRecord()!=null&&StrUtil.isNotEmpty(caseApplication.getArbitrateRecord().getDeptorReject())){
notes="部门长驳回仲裁文书,驳回原因:"+caseApplication.getArbitrateRecord().getDeptorReject(); notes="部门长驳回裁决书,驳回原因:"+caseApplication.getArbitrateRecord().getDeptorReject();
} }
// 新增日志 // 新增日志
insertCaseLog(caseApplication.getId(), CaseApplicationConstants.HEAD_CHECK_ARBITRATION, notes); insertCaseLog(caseApplication.getId(), CaseApplicationConstants.HEAD_CHECK_ARBITRATION, notes);
@@ -2147,7 +2147,7 @@ public class CaseApplicationServiceImpl implements ICaseApplicationService {
@Override @Override
@Transactional @Transactional
public AjaxResult arbitratorCheckArbitrateRecord(CaseApplication caseApplication) { public AjaxResult arbitratorCheckArbitrateRecord(CaseApplication caseApplication) {
// 同意后状态改为待部门长审核仲裁文书(CHECK_ARBITRATION = 12),拒绝改为待秘书核验仲裁文书(VERPRIF_ARBITRATION = 11) // 同意后状态改为待部门长审核裁决书(CHECK_ARBITRATION = 12),拒绝改为待秘书核验裁决书(VERPRIF_ARBITRATION = 11)
int rows = 0; int rows = 0;
Integer agreeOrNotCheck = caseApplication.getAgreeOrNotCheck(); Integer agreeOrNotCheck = caseApplication.getAgreeOrNotCheck();
if (agreeOrNotCheck.intValue() == 1) { if (agreeOrNotCheck.intValue() == 1) {
@@ -2168,7 +2168,7 @@ public class CaseApplicationServiceImpl implements ICaseApplicationService {
rows = caseApplicationMapper.submitCaseApplication(caseApplication); rows = caseApplicationMapper.submitCaseApplication(caseApplication);
String notes=""; String notes="";
if(caseApplication.getArbitrateRecord()!=null&&StrUtil.isNotEmpty(caseApplication.getArbitrateRecord().getArbitrateReject())){ if(caseApplication.getArbitrateRecord()!=null&&StrUtil.isNotEmpty(caseApplication.getArbitrateRecord().getArbitrateReject())){
notes="仲裁员驳回仲裁文书,驳回原因:"+caseApplication.getArbitrateRecord().getArbitrateReject(); notes="仲裁员驳回裁决书,驳回原因:"+caseApplication.getArbitrateRecord().getArbitrateReject();
} }
// 新增日志 // 新增日志
insertCaseLog(caseApplication.getId(), CaseApplicationConstants.VERPRIF_ARBITRATION, notes); insertCaseLog(caseApplication.getId(), CaseApplicationConstants.VERPRIF_ARBITRATION, notes);
@@ -2769,6 +2769,7 @@ public class CaseApplicationServiceImpl implements ICaseApplicationService {
List<CaseApplication> caseApplications = caseApplicationMapper.listCaseApplicationByBatchNumber(caseApplicationsel); List<CaseApplication> caseApplications = caseApplicationMapper.listCaseApplicationByBatchNumber(caseApplicationsel);
if (caseApplications != null && caseApplications.size() > 0) { if (caseApplications != null && caseApplications.size() > 0) {
List<Integer> caseStatuss = caseApplications.stream().map(CaseApplication::getCaseStatus).collect(Collectors.toList()); List<Integer> caseStatuss = caseApplications.stream().map(CaseApplication::getCaseStatus).collect(Collectors.toList());
System.out.println("ceshi:"+caseStatuss.toString());
List<String> caseStatusNames = caseApplications.stream().map(CaseApplication::getCaseStatusName).collect(Collectors.toList()); List<String> caseStatusNames = caseApplications.stream().map(CaseApplication::getCaseStatusName).collect(Collectors.toList());
List<Integer> caseStatussnew = caseStatuss.stream().distinct().collect(Collectors.toList()); List<Integer> caseStatussnew = caseStatuss.stream().distinct().collect(Collectors.toList());
List<String> caseStatusNamesnew = caseStatusNames.stream().distinct().collect(Collectors.toList()); List<String> caseStatusNamesnew = caseStatusNames.stream().distinct().collect(Collectors.toList());
@@ -2836,6 +2837,7 @@ public class CaseApplicationServiceImpl implements ICaseApplicationService {
List<CaseApplication> caseApplications = caseApplicationMapper.listCaseApplicationByBatchNumber(caseApplicationsel); List<CaseApplication> caseApplications = caseApplicationMapper.listCaseApplicationByBatchNumber(caseApplicationsel);
if (caseApplications != null && caseApplications.size() > 0) { if (caseApplications != null && caseApplications.size() > 0) {
List<Integer> caseStatuss = caseApplications.stream().map(CaseApplication::getCaseStatus).collect(Collectors.toList()); List<Integer> caseStatuss = caseApplications.stream().map(CaseApplication::getCaseStatus).collect(Collectors.toList());
System.out.println("ceshi:"+caseStatuss.toString());
List<String> caseStatusNames = caseApplications.stream().map(CaseApplication::getCaseStatusName).collect(Collectors.toList()); List<String> caseStatusNames = caseApplications.stream().map(CaseApplication::getCaseStatusName).collect(Collectors.toList());
List<Integer> caseStatussnew = caseStatuss.stream().distinct().collect(Collectors.toList()); List<Integer> caseStatussnew = caseStatuss.stream().distinct().collect(Collectors.toList());
List<String> caseStatusNamesnew = caseStatusNames.stream().distinct().collect(Collectors.toList()); List<String> caseStatusNamesnew = caseStatusNames.stream().distinct().collect(Collectors.toList());
@@ -3126,7 +3128,7 @@ public class CaseApplicationServiceImpl implements ICaseApplicationService {
int rows = 0; int rows = 0;
if (caseApplications != null && caseApplications.size() > 0) { if (caseApplications != null && caseApplications.size() > 0) {
for(CaseApplication caseApplicationse:caseApplications){ for(CaseApplication caseApplicationse:caseApplications){
// 秘书核验裁决书,流转到待仲裁员审核仲裁文书 // 秘书核验裁决书,流转到待仲裁员审核裁决书
caseApplicationse.setCaseStatus(CaseApplicationConstants.HEAD_CHECK_ARBITRATION); caseApplicationse.setCaseStatus(CaseApplicationConstants.HEAD_CHECK_ARBITRATION);
rows += caseApplicationMapper.submitCaseApplication(caseApplicationse); rows += caseApplicationMapper.submitCaseApplication(caseApplicationse);
// ArbitrateRecord arbitrateRecord = caseApplication.getArbitrateRecord(); // ArbitrateRecord arbitrateRecord = caseApplication.getArbitrateRecord();
@@ -3179,7 +3181,7 @@ public class CaseApplicationServiceImpl implements ICaseApplicationService {
rows += caseApplicationMapper.submitCaseApplication(caseApplicationse); rows += caseApplicationMapper.submitCaseApplication(caseApplicationse);
String notes=""; String notes="";
if(caseApplication.getArbitrateRecord()!=null&&StrUtil.isNotEmpty(caseApplication.getArbitrateRecord().getArbitrateReject())){ if(caseApplication.getArbitrateRecord()!=null&&StrUtil.isNotEmpty(caseApplication.getArbitrateRecord().getArbitrateReject())){
notes="仲裁员驳回仲裁文书,驳回原因:"+caseApplication.getArbitrateRecord().getArbitrateReject(); notes="仲裁员驳回裁决书,驳回原因:"+caseApplication.getArbitrateRecord().getArbitrateReject();
} }
// 新增日志 // 新增日志
insertCaseLog(caseApplication.getId(), CaseApplicationConstants.VERPRIF_ARBITRATION, notes); insertCaseLog(caseApplication.getId(), CaseApplicationConstants.VERPRIF_ARBITRATION, notes);
@@ -3392,7 +3394,7 @@ public class CaseApplicationServiceImpl implements ICaseApplicationService {
caseApplicationse.setCaseStatus(CaseApplicationConstants.HEAD_CHECK_ARBITRATION); caseApplicationse.setCaseStatus(CaseApplicationConstants.HEAD_CHECK_ARBITRATION);
String notes=""; String notes="";
if(caseApplication.getArbitrateRecord()!=null&&StrUtil.isNotEmpty(caseApplication.getArbitrateRecord().getDeptorReject())){ if(caseApplication.getArbitrateRecord()!=null&&StrUtil.isNotEmpty(caseApplication.getArbitrateRecord().getDeptorReject())){
notes="部门长驳回仲裁文书,驳回原因:"+caseApplication.getArbitrateRecord().getDeptorReject(); notes="部门长驳回裁决书,驳回原因:"+caseApplication.getArbitrateRecord().getDeptorReject();
} }
// 新增日志 // 新增日志
insertCaseLog(caseApplicationse.getId(), CaseApplicationConstants.HEAD_CHECK_ARBITRATION, notes); insertCaseLog(caseApplicationse.getId(), CaseApplicationConstants.HEAD_CHECK_ARBITRATION, notes);
@@ -335,7 +335,7 @@ public class CaseArbitrateServiceImpl implements ICaseArbitrateService {
return AjaxResult.error("请检查参数"); return AjaxResult.error("请检查参数");
} }
//生成仲裁文书 //生成裁决书
private Boolean generateAward(Long id) { private Boolean generateAward(Long id) {
try { try {
Map<String, Object> datas = new HashMap<>(); Map<String, Object> datas = new HashMap<>();
@@ -59,7 +59,7 @@ public class DownFileService {
String fileDownloadUrlnew = fileDownloadUrl.substring(1, fileDownloadUrl.length() - 1); String fileDownloadUrlnew = fileDownloadUrl.substring(1, fileDownloadUrl.length() - 1);
boolean downLoadFile = FileTransformation.downLoadFileByUrl(fileDownloadUrlnew, resultFilePath); boolean downLoadFile = FileTransformation.downLoadFileByUrl(fileDownloadUrlnew, resultFilePath);
if (downLoadFile) { if (downLoadFile) {
//立案申请书(1)、申请人证据材料(2)、仲裁文书(3)、案件视频(4)、身份证件(5)、 //立案申请书(1)、申请人证据材料(2)、裁决书(3)、案件视频(4)、身份证件(5)、
// 被申请人证据材料 (6)、庭审笔录(7)、缴费凭证(8)、视频录制(9)、公章图片(10)、语音转录文件(11) // 被申请人证据材料 (6)、庭审笔录(7)、缴费凭证(8)、视频录制(9)、公章图片(10)、语音转录文件(11)
caseAttachMapper.deleteCaseAttachByCasedIdAndType(caseAppliId, 3); caseAttachMapper.deleteCaseAttachByCasedIdAndType(caseAppliId, 3);
CaseAttach caseAttach = new CaseAttach(); CaseAttach caseAttach = new CaseAttach();
@@ -77,10 +77,10 @@
CASE c.case_status when 0 then '立案申请' when 1 then '待立案审查' when 2 then '待缴费' CASE c.case_status when 0 then '立案申请' when 1 then '待立案审查' when 2 then '待缴费'
when 3 then '待缴费确认' when 4 then '待案件质证' when 5 then '待组庭审核' when 3 then '待缴费确认' when 4 then '待案件质证' when 5 then '待组庭审核'
when 6 then '待组庭确定' when 7 then '待审核仲裁方式' when 8 then '待开庭审理' when 6 then '待组庭确定' when 7 then '待审核仲裁方式' when 8 then '待开庭审理'
when 9 then '待书面审理' when 10 then '待生成仲裁文书' when 11 then '待核验仲裁文书' when 9 then '待书面审理' when 10 then '待生成裁决书' when 11 then '待核验裁决书'
when 12 then '待部门长审核仲裁文书' when 13 then '待仲裁文书签名' when 14 then '待仲裁文书用印' when 12 then '待部门长审核裁决书' when 13 then '待裁决书签名' when 14 then '待裁决书用印'
when 15 then '待仲裁文书送达' when 16 then '待案件归档' when 17 then '已归档' when 15 then '待裁决书送达' when 16 then '待案件归档' when 17 then '已归档'
when 18 then '待仲裁员审核仲裁文书' when 18 then '待仲裁员审核裁决书'
when 31 then '待修改开庭时间' when 31 then '待修改开庭时间'
ELSE '无案件状态' ELSE '无案件状态'
END caseStatusName, END caseStatusName,
@@ -145,10 +145,10 @@
CASE c.case_status when 0 then '立案申请' when 1 then '待立案审查' when 2 then '待缴费' CASE c.case_status when 0 then '立案申请' when 1 then '待立案审查' when 2 then '待缴费'
when 3 then '待缴费确认' when 4 then '待案件质证' when 5 then '待组庭审核' when 3 then '待缴费确认' when 4 then '待案件质证' when 5 then '待组庭审核'
when 6 then '待组庭确定' when 7 then '待审核仲裁方式' when 8 then '待开庭审理' when 6 then '待组庭确定' when 7 then '待审核仲裁方式' when 8 then '待开庭审理'
when 9 then '待书面审理' when 10 then '待生成仲裁文书' when 11 then '待核验仲裁文书' when 9 then '待书面审理' when 10 then '待生成裁决书' when 11 then '待核验裁决书'
when 12 then '待部门长审核仲裁文书' when 13 then '待仲裁文书签名' when 14 then '待仲裁文书用印' when 12 then '待部门长审核裁决书' when 13 then '待裁决书签名' when 14 then '待裁决书用印'
when 15 then '待仲裁文书送达' when 16 then '待案件归档' when 17 then '已归档' when 15 then '待裁决书送达' when 16 then '待案件归档' when 17 then '已归档'
when 18 then '待仲裁员审核仲裁文书' when 18 then '待仲裁员审核裁决书'
when 31 then '待修改开庭时间' when 31 then '待修改开庭时间'
ELSE '无案件状态' ELSE '无案件状态'
END caseStatusName, END caseStatusName,
@@ -200,10 +200,10 @@
when 0 then '立案申请' when 1 then '待立案审查' when 2 then '待缴费' when 0 then '立案申请' when 1 then '待立案审查' when 2 then '待缴费'
when 3 then '待缴费确认' when 4 then '待案件质证' when 5 then '待组庭审核' when 3 then '待缴费确认' when 4 then '待案件质证' when 5 then '待组庭审核'
when 6 then '待组庭确定' when 7 then '待审核仲裁方式' when 8 then '待开庭审理' when 6 then '待组庭确定' when 7 then '待审核仲裁方式' when 8 then '待开庭审理'
when 9 then '待书面审理' when 10 then '待生成仲裁文书' when 11 then '待核验仲裁文书' when 9 then '待书面审理' when 10 then '待生成裁决书' when 11 then '待核验裁决书'
when 12 then '待部门长审核仲裁文书' when 13 then '待仲裁文书签名' when 14 then '待仲裁文书用印' when 12 then '待部门长审核裁决书' when 13 then '待裁决书签名' when 14 then '待裁决书用印'
when 15 then '待仲裁文书送达' when 16 then '待案件归档' when 17 then '已归档' when 15 then '待裁决书送达' when 16 then '待案件归档' when 17 then '已归档'
when 18 then '待仲裁员审核仲裁文书' when 18 then '待仲裁员审核裁决书'
when 31 then '待修改开庭时间' ELSE '无案件状态' when 31 then '待修改开庭时间' ELSE '无案件状态'
END caseStatusName, END caseStatusName,
c.hear_date, c.hear_date,
@@ -267,10 +267,10 @@
when 0 then '立案申请' when 1 then '待立案审查' when 2 then '待缴费' when 0 then '立案申请' when 1 then '待立案审查' when 2 then '待缴费'
when 3 then '待缴费确认' when 4 then '待案件质证' when 5 then '待组庭审核' when 3 then '待缴费确认' when 4 then '待案件质证' when 5 then '待组庭审核'
when 6 then '待组庭确定' when 7 then '待审核仲裁方式' when 8 then '待开庭审理' when 6 then '待组庭确定' when 7 then '待审核仲裁方式' when 8 then '待开庭审理'
when 9 then '待书面审理' when 10 then '待生成仲裁文书' when 11 then '待核验仲裁文书' when 9 then '待书面审理' when 10 then '待生成裁决书' when 11 then '待核验裁决书'
when 12 then '待部门长审核仲裁文书' when 13 then '待仲裁文书签名' when 14 then '待仲裁文书用印' when 12 then '待部门长审核裁决书' when 13 then '待裁决书签名' when 14 then '待裁决书用印'
when 15 then '待仲裁文书送达' when 16 then '待案件归档' when 17 then '已归档' when 15 then '待裁决书送达' when 16 then '待案件归档' when 17 then '已归档'
when 18 then '待仲裁员审核仲裁文书' when 18 then '待仲裁员审核裁决书'
when 31 then '待修改开庭时间' ELSE '无案件状态' when 31 then '待修改开庭时间' ELSE '无案件状态'
END caseStatusName, END caseStatusName,
c.hear_date, c.hear_date,
@@ -335,10 +335,10 @@
when 0 then '立案申请' when 1 then '待立案审查' when 2 then '待缴费' when 0 then '立案申请' when 1 then '待立案审查' when 2 then '待缴费'
when 3 then '待缴费确认' when 4 then '待案件质证' when 5 then '待组庭审核' when 3 then '待缴费确认' when 4 then '待案件质证' when 5 then '待组庭审核'
when 6 then '待组庭确定' when 7 then '待审核仲裁方式' when 8 then '待开庭审理' when 6 then '待组庭确定' when 7 then '待审核仲裁方式' when 8 then '待开庭审理'
when 9 then '待书面审理' when 10 then '待生成仲裁文书' when 11 then '待核验仲裁文书' when 9 then '待书面审理' when 10 then '待生成裁决书' when 11 then '待核验裁决书'
when 12 then '待部门长审核仲裁文书' when 13 then '待仲裁文书签名' when 14 then '待仲裁文书用印' when 12 then '待部门长审核裁决书' when 13 then '待裁决书签名' when 14 then '待裁决书用印'
when 15 then '待仲裁文书送达' when 16 then '待案件归档' when 17 then '已归档' when 15 then '待裁决书送达' when 16 then '待案件归档' when 17 then '已归档'
when 18 then '待仲裁员审核仲裁文书' when 18 then '待仲裁员审核裁决书'
when 31 then '待修改开庭时间' ELSE '无案件状态' when 31 then '待修改开庭时间' ELSE '无案件状态'
END caseStatusName, END caseStatusName,
c.hear_date, c.hear_date,
@@ -513,10 +513,10 @@
CASE c.case_status when 0 then '立案申请' when 1 then '待立案审查' when 2 then '待缴费' CASE c.case_status when 0 then '立案申请' when 1 then '待立案审查' when 2 then '待缴费'
when 3 then '待缴费确认' when 4 then '待案件质证' when 5 then '待组庭审核' when 3 then '待缴费确认' when 4 then '待案件质证' when 5 then '待组庭审核'
when 6 then '待组庭确定' when 7 then '待审核仲裁方式' when 8 then '待开庭审理' when 6 then '待组庭确定' when 7 then '待审核仲裁方式' when 8 then '待开庭审理'
when 9 then '待书面审理' when 10 then '待生成仲裁文书' when 11 then '待核验仲裁文书' when 9 then '待书面审理' when 10 then '待生成裁决书' when 11 then '待核验裁决书'
when 12 then '待部门长审核仲裁文书' when 13 then '待仲裁文书签名' when 14 then '待仲裁文书用印' when 12 then '待部门长审核裁决书' when 13 then '待裁决书签名' when 14 then '待裁决书用印'
when 15 then '待仲裁文书送达' when 16 then '待案件归档' when 17 then '已归档' when 15 then '待裁决书送达' when 16 then '待案件归档' when 17 then '已归档'
when 18 then '待仲裁员审核仲裁文书' when 18 then '待仲裁员审核裁决书'
when 31 then '待修改开庭时间' when 31 then '待修改开庭时间'
ELSE '无案件状态' ELSE '无案件状态'
END caseStatusName, END caseStatusName,
@@ -706,10 +706,10 @@
CASE c.case_status when 0 then '立案申请' when 1 then '待立案审查' when 2 then '待缴费' CASE c.case_status when 0 then '立案申请' when 1 then '待立案审查' when 2 then '待缴费'
when 3 then '待缴费确认' when 4 then '待案件质证' when 5 then '待组庭审核' when 3 then '待缴费确认' when 4 then '待案件质证' when 5 then '待组庭审核'
when 6 then '待组庭确定' when 7 then '待审核仲裁方式' when 8 then '待开庭审理' when 6 then '待组庭确定' when 7 then '待审核仲裁方式' when 8 then '待开庭审理'
when 9 then '待书面审理' when 10 then '待生成仲裁文书' when 11 then '待核验仲裁文书' when 9 then '待书面审理' when 10 then '待生成裁决书' when 11 then '待核验裁决书'
when 12 then '待部门长审核仲裁文书' when 13 then '待仲裁文书签名' when 14 then '待仲裁文书用印' when 12 then '待部门长审核裁决书' when 13 then '待裁决书签名' when 14 then '待裁决书用印'
when 15 then '待仲裁文书送达' when 16 then '待案件归档' when 17 then '已归档' when 15 then '待裁决书送达' when 16 then '待案件归档' when 17 then '已归档'
when 18 then '待仲裁员审核仲裁文书' when 18 then '待仲裁员审核裁决书'
when 31 then '待修改开庭时间' when 31 then '待修改开庭时间'
ELSE '无案件状态' ELSE '无案件状态'
END caseStatusName, END caseStatusName,
@@ -1218,10 +1218,10 @@
CASE c.case_status when 0 then '立案申请' when 1 then '待立案审查' when 2 then '待缴费' CASE c.case_status when 0 then '立案申请' when 1 then '待立案审查' when 2 then '待缴费'
when 3 then '待缴费确认' when 4 then '待案件质证' when 5 then '待组庭审核' when 3 then '待缴费确认' when 4 then '待案件质证' when 5 then '待组庭审核'
when 6 then '待组庭确定' when 7 then '待审核仲裁方式' when 8 then '待开庭审理' when 6 then '待组庭确定' when 7 then '待审核仲裁方式' when 8 then '待开庭审理'
when 9 then '待书面审理' when 10 then '待生成仲裁文书' when 11 then '待核验仲裁文书' when 9 then '待书面审理' when 10 then '待生成裁决书' when 11 then '待核验裁决书'
when 12 then '待部门长审核仲裁文书' when 13 then '待仲裁文书签名' when 14 then '待仲裁文书用印' when 12 then '待部门长审核裁决书' when 13 then '待裁决书签名' when 14 then '待裁决书用印'
when 15 then '待仲裁文书送达' when 16 then '待案件归档' when 17 then '已归档' when 15 then '待裁决书送达' when 16 then '待案件归档' when 17 then '已归档'
when 18 then '待仲裁员审核仲裁文书' when 18 then '待仲裁员审核裁决书'
when 31 then '待修改开庭时间' when 31 then '待修改开庭时间'
ELSE '无案件状态' ELSE '无案件状态'
END caseStatusName, END caseStatusName,
@@ -1256,10 +1256,10 @@
CASE c.case_status when 0 then '立案申请' when 1 then '待立案审查' when 2 then '待缴费' CASE c.case_status when 0 then '立案申请' when 1 then '待立案审查' when 2 then '待缴费'
when 3 then '待缴费确认' when 4 then '待案件质证' when 5 then '待组庭审核' when 3 then '待缴费确认' when 4 then '待案件质证' when 5 then '待组庭审核'
when 6 then '待组庭确定' when 7 then '待审核仲裁方式' when 8 then '待开庭审理' when 6 then '待组庭确定' when 7 then '待审核仲裁方式' when 8 then '待开庭审理'
when 9 then '待书面审理' when 10 then '待生成仲裁文书' when 11 then '待核验仲裁文书' when 9 then '待书面审理' when 10 then '待生成裁决书' when 11 then '待核验裁决书'
when 12 then '待部门长审核仲裁文书' when 13 then '待仲裁文书签名' when 14 then '待仲裁文书用印' when 12 then '待部门长审核裁决书' when 13 then '待裁决书签名' when 14 then '待裁决书用印'
when 15 then '待仲裁文书送达' when 16 then '待案件归档' when 17 then '已归档' when 15 then '待裁决书送达' when 16 then '待案件归档' when 17 then '已归档'
when 18 then '待仲裁员审核仲裁文书' when 18 then '待仲裁员审核裁决书'
when 31 then '待修改开庭时间' when 31 then '待修改开庭时间'
ELSE '无案件状态' ELSE '无案件状态'
END caseStatusName, END caseStatusName,
@@ -1295,10 +1295,10 @@
CASE c.case_status when 0 then '立案申请' when 1 then '待立案审查' when 2 then '待缴费' CASE c.case_status when 0 then '立案申请' when 1 then '待立案审查' when 2 then '待缴费'
when 3 then '待缴费确认' when 4 then '待案件质证' when 5 then '待组庭审核' when 3 then '待缴费确认' when 4 then '待案件质证' when 5 then '待组庭审核'
when 6 then '待组庭确定' when 7 then '待审核仲裁方式' when 8 then '待开庭审理' when 6 then '待组庭确定' when 7 then '待审核仲裁方式' when 8 then '待开庭审理'
when 9 then '待书面审理' when 10 then '待生成仲裁文书' when 11 then '待核验仲裁文书' when 9 then '待书面审理' when 10 then '待生成裁决书' when 11 then '待核验裁决书'
when 12 then '待部门长审核仲裁文书' when 13 then '待仲裁文书签名' when 14 then '待仲裁文书用印' when 12 then '待部门长审核裁决书' when 13 then '待裁决书签名' when 14 then '待裁决书用印'
when 15 then '待仲裁文书送达' when 16 then '待案件归档' when 17 then '已归档' when 15 then '待裁决书送达' when 16 then '待案件归档' when 17 then '已归档'
when 18 then '待仲裁员审核仲裁文书' when 18 then '待仲裁员审核裁决书'
when 31 then '待修改开庭时间' when 31 then '待修改开庭时间'
ELSE '无案件状态' ELSE '无案件状态'
END caseStatusName, END caseStatusName,
@@ -1325,10 +1325,10 @@
CASE c.case_status when 0 then '立案申请' when 1 then '待立案审查' when 2 then '待缴费' CASE c.case_status when 0 then '立案申请' when 1 then '待立案审查' when 2 then '待缴费'
when 3 then '待缴费确认' when 4 then '待案件质证' when 5 then '待组庭审核' when 3 then '待缴费确认' when 4 then '待案件质证' when 5 then '待组庭审核'
when 6 then '待组庭确定' when 7 then '待审核仲裁方式' when 8 then '待开庭审理' when 6 then '待组庭确定' when 7 then '待审核仲裁方式' when 8 then '待开庭审理'
when 9 then '待书面审理' when 10 then '待生成仲裁文书' when 11 then '待核验仲裁文书' when 9 then '待书面审理' when 10 then '待生成裁决书' when 11 then '待核验裁决书'
when 12 then '待部门长审核仲裁文书' when 13 then '待仲裁文书签名' when 14 then '待仲裁文书用印' when 12 then '待部门长审核裁决书' when 13 then '待裁决书签名' when 14 then '待裁决书用印'
when 15 then '待仲裁文书送达' when 16 then '待案件归档' when 17 then '已归档' when 15 then '待裁决书送达' when 16 then '待案件归档' when 17 then '已归档'
when 18 then '待仲裁员审核仲裁文书' when 18 then '待仲裁员审核裁决书'
when 31 then '待修改开庭时间' when 31 then '待修改开庭时间'
ELSE '无案件状态' ELSE '无案件状态'
END caseStatusName, END caseStatusName,
@@ -36,10 +36,10 @@
when 6 then '组庭审核' when 7 then '组庭确认' when 8 then '当前仲裁方式为开庭审理' when 6 then '组庭审核' when 7 then '组庭确认' when 8 then '当前仲裁方式为开庭审理'
when 9 then '当前仲裁方式为书面审理' when 10 then '书面审理' when 11 then '秘书审核裁决书' when 9 then '当前仲裁方式为书面审理' when 10 then '书面审理' when 11 then '秘书审核裁决书'
when 12 then '部门长核验裁决书' when 13 then '同意裁决书' when 14 then '签名成功' when 12 then '部门长核验裁决书' when 13 then '同意裁决书' when 14 then '签名成功'
when 15 then '用印成功' when 16 then '送达仲裁文书' when 17 then '案件归档' when 15 then '用印成功' when 16 then '送达裁决书' when 17 then '案件归档'
when 26 then '证据确认成功' when 26 then '证据确认成功'
when 31 then '修改开庭时间' when 31 then '修改开庭时间'
when 18 then '仲裁员审核仲裁文书' when 18 then '仲裁员审核裁决书'
ELSE '无案件状态' ELSE '无案件状态'
END content, END content,
CASE cl.case_node when 0 then '申请人' when 1 then '申请人' when 2 then '法律顾问' CASE cl.case_node when 0 then '申请人' when 1 then '申请人' when 2 then '法律顾问'
@@ -51,10 +51,10 @@
CASE c.case_status when 0 then '立案申请' when 1 then '待立案审查' when 2 then '待缴费' CASE c.case_status when 0 then '立案申请' when 1 then '待立案审查' when 2 then '待缴费'
when 3 then '待缴费确认' when 4 then '待案件质证' when 5 then '待组庭审核' when 3 then '待缴费确认' when 4 then '待案件质证' when 5 then '待组庭审核'
when 6 then '待组庭确定' when 7 then '待审核仲裁方式' when 8 then '待开庭审理' when 6 then '待组庭确定' when 7 then '待审核仲裁方式' when 8 then '待开庭审理'
when 9 then '待书面审理' when 10 then '待生成仲裁文书' when 11 then '待核验仲裁文书' when 9 then '待书面审理' when 10 then '待生成裁决书' when 11 then '待核验裁决书'
when 12 then '待部门长审核仲裁文书' when 13 then '待仲裁文书签名' when 14 then '待仲裁文书用印' when 12 then '待部门长审核裁决书' when 13 then '待裁决书签名' when 14 then '待裁决书用印'
when 15 then '待仲裁文书送达' when 16 then '待案件归档' when 17 then '已归档' when 15 then '待裁决书送达' when 16 then '待案件归档' when 17 then '已归档'
when 18 then '待仲裁员审核仲裁文书' when 18 then '待仲裁员审核裁决书'
when 31 then '待修改开庭时间' when 31 then '待修改开庭时间'
ELSE '无案件状态' ELSE '无案件状态'
END caseStatusName, END caseStatusName,