|
|
@@ -261,6 +261,7 @@ public class AitableController {
|
|
|
String yidaSaleProjectName = UtilMap.getString(data, "yidaSaleProjectName"); //项目名称
|
|
|
String yidaGetRfqDate = UtilMap.getString(data, "yidaGetRfqDate"); //询报价日期或者客户跟进RFQ日期
|
|
|
String yidaRfqType = UtilMap.getString(data, "yidaRfqType"); //RFQ来源
|
|
|
+ String yidaOldPiCode = UtilMap.getString(data, "yidaOldPiCode"); //原PI号
|
|
|
|
|
|
//先查询当前修改记录
|
|
|
Map<String,String> saleRecord = new HashMap<String,String>(); //售前台账记录
|
|
|
@@ -342,6 +343,12 @@ public class AitableController {
|
|
|
aitableService.updateSys1SaleData(aitableId,fields);
|
|
|
}
|
|
|
}
|
|
|
+
|
|
|
+ if(yidaOldPiCode != null && !yidaOldPiCode.isEmpty()) { //原PI号
|
|
|
+ fields.put("gCc8jRg",yidaOldPiCode); //原PI号
|
|
|
+ aitableService.updateSys1SaleData(aitableId,fields);
|
|
|
+ }
|
|
|
+
|
|
|
return McR.success();
|
|
|
} catch (Exception e) {
|
|
|
return McR.error("400",e.getMessage());
|