Browse Source

报销列表BUG修复

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

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

@@ -396,7 +396,7 @@
       and e.contract_no = #{contractNo}
     </if>
     <if test="username != null">
-      and tm.buyer_name = #{username}
+      and tm.buyer_name  like concat('%',#{username},'%')
     </if>
     <if test="applyDep != null">
       and a.apply_dep  = #{applyDep}
@@ -445,7 +445,7 @@
       and e.contract_no = #{contractNo}
     </if>
     <if test="username != null">
-      and tm.buyer_name = #{username}
+      and tm.buyer_name  like concat('%',#{username},'%')
     </if>
     <if test="applyDep != null">
       and a.apply_dep  = #{applyDep}