shinnosuke
2026-08-21 bc2efbdb52190fe2e7be9920bbed6902d4ee28aa
talent-card-server/src/main/java/com/talentcard/server/mapper/MerchantDisplayPolicyMerchantMapper.java
@@ -37,7 +37,7 @@
            from merchant m
            where m.deleted = 0
              <if test="merchantId != null">and m.id = #{merchantId}</if>
              <if test="merchantType != null and merchantType != ''">and m.merchant_type = #{merchantType}</if>
              <if test="merchantType != null and merchantType != ''">and m.merchant_type_code = #{merchantType}</if>
              <if test="status != null">and m.status = #{status}</if>
              <if test="keyword != null and keyword != ''">
                and (m.merchant_name like concat('%', #{keyword}, '%')
@@ -73,7 +73,7 @@
            from merchant m
            where m.deleted = 0
              <if test="merchantId != null">and m.id = #{merchantId}</if>
              <if test="merchantType != null and merchantType != ''">and m.merchant_type = #{merchantType}</if>
              <if test="merchantType != null and merchantType != ''">and m.merchant_type_code = #{merchantType}</if>
              <if test="status != null">and m.status = #{status}</if>
              <if test="keyword != null and keyword != ''">
                and (m.merchant_name like concat('%', #{keyword}, '%')
@@ -164,7 +164,7 @@
            )
            where m.deleted = 0
              and m.status = 1
              <if test="merchantType != null and merchantType != ''">and m.merchant_type = #{merchantType}</if>
              <if test="merchantType != null and merchantType != ''">and m.merchant_type_code = #{merchantType}</if>
              <if test="keyword != null and keyword != ''">
                and (m.merchant_name like concat('%', #{keyword}, '%')
                     or m.contact_mobile like concat('%', #{keyword}, '%')
@@ -186,7 +186,7 @@
            from merchant m
            where m.deleted = 0
              and m.status = 1
              <if test="merchantType != null and merchantType != ''">and m.merchant_type = #{merchantType}</if>
              <if test="merchantType != null and merchantType != ''">and m.merchant_type_code = #{merchantType}</if>
              <if test="keyword != null and keyword != ''">
                and (m.merchant_name like concat('%', #{keyword}, '%')
                     or m.contact_mobile like concat('%', #{keyword}, '%')