|
|
@@ -1043,6 +1043,7 @@ public class MsCaseApplicationServiceImpl implements MsCaseApplicationService {
|
|
1043
|
1043
|
// 申请人预约,需要查询被申请人是否预约,identity_type不为空
|
|
1044
|
1044
|
criteria.andEqualTo("type", MediatorTypeEnum.MI_NI_PROGRESS.getCode());
|
|
1045
|
1045
|
}else {
|
|
|
1046
|
+ // todo PC端被申请人选择调解员时,未存到预约表,导致节点状态未改变
|
|
1046
|
1047
|
// 被申请人预约,需要查询申请人是否预约,identity_type为空
|
|
1047
|
1048
|
criteria.andEqualTo("type", MediatorTypeEnum.PC.getCode());
|
|
1048
|
1049
|
}
|
|
|
@@ -1280,6 +1281,7 @@ public class MsCaseApplicationServiceImpl implements MsCaseApplicationService {
|
|
1280
|
1281
|
req.setTemplateType(TemplateTypeEnum.MEDIATE_BOOK.getCode());
|
|
1281
|
1282
|
AjaxResult result = generateApplication(req);
|
|
1282
|
1283
|
if (result != null && result.isSuccess()) {
|
|
|
1284
|
+ // todo 生成完调解书需要记录日志
|
|
1283
|
1285
|
List<MsCaseAttach> caseAttachList = msCaseAttachMapper.queryAnnexPathByCaseId(req.getId());
|
|
1284
|
1286
|
if (caseAttachList != null && caseAttachList.size() > 0) {
|
|
1285
|
1287
|
for (MsCaseAttach caseAttach : caseAttachList) {
|
|
|
@@ -2525,7 +2527,7 @@ public class MsCaseApplicationServiceImpl implements MsCaseApplicationService {
|
|
2525
|
2527
|
String saveFolderPath = RuoYiConfig.getUploadPath()+"/"+ year + "/" + month + "/" + day;
|
|
2526
|
2528
|
Integer annexType = AnnexTypeEnum.MEDIATION_APPLICATION.getCode();
|
|
2527
|
2529
|
String orgFileName = "调解申请书";
|
|
2528
|
|
- if(templateType!=null&&templateType==1) {
|
|
|
2530
|
+ if(templateType!=null&&templateType==3) {
|
|
2529
|
2531
|
orgFileName = "调解书";
|
|
2530
|
2532
|
annexType=AnnexTypeEnum.MEDIATE_BOOK.getCode();
|
|
2531
|
2533
|
}
|
|
|
@@ -2542,15 +2544,10 @@ public class MsCaseApplicationServiceImpl implements MsCaseApplicationService {
|
|
2542
|
2544
|
.build();
|
|
2543
|
2545
|
//保存到附件表里,先删除之前的在保存
|
|
2544
|
2546
|
msCaseAttachMapper.deleteCaseAttachByCasedIdAndType(caseAttach.getCaseAppliId(), AnnexTypeEnum.MEDIATION_APPLICATION.getCode());
|
|
2545
|
|
- if (templateType!=null&&templateType==1) {
|
|
|
2547
|
+ if (templateType!=null&&templateType==3) {
|
|
2546
|
2548
|
msCaseAttachMapper.deleteCaseAttachByCasedIdAndType(caseAttach.getCaseAppliId(), AnnexTypeEnum.MEDIATE_BOOK.getCode());
|
|
2547
|
2549
|
}
|
|
2548
|
2550
|
msCaseAttachMapper.save(caseAttach);
|
|
2549
|
|
- // 生成调解书成功,需要更新流程节点
|
|
2550
|
|
- //if (templateType!=null&&templateType==1) {
|
|
2551
|
|
- // caseApplicationService.nextFlow(application.getId(), application.getCaseFlowId(), application.getLockStatus());
|
|
2552
|
|
- // todo 发送短信
|
|
2553
|
|
- //}
|
|
2554
|
2551
|
}
|
|
2555
|
2552
|
|
|
2556
|
2553
|
/**
|