优化根据原单号批量查询关联的单据列表的方法
This commit is contained in:
@@ -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 {
|
||||||
DepotHeadExample example = new DepotHeadExample();
|
if(linkNumberList!=null && linkNumberList.size()>0) {
|
||||||
example.createCriteria().andLinkNumberIn(linkNumberList).andDeleteFlagNotEqualTo(BusinessConstants.DELETE_FLAG_DELETED);
|
DepotHeadExample example = new DepotHeadExample();
|
||||||
return depotHeadMapper.selectByExample(example);
|
example.createCriteria().andLinkNumberIn(linkNumberList).andDeleteFlagNotEqualTo(BusinessConstants.DELETE_FLAG_DELETED);
|
||||||
|
return depotHeadMapper.selectByExample(example);
|
||||||
|
} else {
|
||||||
|
return new ArrayList<>();
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
Reference in New Issue
Block a user