wangzhuo 1 rok temu
rodzic
commit
a3f64d53c9

+ 1 - 0
ruoyi-warehouse/src/main/resources/mapper/invoice/FInvoicePaymentMapper.xml

@@ -57,6 +57,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
             <if test="payTypes != null "> and pay_types = #{payTypes}</if>
             <if test="chequeNo != null "> and cheque_no = #{chequeNo}</if>
             <if test="auditType != null "> and audit_type = #{auditType}</if>
+            <if test="remark != null and remark != '' "> and remark like concat('%', #{remark}, '%')</if>
             <if test='timeInterval != null and timeInterval[0] != null and timeInterval[0]!= ""'>
                 and create_time &gt;= #{timeInterval[0]}
             </if>

+ 1 - 0
ruoyi-warehouse/src/main/resources/mapper/invoice/TInvoiceMapper.xml

@@ -48,6 +48,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
             <if test="type != null and type != '' "> and type = #{type}</if>
             <if test="kpType != null and kpType != '' "> and kp_type = #{kpType}</if>
             <if test="fCorpid != null and fCorpid != '' "> and f_corpid = #{fCorpid}</if>
+            <if test="remark != null and remark != '' "> and remark like concat('%', #{remark}, '%')</if>
             <if test='timeInterval != null and timeInterval[0] != null and timeInterval[0]!= ""'>
                 and kp_time &gt;= #{timeInterval[0]}
             </if>