change - 金蝶同步备注、路由字符上限

master
yinq 2 weeks ago
parent b3fe54b9bc
commit 575de28b63

@ -512,9 +512,7 @@ public class KingdeeErpService {
Base1Object.put("FNumber", F_TOND_Base1); Base1Object.put("FNumber", F_TOND_Base1);
FEntity.put("F_TOND_Base1", Base1Object); FEntity.put("F_TOND_Base1", Base1Object);
if (StringUtils.isNotNull(tips)) { if (StringUtils.isNotNull(tips)) {
JSONObject tipsObject = new JSONObject(); FEntity.put("FEntryNote", tips);
tipsObject.put("FNumber", tips);
FEntity.put("FEntryNote", tipsObject);
} }
ArrayList<JSONObject> entityList = new ArrayList<>(); ArrayList<JSONObject> entityList = new ArrayList<>();

@ -1515,7 +1515,7 @@ public class KingdeeErpSyncServiceImpl implements IKingdeeErpSyncService {
private void insertSysPointRouter(String notifyInfo) { private void insertSysPointRouter(String notifyInfo) {
notifyInfo = notifyInfo.length() > 400 ? notifyInfo.substring(0, 400) : notifyInfo; notifyInfo = notifyInfo.length() > 4000 ? notifyInfo.substring(0, 4000) : notifyInfo;
SysPointRouter sysPointRouter = new SysPointRouter(); SysPointRouter sysPointRouter = new SysPointRouter();
sysPointRouter.setModuleCode("MES"); sysPointRouter.setModuleCode("MES");
sysPointRouter.setPointType(SystemConstants.SYS_ROUTER_POINT_TYPE_NOTICE); sysPointRouter.setPointType(SystemConstants.SYS_ROUTER_POINT_TYPE_NOTICE);

Loading…
Cancel
Save