Преглед на файлове

3. 报销小程序无默认收款新增并设置修改
4. 报销小程序日志驳回后无需后续修改

anderx преди 2 години
родител
ревизия
4f246c9ce5
променени са 1 файла, в които са добавени 2 реда и са изтрити 3 реда
  1. 2 3
      src/main/java/com/goafanti/common/mapper/ExpenseAccountMapper.xml

+ 2 - 3
src/main/java/com/goafanti/common/mapper/ExpenseAccountMapper.xml

@@ -462,7 +462,7 @@
       inner join (select eaid ,auditor,min(process_status)`type` from expense_account_examine
       where auditor= #{auditor} group by eaid) eae on a.id=eae.eaid
     </if>
-    where 1=1
+
     <include refid="selectExpenseAccountSql"/>
     order by a.status,a.create_time desc
     <if test="page_sql !=null">
@@ -470,6 +470,7 @@
     </if>
   </select>
   <sql id="selectExpenseAccountSql">
+    where 1=1 and a.status &lt; 4
     <if test="processStatus ==2">
       and a.process_status>=0
       <if test="examineStatus ==1">
@@ -555,7 +556,6 @@
       inner join (select eaid ,auditor,min(process_status)`type` from expense_account_examine
       where auditor= #{auditor} group by eaid) eae on a.id=eae.eaid
     </if>
-    where 1=1
     <include refid="selectExpenseAccountSql"/>
   </select>
 
@@ -583,7 +583,6 @@
       inner join (select eaid ,auditor,min(process_status)`type` from expense_account_examine
       where auditor= #{auditor} group by eaid) eae on a.id=eae.eaid
     </if>
-    where 1=1
     <include refid="selectExpenseAccountSql"/>
   </select>