作者 朱兆平

buf-fix:

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

Signed-off-by: mrz <17966059@qq.com>
... ... @@ -210,8 +210,11 @@ public class PREPARMASTERServiceImpl implements PREPARMASTERService {
* </configuration>
*/
int i1 = preparemasterMapper.updateDelStatusByPrimaryKey(preMasters);
int i2 = preparesecondaryMapper.updateDelStatusByPrimaryKey(preSubs);
if (!preMasters.isEmpty()) {
int i1 = preparemasterMapper.updateDelStatusByPrimaryKey(preMasters);
}else if (!preSubs.isEmpty()) {
int i2 = preparesecondaryMapper.updateDelStatusByPrimaryKey(preSubs);
}
return true;
}
... ...