Commit 2c70683f4e6fd81ef27d40ee879ce633dd19ee9d
1 parent
73c62963
新增极光推送功能及设备id存储到Redis的逻辑
Showing
1 changed file
with
2 additions
and
1 deletions
sl-express-ms-work-service/src/main/java/com/sl/ms/work/service/impl/PickupDispatchTaskServiceImpl.java
| @@ -197,8 +197,9 @@ public class PickupDispatchTaskServiceImpl extends ServiceImpl<TaskPickupDispatc | @@ -197,8 +197,9 @@ public class PickupDispatchTaskServiceImpl extends ServiceImpl<TaskPickupDispatc | ||
| 197 | .set(PickupDispatchTaskEntity::getAssignedStatus, PickupDispatchTaskAssignedStatus.DISTRIBUTED); | 197 | .set(PickupDispatchTaskEntity::getAssignedStatus, PickupDispatchTaskAssignedStatus.DISTRIBUTED); |
| 198 | 198 | ||
| 199 | boolean result = update(updateWrapper); | 199 | boolean result = update(updateWrapper); |
| 200 | - if (result) { | ||
| 201 | 200 | ||
| 201 | + if (result) { | ||
| 202 | + pickupDispatchTaskEntities.forEach(this::generateMsg); | ||
| 202 | } | 203 | } |
| 203 | 204 | ||
| 204 | return result; | 205 | return result; |