ezhizao_zx 1 yıl önce
ebeveyn
işleme
05f1c1b7f3

+ 1 - 0
src/main/resources/mybatis/business/BizEntrustOrderMapper.xml

@@ -22,6 +22,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
             <if test="fromTenantId != null "> AND t1.from_tenant_id = #{fromTenantId}</if>
             <if test="tenantId != null "> AND (t1.tenant_id = #{tenantId} or t1.from_tenant_id = #{tenantId})</if>
             <if test="formNo != null  and formNo != ''"> AND t1.form_no = #{formNo}</if>
+            <if test="contactCompany != null and contactCompany != ''">AND t3.account_name like concat('%', #{contactCompany}, '%')</if>
             <if test="formDate != null "> AND t1.form_date = #{formDate}</if>
             <if test="status != null "> AND t1.status = #{status}</if>
         </trim>