Commit ae4b935b by huluobin

fix

parent ef673e7d
...@@ -127,10 +127,10 @@ ...@@ -127,10 +127,10 @@
left join order_manage om on oc.order_id = om.id left join order_manage om on oc.order_id = om.id
left join customer cus on om.order_user = cus.id left join customer cus on om.order_user = cus.id
where oc.technician_id = #{technicianId} where oc.technician_id = #{technicianId}
<if test="endTime != null and endTime != '' "> <if test="endTime != null ">
and oc.create_time &lt;= #{endTime} and oc.create_time &lt;= #{endTime}
</if> </if>
<if test="startTime != null and startTime != '' "> <if test="startTime != null ">
and oc.create_time &gt;= #{startTime} and oc.create_time &gt;= #{startTime}
</if> </if>
order by oc.create_time desc order by oc.create_time desc
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment