|
|
@@ -449,6 +449,7 @@ public class TechProjectServiceImpl extends BaseMybatisDao<TechProjectMapper> im
|
|
|
String mobile = "";
|
|
|
if (null!=tb&&tb.getOrderNo()!=null) {
|
|
|
ServiceOrderDetailBo t=tOrderMapper.selectServiceOrderDetail(tb.getOrderNo());
|
|
|
+ System.out.println(t.getSalesmanId());
|
|
|
if (null!=t&&t.getSalesmanId()!=null) {
|
|
|
ad=adminMapper.selectByPrimaryKey(t.getSalesmanId());
|
|
|
Matcher s1 = p.matcher(ad.getContactMobile());
|
|
|
@@ -461,15 +462,15 @@ public class TechProjectServiceImpl extends BaseMybatisDao<TechProjectMapper> im
|
|
|
Matcher m = p.matcher(a.getContactMobile());
|
|
|
if ( m.matches()) {
|
|
|
mobile=mobile+","+a.getContactMobile();
|
|
|
- String paramString = "{\"number\":\"" + tb.getOrderNo()
|
|
|
- + "\",\"operator\":\"" + TokenManager.getAdminToken().getName()
|
|
|
- + "\",\"time\":\"" + sdf.format(new Date())
|
|
|
- + "\",\"name\":\"" + tb.getBuyerName()
|
|
|
- + "\",\"type\":\"" + OrderFlowState.RWPD.getDesc() +
|
|
|
- "\"}";
|
|
|
- MobileMessageUtils.sendMessage(mobileRemindCodeTemplate, paramString, mobile, accessKey, accessSecret);
|
|
|
}
|
|
|
}
|
|
|
+ String paramString = "{\"number\":\"" + tb.getOrderNo()
|
|
|
+ + "\",\"operator\":\"" + TokenManager.getAdminToken().getName()
|
|
|
+ + "\",\"time\":\"" + sdf.format(new Date())
|
|
|
+ + "\",\"name\":\"" + tb.getBuyerName()
|
|
|
+ + "\",\"type\":\"" + OrderFlowState.RWPD.getDesc() +
|
|
|
+ "\"}";
|
|
|
+ MobileMessageUtils.sendMessage(mobileRemindCodeTemplate, paramString, mobile, accessKey, accessSecret);
|
|
|
return contractTaskMapper.updateByPrimaryKeySelective(task);
|
|
|
}
|
|
|
|