he2802 2 년 전
부모
커밋
309b32d5b7
1개의 변경된 파일3개의 추가작업 그리고 0개의 파일을 삭제
  1. 3 0
      zhongzheng-system/src/main/resources/mapper/modules/top/TopCostTpMapper.xml

+ 3 - 0
zhongzheng-system/src/main/resources/mapper/modules/top/TopCostTpMapper.xml

@@ -31,6 +31,9 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
         <if test="tpName != null and tpName != ''">
             AND ct.tp_name  like concat('%', #{tpName}, '%')
         </if>
+        <if test="tenantId != null and tenantId != ''">
+            AND ct.tenant_id  = #{tenantId}
+        </if>
         <if test="tenantSort != null and tenantSort == 1">
             ORDER BY ct.tenant_id
         </if>