|
@@ -50,6 +50,9 @@
|
|
|
<if test="magnetSize != null and magnetSize != ''">
|
|
<if test="magnetSize != null and magnetSize != ''">
|
|
|
AND m.magnet_size = #{magnetSize}
|
|
AND m.magnet_size = #{magnetSize}
|
|
|
</if>
|
|
</if>
|
|
|
|
|
+ <if test="userType != null and userType != ''">
|
|
|
|
|
+ AND m.user_type = #{userType}
|
|
|
|
|
+ </if>
|
|
|
<if test="magnetType != null and magnetType != ''">
|
|
<if test="magnetType != null and magnetType != ''">
|
|
|
AND m.magnet_type = #{magnetType}
|
|
AND m.magnet_type = #{magnetType}
|
|
|
</if>
|
|
</if>
|
|
@@ -148,6 +151,9 @@
|
|
|
<if test="wxMagnet.magnetName != null and wxMagnet.magnetName != ''">
|
|
<if test="wxMagnet.magnetName != null and wxMagnet.magnetName != ''">
|
|
|
AND m.magnet_name like concat('%', #{wxMagnet.magnetName}, '%')
|
|
AND m.magnet_name like concat('%', #{wxMagnet.magnetName}, '%')
|
|
|
</if>
|
|
</if>
|
|
|
|
|
+ <if test="wxMagnet.userType != null and wxMagnet.userType != ''">
|
|
|
|
|
+ AND m.user_type = #{wxMagnet.userType}
|
|
|
|
|
+ </if>
|
|
|
<if test="wxMagnet.visible != null and wxMagnet.visible != ''">
|
|
<if test="wxMagnet.visible != null and wxMagnet.visible != ''">
|
|
|
AND m.visible = #{wxMagnet.visible}
|
|
AND m.visible = #{wxMagnet.visible}
|
|
|
</if>
|
|
</if>
|