소스 검색

Merge branch 'div-20251117' of http://git.dgtis.com/qxp/suishenbang-oneportal into div-20251117

yanym 1 주 전
부모
커밋
6c32df9c2d
1개의 변경된 파일6개의 추가작업 그리고 0개의 파일을 삭제
  1. 6 0
      suishenbang-wxportal/suishenbang-wxportal-common/src/main/resources/mapper/wxportal/WxMagnetMapper.xml

+ 6 - 0
suishenbang-wxportal/suishenbang-wxportal-common/src/main/resources/mapper/wxportal/WxMagnetMapper.xml

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