|
|
@@ -532,6 +532,8 @@ public class KdHuaGaoServiceImpl implements KdHuaGaoService {
|
|
|
public void syncPRDReturnMtrl(String userId) {
|
|
|
MDC.put("MDC_KEY_PID","1002");
|
|
|
|
|
|
+ log.info("开始同步生产退料明细");
|
|
|
+
|
|
|
//创建看板更新记录
|
|
|
if (Strings.isBlank(userId)){
|
|
|
userId = "yida_pub_account";
|
|
|
@@ -656,6 +658,7 @@ public class KdHuaGaoServiceImpl implements KdHuaGaoService {
|
|
|
if (Objects.nonNull(userId)){
|
|
|
sendDdMsg(ddClient.getAccessToken(),ddConf.getAgentId(),userId,"更新" + type + "异常:" + e.getMessage() + " 时间:" + DateUtil.format(new Date(),"yyyy-MM-dd HH:mm:ss"));
|
|
|
}
|
|
|
+ throw new RuntimeException(e);
|
|
|
}
|
|
|
}
|
|
|
|
|
|
@@ -772,6 +775,8 @@ public class KdHuaGaoServiceImpl implements KdHuaGaoService {
|
|
|
public void syncDLVNotice(String userId) {
|
|
|
MDC.put("MDC_KEY_PID","1002");
|
|
|
|
|
|
+ log.info("开始同步生产退料明细");
|
|
|
+
|
|
|
//创建看板更新记录
|
|
|
if (Strings.isBlank(userId)){
|
|
|
userId = "yida_pub_account";
|
|
|
@@ -933,7 +938,7 @@ public class KdHuaGaoServiceImpl implements KdHuaGaoService {
|
|
|
msg.put("msgtype","text");
|
|
|
//获取当前时间 精确到秒
|
|
|
String time = DateUtil.format(new Date(),"yyyy-MM-dd HH:mm:ss");
|
|
|
- msg.put("text", UtilMap.map("content",content));
|
|
|
+ msg.put("text", UtilMap.map("content, aa",content,""));
|
|
|
body3.put("msg",msg);
|
|
|
UtilHttp.doPost("https://oapi.dingtalk.com/topapi/message/corpconversation/asyncsend_v2",null,param2,body3);
|
|
|
}
|