|
@@ -269,7 +269,10 @@ public class TbGoodsTransitService extends ServiceImpl<TbGoodsTransitMapper, TbG
|
|
|
.eq(TbPeople::getDeleteStatus, DeleteStatus.DELETE_STATUS_ON.getCode()));
|
|
|
|
|
|
if(tbPeopleList.size() == 0)throw new RuntimeException("订单异常,原因是没有关联的边民!!!");
|
|
|
- methodGoodsTransitService.sendSms(tbPeopleList);
|
|
|
+ int sendSms = methodGoodsTransitService.sendSms(tbPeopleList);
|
|
|
+ if(sendSms != tbPeopleList.size()){
|
|
|
+ //todo: 如果短信发送成功次数 与 边民数不一致处理
|
|
|
+ }
|
|
|
|
|
|
}
|
|
|
|