master
parent
1c390713c6
commit
e3bcdefe63
|
|
@ -825,9 +825,13 @@ public class OrderInfoService extends ServiceImpl<OrderInfoMapper, OrderInfoEnti
|
||||||
param.setLicensePlate(truckEntity.getLicensePlate());
|
param.setLicensePlate(truckEntity.getLicensePlate());
|
||||||
for (SysUserRoleEntity userRoleEntity : userIds) {
|
for (SysUserRoleEntity userRoleEntity : userIds) {
|
||||||
UserEntity userEntity = userService.getById(userRoleEntity.getUserId());
|
UserEntity userEntity = userService.getById(userRoleEntity.getUserId());
|
||||||
param.setUserId(userRoleEntity.getUserId());
|
if (null != userEntity) {
|
||||||
param.setCfCompanyName(userEntity.getNickname());
|
param.setUserId(userRoleEntity.getUserId());
|
||||||
wechatTemplateMessageService.sendTemplateMessage(param);
|
param.setCfCompanyName(userEntity.getNickname());
|
||||||
|
wechatTemplateMessageService.sendTemplateMessage(param);
|
||||||
|
} else {
|
||||||
|
log.info("未查到用户信息:" + userRoleEntity.getUserId());
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
} catch (Exception e) {
|
} catch (Exception e) {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue