优化根据原单号批量查询关联的单据列表的方法

This commit is contained in:
季圣华
2022-12-01 21:27:24 +08:00
parent 32d2dd45f2
commit 1171ae18f2

View File

@@ -835,9 +835,13 @@ public class DepotHeadService {
* @throws Exception
*/
public List<DepotHead> getBillListByLinkNumberList(List<String> linkNumberList)throws Exception {
if(linkNumberList!=null && linkNumberList.size()>0) {
DepotHeadExample example = new DepotHeadExample();
example.createCriteria().andLinkNumberIn(linkNumberList).andDeleteFlagNotEqualTo(BusinessConstants.DELETE_FLAG_DELETED);
return depotHeadMapper.selectByExample(example);
} else {
return new ArrayList<>();
}
}
/**