抽奖金额修改
订单笔数统计 只统计支付宝支付 增加 一次性任务 新人福利 领取1元
This commit is contained in:
@@ -314,6 +314,7 @@
|
||||
WHERE
|
||||
orders.user_id = #{userId}
|
||||
AND orders.`status` = 1
|
||||
AND orders.`pay_way` = 9
|
||||
<if test="time !=null and time != ''">
|
||||
and create_time > #{time}
|
||||
</if>
|
||||
|
||||
19
src/main/resources/mapper/tashCenter/TaskCenterRecordDto.xml
Normal file
19
src/main/resources/mapper/tashCenter/TaskCenterRecordDto.xml
Normal file
@@ -0,0 +1,19 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
|
||||
<mapper namespace="com.sqx.modules.taskCenter.dao.TaskCenterRecordDao">
|
||||
|
||||
|
||||
<select id="countTaskNum" resultType="Integer">
|
||||
SELECT
|
||||
count(*)
|
||||
FROM
|
||||
task_center_record record
|
||||
WHERE
|
||||
record.user_id = #{userId}
|
||||
AND record.task_id = #{taskId}
|
||||
<if test="time !=null and time != ''">
|
||||
and create_time > #{time}
|
||||
</if>
|
||||
</select>
|
||||
|
||||
</mapper>
|
||||
Reference in New Issue
Block a user