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);