Explorar el Código

报销列表BUG修复

anderx hace 2 años
padre
commit
b6f513199b

+ 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}