|
|
@ -379,7 +379,9 @@ public class WechatRest { |
|
|
|
RespMessReturn r=new RespMessReturn(); |
|
|
|
List<UserProject> user= crmMapper.users(shSid); |
|
|
|
List<String> openIds=new ArrayList<>(); |
|
|
|
// openIds.add("oA-GE69cBwiWG5Tx5R3vvy60o8qk");
|
|
|
|
List<String> mobiles=new ArrayList<>(); |
|
|
|
// mobiles.add("15932270269");
|
|
|
|
for(UserProject u:user){ |
|
|
|
SysUser sysUser=systemMapper.getAppletOpenidByUsersid(u.getUserSid()); |
|
|
|
if(null!=sysUser) { |
|
|
@ -442,9 +444,9 @@ public class WechatRest { |
|
|
|
}else if(type.equals("030405")){ |
|
|
|
content = "仓库异常提醒:" + shName + "仓库货物于" + ft.format(new Date()) + "发生图片比对异常,请及时处理。"; |
|
|
|
} |
|
|
|
String res = "1"; |
|
|
|
// String res = "1";
|
|
|
|
|
|
|
|
//String res = com.yxt.supervise.report.biz.util.MsgWs.SendWaitWorkMsg(mobile, content);
|
|
|
|
String res = com.yxt.supervise.report.biz.util.MsgWs.SendWaitWorkMsg(mobile, content); |
|
|
|
if (res.equals("1")) { |
|
|
|
System.out.println("发送消息"); |
|
|
|
redisUtil.set(""+mobile,""+date.getTime(), APP_LOGIN_CODE_TIME_LIMIT); |
|
|
|