作者 朱兆平

buf-fix:

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

Signed-off-by: mrz <17966059@qq.com>
@@ -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 - int i1 = arrivedmasterMapper.updateDelStatusByPrimaryKey(masters);  
396 - int i2 = arrivedsecondaryMapper.updateDelStatusByPrimaryKey(subs);  
397 - 395 + if (!masters.isEmpty()){
  396 + int i1 = arrivedmasterMapper.updateDelStatusByPrimaryKey(masters);
  397 + }
  398 + if (!subs.isEmpty()){
  399 + int i2 = arrivedsecondaryMapper.updateDelStatusByPrimaryKey(subs);
  400 + }
398 return true; 401 return true;
399 } 402 }
400 } 403 }