Jelajahi Sumber

修改短信发送记录分页接口

liu 3 bulan lalu
induk
melakukan
572889ae6d

+ 2 - 2
src/main/resources/mapper/errand/TbIndentSmsSendLogMapper.xml

@@ -50,8 +50,8 @@
             <if test="query.successFlag != null and query.successFlag != ''">
                 and issl.success_flag = #{query.successFlag}
             </if>
-            <if test="query.shopId != null">
-                and o.shop_id = #{query.shopId}
+            <if test="query.fromTo != null and query.fromTo != ''">
+                and gs.phone = #{query.fromTo}
             </if>
             <if test="query.sendTo != null and query.sendTo != ''">
                 and issl.send_to = #{query.sendTo}

+ 0 - 1
src/main/resources/mapper/order/OrderMapper.xml

@@ -820,7 +820,6 @@
             tb_order
         WHERE
             status in (3, 4, 6)
-            AND pay_time >= DATE_SUB(CURDATE(), INTERVAL 30 DAY)
         GROUP BY
             shop_id
     </select>