Commit f18e25ef by HlQ

[add] 项目资料提交钉钉提醒添加上传人字段

1 parent 814659b8
...@@ -705,6 +705,7 @@ public class StoreServiceImpl extends MPJBaseServiceImpl<StoreMapper, Store> imp ...@@ -705,6 +705,7 @@ public class StoreServiceImpl extends MPJBaseServiceImpl<StoreMapper, Store> imp
var jsonObj = JSONUtil.ofObj() var jsonObj = JSONUtil.ofObj()
.set("agent_id", 2358374016L) .set("agent_id", 2358374016L)
.set("userid_list", String.join(",", userIdStr)); .set("userid_list", String.join(",", userIdStr));
UserVO userVO = (UserVO) StpUtil.getTokenSession().get("curLoginUser");
var msg = new JSONObject(); var msg = new JSONObject();
var content = new JSONObject(); var content = new JSONObject();
...@@ -717,10 +718,12 @@ public class StoreServiceImpl extends MPJBaseServiceImpl<StoreMapper, Store> imp ...@@ -717,10 +718,12 @@ public class StoreServiceImpl extends MPJBaseServiceImpl<StoreMapper, Store> imp
### 项目资料提交提醒 ### 项目资料提交提醒
#### 项目名称:{} #### 项目名称:{}
#### 合同编号:{} #### 合同编号:{}
#### 上传人:{}
#### 资料类型:{} #### 资料类型:{}
#### 资料名称: #### 资料名称:
{} {}
#### 发送时间:{}""", storeName, contractNo, sourceName, fileNameStr, DateUtil.now())); #### 发送时间:{}""", storeName, contractNo, userVO.getUsername(), sourceName, fileNameStr,
DateUtil.now()));
msg.set("msgtype", "markdown").set("markdown", content); msg.set("msgtype", "markdown").set("markdown", content);
jsonObj.set("msg", msg); jsonObj.set("msg", msg);
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!