Browse Source

科德报销小程序借支列表逻辑修改

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

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

@@ -391,8 +391,8 @@
     <if test="depId != null">
       and d.department_id = #{depId}
     </if>
-    <if test="orderNo != null">
-      and a.order_no = #{orderNo}
+    <if test="contractNo != null">
+      and e.contract_no = #{contractNo}
     </if>
     <if test="username != null">
       and tm.buyer_name = #{username}
@@ -440,8 +440,8 @@
     <if test="depId != null">
       and d.department_id = #{depId}
     </if>
-    <if test="orderNo != null">
-      and a.order_no = #{orderNo}
+    <if test="contractNo != null">
+      and e.contract_no = #{contractNo}
     </if>
     <if test="username != null">
       and tm.buyer_name = #{username}