|
|
@@ -100,7 +100,7 @@ public class KdYdCustomerServiceImpl extends ServiceImpl<KdYdCustomerMapper, KdY
|
|
|
// === 提取主表字段 ===
|
|
|
String khmc = UtilMap.getString(formData, "textField_lqanqe6j");
|
|
|
// String khmc = "26228测试客户11";
|
|
|
-// String khbm = UtilMap.getString(formData, "textField_meqhqqvg");
|
|
|
+ String khbm = UtilMap.getString(formData, "textField_meqhqqvg");
|
|
|
String xssx = UtilMap.getString(formData, "selectField_megi74y7");
|
|
|
String khxypj = UtilMap.getString(formData, "selectField_mewirdx4");
|
|
|
String khsx = UtilMap.getString(formData, "selectField_megi74y8");
|
|
|
@@ -135,7 +135,9 @@ public class KdYdCustomerServiceImpl extends ServiceImpl<KdYdCustomerMapper, KdY
|
|
|
// 构建主表数据
|
|
|
Map<String, Object> customData = new HashMap<>();
|
|
|
customData.put("khmc", khmc);
|
|
|
-// customData.put("khbm", khbm);
|
|
|
+ if("edit".equals(action)){
|
|
|
+ customData.put("khbm", khbm);
|
|
|
+ }
|
|
|
customData.put("xssx", xssx);
|
|
|
customData.put("khxypj", khxypj);
|
|
|
customData.put("khsx", khsx);
|
|
|
@@ -239,7 +241,7 @@ public class KdYdCustomerServiceImpl extends ServiceImpl<KdYdCustomerMapper, KdY
|
|
|
.useLatestVersion(true).build(),
|
|
|
YDConf.FORM_OPERATION.update);
|
|
|
//
|
|
|
- log.info("回写数据到宜搭成功,formInstId: {}", formInstId);
|
|
|
+ log.info("回写数据到宜搭成功,formInstId: {},responseBody:{}", formInstId, responseBody);
|
|
|
} catch (Exception e) {
|
|
|
log.warn("回写数据到宜搭失败,formInstId: {}, 错误: {}", formInstId, e.getMessage());
|
|
|
}
|