Browse Source

查询新增筛选人

anderx 2 years ago
parent
commit
43b8e17725

+ 9 - 1
src/main/java/com/goafanti/common/mapper/ExpenseAccountMapper.xml

@@ -373,8 +373,10 @@
     where 1=1
       <if test="superShiro ==1">
         and a.process_status>0
+        <if test=" aid !=null">
+        and a.aid= #{aid}
+        </if>
       </if>
-
     <if test="processStatus ==0">
     and a.aid= #{aid}
     </if>
@@ -426,6 +428,9 @@
     where 1=1
     <if test="superShiro ==1">
       and a.process_status>0
+      <if test=" aid !=null">
+        and a.aid= #{aid}
+      </if>
     </if>
     <if test="processStatus ==0">
       and a.aid= #{aid}
@@ -474,6 +479,9 @@
     where 1=1
     <if test="superShiro ==1">
       and a.process_status>0
+      <if test=" aid !=null">
+        and a.aid= #{aid}
+      </if>
     </if>
     <if test="processStatus ==0">
       and a.aid= #{aid}

+ 10 - 0
src/main/java/com/goafanti/expenseAccount/bo/InputPageListBo.java

@@ -11,6 +11,7 @@ public class InputPageListBo {
     private String contractNo;
     private String username;
     private String depId;
+    private String aid;
     private String type;
     private String applyDep;
     private String payDep;
@@ -18,6 +19,15 @@ public class InputPageListBo {
     private Integer pageNo;
     private Integer pageSize;
 
+
+    public String getAid() {
+        return aid;
+    }
+
+    public void setAid(String aid) {
+        this.aid = aid;
+    }
+
     public Integer getExamineStatus() {
         return examineStatus;
     }

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

@@ -639,6 +639,7 @@ public class ExpenseAccountServiceImpl extends BaseMybatisDao<ExpenseAccountMapp
         if (in.getProcessStatus()==null){
             if(PurviewUtils.superPurview()){
                 param.put("superShiro",1);
+                param.put("aid",in.getAid());
             }else {
                 param.put("processStatus",0);