Browse Source

报销开发费用明细列表,费用列表新增
主报销查询修改

anderx 2 years ago
parent
commit
19193be5a2
1 changed files with 4 additions and 1 deletions
  1. 4 1
      src/main/java/com/goafanti/common/mapper/ExpenseAccountMapper.xml

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

@@ -591,7 +591,10 @@
   <select id="selectByaidAndPrid" resultType="com.goafanti.expenseAccount.bo.OutExpenseAccount">
     SELECT
     <include refid="selectDtailsSql"/>
-    WHERE a.status= #{status}
+    WHERE 1=1
+    <if test="status !=null">
+    and a.status= #{status}
+    </if>
     and a.prid= #{prid} and a.aid = #{aid}
   </select>