|
@@ -104,10 +104,10 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
and goods_type = #{goodsType}
|
|
|
</if>
|
|
|
<if test="startTime != null">
|
|
|
- and DATE_FORMAT(create_time,'%Y-%m-%d')<![CDATA[ >= ]]> #{startTime}
|
|
|
+ and DATE_FORMAT(create_time,'%Y%m%d')<![CDATA[ >= ]]> #{startTime}
|
|
|
</if>
|
|
|
<if test="endTime != null">
|
|
|
- and DATE_FORMAT(create_time,'%Y-%m-%d') <![CDATA[ < ]]> #{endTime}
|
|
|
+ and DATE_FORMAT(create_time,'%Y%m%d') <![CDATA[ < ]]> #{endTime}
|
|
|
</if>
|
|
|
order by create_time desc
|
|
|
</select>
|
|
@@ -120,10 +120,10 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
and referral_user_id = #{referralUserId}
|
|
|
</if>
|
|
|
<if test="startTime != null">
|
|
|
- and DATE_FORMAT(create_time,'%Y-%m-%d')<![CDATA[ >= ]]> #{startTime}
|
|
|
+ and DATE_FORMAT(create_time,'%Y%m%d')<![CDATA[ >= ]]> #{startTime}
|
|
|
</if>
|
|
|
<if test="endTime != null">
|
|
|
- and DATE_FORMAT(create_time,'%Y-%m-%d') <![CDATA[ < ]]> #{endTime}
|
|
|
+ and DATE_FORMAT(create_time,'%Y%m%d') <![CDATA[ < ]]> #{endTime}
|
|
|
</if>
|
|
|
order by create_time desc
|
|
|
</select>
|