From 9858befefd8c12d27a7a23ecb64de2bb5da1c620 Mon Sep 17 00:00:00 2001 From: IT-xiaoXiong <774495953@qq.com> Date: Fri, 3 Dec 2021 16:24:36 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A4=9A=E4=BE=9B=E5=BA=94=E5=95=86=E9=A1=BA?= =?UTF-8?q?=E5=BA=8F=E7=AD=BE=E7=BD=B2=E6=9C=80=E5=90=8E=E4=B8=80=E4=B8=AA?= =?UTF-8?q?=E8=87=AA=E5=8A=A8=E5=BD=92=E6=A1=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../fadada/service/impl/FaDDContractService.java | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/com/api/aiyh_pcn/fadada/service/impl/FaDDContractService.java b/com/api/aiyh_pcn/fadada/service/impl/FaDDContractService.java index 3868efa..22596f5 100644 --- a/com/api/aiyh_pcn/fadada/service/impl/FaDDContractService.java +++ b/com/api/aiyh_pcn/fadada/service/impl/FaDDContractService.java @@ -502,10 +502,20 @@ public class FaDDContractService { if (Integer.parseInt(Util.null2String(mainMap.get(faDaDaConfigDTO.getFieldControl1()))) == faDaDaConfigDTO.getOnlyOther()) { // 仅对方签署 if (maps.size() == 1) { - map.put("signType", 2); +// map.put("signType", 1); +// 如果是最后一个人了,就直接归档 + map.put("autoArchive", 1); } } } +/* if (faDaDaConfigDTO.getSignedType() == 1) { +// 需要控制签署规则 + if (Integer.parseInt(Util.null2String(mainMap.get(faDaDaConfigDTO.getFieldControl1()))) == faDaDaConfigDTO.getOnlyOther()) { +// 只需要对方签署 + map.put("autoArchive", 1); + } +// 双方签署 + }*/ signedRequest(map, apiConfigMainDTO); // 将合同签署信息更新到合同信息表中 updateData.put("single_signed_num", 0);