Ver Fonte

开票管理添加项目编号查询条件

chenjun há 11 meses atrás
pai
commit
eddc7a3dd1

+ 8 - 0
zjugis-business/src/main/resources/mapper/oracle/ContractInvoiceMapper.xml

@@ -42,6 +42,10 @@
                 <bind name="xmmc" value="'%'+params.xmmc+'%'"/>
                 AND T2.XMMC like #{xmmc}
             </if>
+            <if test="params != null and params.xmbh != null and params.xmbh != ''">
+                <bind name="xmbh" value="'%'+params.xmbh+'%'"/>
+                AND T2.XMBH like #{xmbh}
+            </if>
             <if test="params != null and params.flowStatus != null">
                 AND T.FLOW_STATUS = #{params.flowStatus,jdbcType=INTEGER}
             </if>
@@ -137,6 +141,10 @@
                 <bind name="xmmc" value="'%'+params.xmmc+'%'"/>
                 AND T2.XMMC like #{xmmc}
             </if>
+            <if test="params != null and params.xmbh != null and params.xmbh != ''">
+                <bind name="xmbh" value="'%'+params.xmbh+'%'"/>
+                AND T2.XMBH like #{xmbh}
+            </if>
             <if test="params != null and params.flowStatus != null">
                 AND T.FLOW_STATUS = #{params.flowStatus,jdbcType=INTEGER}
             </if>