订单数量sql
This commit is contained in:
parent
f34fe134a5
commit
c7db94968f
|
@ -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')
|
||||||
|
|
Loading…
Reference in New Issue