订单数量sql

This commit is contained in:
曹磊 2024-07-03 19:20:51 +08:00
parent f34fe134a5
commit c7db94968f
1 changed files with 1 additions and 1 deletions

View File

@ -645,7 +645,7 @@
and status = #{status} and status = #{status}
</if> </if>
<if test="status==null"> <if test="status==null">
and status in (2,3,4,5,6,7,8,9,10) and status in (2,3,5,6,7,8,9,10)
</if> </if>
<if test="startTime!=null and startTime!=''"> <if test="startTime!=null and startTime!=''">
and date_format(create_time,'%Y-%m-%d') >= date_format(#{startTime},'%Y-%m-%d') and date_format(create_time,'%Y-%m-%d') >= date_format(#{startTime},'%Y-%m-%d')