Commit 1171ae18 authored by 季圣华's avatar 季圣华
Browse files

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

parent 32d2dd45
...@@ -835,9 +835,13 @@ public class DepotHeadService { ...@@ -835,9 +835,13 @@ public class DepotHeadService {
* @throws Exception * @throws Exception
*/ */
public List<DepotHead> getBillListByLinkNumberList(List<String> linkNumberList)throws Exception { public List<DepotHead> getBillListByLinkNumberList(List<String> linkNumberList)throws Exception {
if(linkNumberList!=null && linkNumberList.size()>0) {
DepotHeadExample example = new DepotHeadExample(); DepotHeadExample example = new DepotHeadExample();
example.createCriteria().andLinkNumberIn(linkNumberList).andDeleteFlagNotEqualTo(BusinessConstants.DELETE_FLAG_DELETED); example.createCriteria().andLinkNumberIn(linkNumberList).andDeleteFlagNotEqualTo(BusinessConstants.DELETE_FLAG_DELETED);
return depotHeadMapper.selectByExample(example); return depotHeadMapper.selectByExample(example);
} else {
return new ArrayList<>();
}
} }
/** /**
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment