buf-fix:
1. 预配批量删除状态数据库更新bug修复 Signed-off-by: mrz <17966059@qq.com>
正在显示
1 个修改的文件
包含
3 行增加
和
0 行删除
@@ -210,8 +210,11 @@ public class PREPARMASTERServiceImpl implements PREPARMASTERService { | @@ -210,8 +210,11 @@ public class PREPARMASTERServiceImpl implements PREPARMASTERService { | ||
210 | * </configuration> | 210 | * </configuration> |
211 | */ | 211 | */ |
212 | 212 | ||
213 | + if (!preMasters.isEmpty()) { | ||
213 | int i1 = preparemasterMapper.updateDelStatusByPrimaryKey(preMasters); | 214 | int i1 = preparemasterMapper.updateDelStatusByPrimaryKey(preMasters); |
215 | + }else if (!preSubs.isEmpty()) { | ||
214 | int i2 = preparesecondaryMapper.updateDelStatusByPrimaryKey(preSubs); | 216 | int i2 = preparesecondaryMapper.updateDelStatusByPrimaryKey(preSubs); |
217 | + } | ||
215 | 218 | ||
216 | return true; | 219 | return true; |
217 | } | 220 | } |
-
请 注册 或 登录 后发表评论