buf-fix:
1. 运抵批量删除状态数据库更新bug修复 Signed-off-by: mrz <17966059@qq.com>
正在显示
1 个修改的文件
包含
4 行增加
和
1 行删除
@@ -392,9 +392,12 @@ public class ArriveMasterServiceImpl implements ArriveMasterService { | @@ -392,9 +392,12 @@ public class ArriveMasterServiceImpl implements ArriveMasterService { | ||
392 | * </configuration> | 392 | * </configuration> |
393 | */ | 393 | */ |
394 | 394 | ||
395 | + if (!masters.isEmpty()){ | ||
395 | int i1 = arrivedmasterMapper.updateDelStatusByPrimaryKey(masters); | 396 | int i1 = arrivedmasterMapper.updateDelStatusByPrimaryKey(masters); |
397 | + } | ||
398 | + if (!subs.isEmpty()){ | ||
396 | int i2 = arrivedsecondaryMapper.updateDelStatusByPrimaryKey(subs); | 399 | int i2 = arrivedsecondaryMapper.updateDelStatusByPrimaryKey(subs); |
397 | - | 400 | + } |
398 | return true; | 401 | return true; |
399 | } | 402 | } |
400 | } | 403 | } |
-
请 注册 或 登录 后发表评论