Commit cd9e3f7f by jianshuqin

修复BUG:费用列表借支与还款查询

parent 169245dc
......@@ -518,6 +518,13 @@ public abstract class AbstractCostService implements CostService {
if (userDomain.getIsadmin() > 0 || userDomain.getIsfinansys() > 0) {
req.setCurrentUserId(null);
}
if (null != req.getCostForm() && 3 == req.getCostForm()) {
req.setIsLend(1);
}
if (null != req.getCostForm() && 4 == req.getCostForm()) {
req.setCostForm(3);
req.setIsLend(2);
}
Page<CostDomain> page = costDao.queryPage(new Page<>(req.getPageNum(), req.getPageSize()), req);
this.setPrimaryDepartment(page.getRecords());
return page;
......
Markdown is supported
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