|
|
@@ -164,9 +164,9 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
where deleted = 0
|
|
|
and status = 1
|
|
|
and company_id = #{companyId}
|
|
|
- <if test="targetType != null and targetType != ''">
|
|
|
- and target_type = #{targetType}
|
|
|
- </if>
|
|
|
+<!-- <if test="targetType != null and targetType != ''">-->
|
|
|
+<!-- and target_type = #{targetType}-->
|
|
|
+<!-- </if>-->
|
|
|
and target_value = #{targetValue}
|
|
|
<if test="businessType != null and businessType != ''">
|
|
|
and business_type = #{businessType}
|
|
|
@@ -193,9 +193,9 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
where deleted = 0
|
|
|
and status = 1
|
|
|
and company_id is null
|
|
|
- <if test="targetType != null and targetType != ''">
|
|
|
- and target_type = #{targetType}
|
|
|
- </if>
|
|
|
+<!-- <if test="targetType != null and targetType != ''">-->
|
|
|
+<!-- and target_type = #{targetType}-->
|
|
|
+<!-- </if>-->
|
|
|
<if test="businessType != null and businessType != ''">
|
|
|
and business_type = #{businessType}
|
|
|
</if>
|