优化确认调解书

This commit is contained in:
qitz
2024-01-22 15:01:41 +08:00
parent a2eb664a33
commit 4fb50c0fb3
6 changed files with 336 additions and 27 deletions
@@ -335,8 +335,10 @@ public class FixSelectFlowDetailUtils {
String day = String.format("%02d", now.getDayOfMonth());
String saveFolderPath = "/home/ruoyi/uploadPath/upload/" + year + "/" + month + "/" + day;
String fileName = UUID.randomUUID().toString().replace("-", "") + ".pdf";
String saveName = "/profile/upload/" + year + "/" + month + "/" + day + "/" + fileName;
String savePath = "/home/ruoyi/uploadPath/upload/";
// String saveName = "/profile/upload/" + year + "/" + month + "/" + day + "/" + fileName;
// String savePath = "/home/ruoyi/uploadPath/upload/";
String saveName = fileName;
String savePath = "/profile/upload/" + year + "/" + month + "/" + day + "/" + fileName;
// 创建日期目录
File saveFolder = new File(saveFolderPath);
@@ -355,7 +357,7 @@ public class FixSelectFlowDetailUtils {
Long caseAppliId = sealSignRecord.getCaseAppliId();
MsCaseAttach caseAttach = new MsCaseAttach();
caseAttach.setCaseAppliId(caseAppliId);
caseAttach.setAnnexType(3);
caseAttach.setAnnexType(7);
caseAttach.setAnnexPath(savePath);
caseAttach.setAnnexName(saveName);
caseAttachMapper.updateCaseAttachBycaseid(caseAttach);
@@ -728,10 +728,10 @@ public class SignAward {
String apiaddr = "/v3/files/" + fileId + "/keyword-positions";
String jsonParm = "{\n" +
" \"keywords\": [\n" +
" \"申请人:\",\n" +
" \"被申请人:\",\n" +
" \"调解员:\",\n" +
" \"(盖章)\"\n" +
" \"甲方(签字):\",\n" +
" \"乙方(签字):\",\n" +
" \"调解员(签字):\",\n" +
" \"调解机构(盖章):\"\n" +
" ]\n" +
"}";
//请求方法