Commit 216c6a72 authored by 赵啸非's avatar 赵啸非

修改自动考核

parent 63f00914
...@@ -99,7 +99,7 @@ ...@@ -99,7 +99,7 @@
<profiles.dingtalk.agentId>2652674890</profiles.dingtalk.agentId> <profiles.dingtalk.agentId>2652674890</profiles.dingtalk.agentId>
<profiles.dingtalk.appKey>dingpqzradgfr4efdi2j</profiles.dingtalk.appKey> <profiles.dingtalk.appKey>dingpqzradgfr4efdi2j</profiles.dingtalk.appKey>
<profiles.dingtalk.appSecret>bF2WALmo5_Wuj3hg5gXeWqezrYnZChUJ88HjzNWpkA9ivdOxfBDGOGYcfVRfB3vd</profiles.dingtalk.appSecret> <profiles.dingtalk.appSecret>bF2WALmo5_Wuj3hg5gXeWqezrYnZChUJ88HjzNWpkA9ivdOxfBDGOGYcfVRfB3vd</profiles.dingtalk.appSecret>
<profiles.webUrl>https://ybswxxcx.zwfwhfgjjfzj.yibin.gov.cn/performance-h5/attendance</profiles.webUrl> <profiles.webUrl>https://ybswxxcx.zwfwhfgjjfzj.yibin.gov.cn/performance-h5</profiles.webUrl>
<package.environment>build</package.environment> <package.environment>build</package.environment>
<skipUi>false</skipUi> <skipUi>false</skipUi>
</properties> </properties>
......
...@@ -32,8 +32,8 @@ public class MessageServiceImpl implements MessageService { ...@@ -32,8 +32,8 @@ public class MessageServiceImpl implements MessageService {
Msg msg = new Msg(); Msg msg = new Msg();
msg.setMsgtype("link"); msg.setMsgtype("link");
Link link = new Link(); Link link = new Link();
link.setPicUrl(""); //link.setMessageUrl(webUrl + dingMsg.getPath());
link.setMessageUrl(webUrl + dingMsg.getPath()); link.setMessageUrl(webUrl );
if (SubAddTypeEnum.增加.getValue() == dingMsg.getSubAddType()) { if (SubAddTypeEnum.增加.getValue() == dingMsg.getSubAddType()) {
link.setText(String.format("你好,经人工核实后你在%%-%s" + link.setText(String.format("你好,经人工核实后你在%%-%s" +
......
...@@ -102,7 +102,7 @@ public class CheckAttendRecordServiceImpl extends AbstractCRUDServiceImpl<CheckA ...@@ -102,7 +102,7 @@ public class CheckAttendRecordServiceImpl extends AbstractCRUDServiceImpl<CheckA
checkDingMsg.setPerformTypeStr(PerformTypeEnum.评价投诉绩效.getDesc()); checkDingMsg.setPerformTypeStr(PerformTypeEnum.评价投诉绩效.getDesc());
checkDingMsg.setScore(entity.getScore().toString()); checkDingMsg.setScore(entity.getScore().toString());
checkDingMsg.setSubAddType(entity.getSubAddType()); checkDingMsg.setSubAddType(entity.getSubAddType());
checkDingMsg.setPath(String.format("/api/v1/perform/info?id=%s&&performType=complain", entity.getId())); checkDingMsg.setPath(String.format("#/api/v1/perform/info?id=%s&&performType=complain", entity.getId()));
Rest<String> msgRest = messageService.sendDingTalkWorkMsg(checkDingMsg); Rest<String> msgRest = messageService.sendDingTalkWorkMsg(checkDingMsg);
} else { } else {
log.error("根据手机号码获取人员错误,msg:{}", personRest.getMsg()); log.error("根据手机号码获取人员错误,msg:{}", personRest.getMsg());
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment