|
@@ -278,12 +278,12 @@ public class TOrderServiceImpl extends ServiceImpl<TOrderMapper, TOrder> impleme
|
|
|
result = "设备不存在";
|
|
|
return result;
|
|
|
}
|
|
|
- String operationalPhone = equipment.getOperationalPhone();
|
|
|
+ String contactPhone = equipment.getContactPhone();
|
|
|
String phone = null;
|
|
|
//判断是否有机器运营者,作为短信接收通知人
|
|
|
- if (!StringUtils.isEmpty(operationalPhone)) {
|
|
|
+ if (!StringUtils.isEmpty(contactPhone)) {
|
|
|
//直接发送到机器运营者
|
|
|
- phone = operationalPhone;
|
|
|
+ phone = contactPhone;
|
|
|
} else {
|
|
|
//直接发送到账户拥有者手机
|
|
|
TAdmin admin = R.getDataIfSuccess(szwlFeign.getAdmin(String.valueOf(equipment.getAdminId())));
|