ezhizao_zx 1 년 전
부모
커밋
05f1c1b7f3
1개의 변경된 파일1개의 추가작업 그리고 0개의 파일을 삭제
  1. 1 0
      src/main/resources/mybatis/business/BizEntrustOrderMapper.xml

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