Browse Source

报销开发子报销列表新增字段

anderx 2 years ago
parent
commit
5f390186d9

+ 11 - 0
src/main/java/com/goafanti/expenseAccount/service/impl/ExpenseAccountServiceImpl.java

@@ -794,6 +794,17 @@ public class ExpenseAccountServiceImpl extends BaseMybatisDao<ExpenseAccountMapp
     @Override
     public Object detailsList(InputDetailsListBo in) {
         Map<String,Object> params = new HashMap<>();
+        if(in.getStatus()!=null)params.put("status",in.getStatus());
+        if(in.getType()!=null)params.put("type",in.getType());
+        if (in.getDepId()!=null)params.put("depId",in.getDepId());
+        if (in.getContractNo()!=null)params.put("contractNo",in.getContractNo());
+        if (in.getBuyerName()!=null)params.put("buyerName",in.getBuyerName());
+        if (in.getAname()!=null)params.put("aname",in.getAname());
+        if (in.getApplyDep()!=null)params.put("applyDep",in.getApplyDep());
+        if (in.getPayDep() != null)params.put("payDep",in.getPayDep());
+        if (in.getStartTime()!=null)params.put("startTime",in.getStartTime());
+        if (in.getEndTime()!=null)params.put("endTime",in.getEndTime());
+        if (in.getCheckNo()!=null)params.put("checkNo",in.getCheckNo());
         return findPage("ExpenseDetailsList","ExpenseDetailsCount",params,in.getPageNo(),in.getPageSize());
     }