作者 朱兆平

buf-fix:

1. 预配批量删除状态数据库更新bug修复

Signed-off-by: mrz <17966059@qq.com>
@@ -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 - int i1 = preparemasterMapper.updateDelStatusByPrimaryKey(preMasters);  
214 - int i2 = preparesecondaryMapper.updateDelStatusByPrimaryKey(preSubs); 213 + if (!preMasters.isEmpty()) {
  214 + int i1 = preparemasterMapper.updateDelStatusByPrimaryKey(preMasters);
  215 + }else if (!preSubs.isEmpty()) {
  216 + int i2 = preparesecondaryMapper.updateDelStatusByPrimaryKey(preSubs);
  217 + }
215 218
216 return true; 219 return true;
217 } 220 }