44323
2023-10-27 9ee92c174150ce862132b519451a7c8df3b63342
cloud-server-activity/src/main/resources/mapper/CouponMapper.xml
@@ -28,9 +28,16 @@
        pickUpQuantity,
        `status`,
        state,
        illustrate
        illustrate,
        auditStatus
        from t_coupon
        where 1 = 1
        where 1=1
        <if test="operatorId != null">
            and cityManagerId = #{operatorId}
        </if>
        <if test="objType == 1">
          and  auditStatus =2
        </if>
        <if test="cityCode != null">
           and id in(
            SELECT DISTINCT couponId FROM
@@ -62,6 +69,7 @@
        <if test="state != null">
            and `state` = #{state}
        </if>
          order by insertTime desc
    </select>
    <select id="queryCouponListOfSearch1" resultType="java.util.Map">