|
@@ -1143,7 +1143,7 @@ public class YidaServiceImpl implements YidaService {
|
|
|
|
|
|
|
|
@Override
|
|
@Override
|
|
|
public void updateLtcCustomerBasicInfo7(String formInstId, String customerLevel, String customerPotentialLevel) throws Exception {
|
|
public void updateLtcCustomerBasicInfo7(String formInstId, String customerLevel, String customerPotentialLevel) throws Exception {
|
|
|
-/*
|
|
|
|
|
|
|
+ /*
|
|
|
参数定义
|
|
参数定义
|
|
|
*/
|
|
*/
|
|
|
YDParam yidaParam; //HTTP请求体
|
|
YDParam yidaParam; //HTTP请求体
|
|
@@ -1171,6 +1171,36 @@ public class YidaServiceImpl implements YidaService {
|
|
|
ydClient.operateData(yidaParam,YDConf.FORM_OPERATION.update);
|
|
ydClient.operateData(yidaParam,YDConf.FORM_OPERATION.update);
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
|
|
+ @Override
|
|
|
|
|
+ public void updateLtcCustomerBasicInfo8(String formInstId, long privateSeaTime, long lastContactTime) throws Exception {
|
|
|
|
|
+ /*
|
|
|
|
|
+ 参数定义
|
|
|
|
|
+ */
|
|
|
|
|
+ YDParam yidaParam; //HTTP请求体
|
|
|
|
|
+ YDParam.YDParamBuilder ydParamBuilder; //宜搭参数构建
|
|
|
|
|
+ String updateFormDataJson; //更新内容
|
|
|
|
|
+
|
|
|
|
|
+ /*
|
|
|
|
|
+ 初始化参数值
|
|
|
|
|
+ */
|
|
|
|
|
+ Map updateFormData = UtilMap.map(
|
|
|
|
|
+ "dateField_moxzc25f, dateField_l3tw3kfn",
|
|
|
|
|
+ privateSeaTime,
|
|
|
|
|
+ lastContactTime
|
|
|
|
|
+ );
|
|
|
|
|
+ updateFormDataJson = JSONObject.toJSONString(updateFormData);
|
|
|
|
|
+ System.out.println(updateFormDataJson);
|
|
|
|
|
+
|
|
|
|
|
+ /*
|
|
|
|
|
+ 更新数据
|
|
|
|
|
+ */
|
|
|
|
|
+ ydParamBuilder = YDParam.builder();
|
|
|
|
|
+ ydParamBuilder = ydParamBuilder.formInstId(formInstId);
|
|
|
|
|
+ ydParamBuilder = ydParamBuilder.updateFormDataJson(updateFormDataJson);
|
|
|
|
|
+ yidaParam = ydParamBuilder.build();
|
|
|
|
|
+ ydClient.operateData(yidaParam,YDConf.FORM_OPERATION.update);
|
|
|
|
|
+ }
|
|
|
|
|
+
|
|
|
@Override
|
|
@Override
|
|
|
public void updateCustomerRelatedAitableId(String formInstId, String aitableId) throws Exception {
|
|
public void updateCustomerRelatedAitableId(String formInstId, String aitableId) throws Exception {
|
|
|
/*
|
|
/*
|