Commit 738cd597 by jianan

Merge branch 'dev_20200908_PEP_Statistics' into dev

parents 337034b7 cd000442
...@@ -83,7 +83,7 @@ ...@@ -83,7 +83,7 @@
SELECT count(1) SELECT count(1)
FROM ag_mkt_schedule_task_tracking FROM ag_mkt_schedule_task_tracking
WHERE 1=1 WHERE 1=1
AND to_days(track_time) = to_days(#{taskTimeEnd,jdbcType=TIMESTAMP}) AND to_days(track_time) = to_days(#{trackTime,jdbcType=TIMESTAMP})
AND practitioner_id = #{practitionerId,jdbcType=BIGINT} AND practitioner_id = #{practitionerId,jdbcType=BIGINT}
AND (task_time_from < STR_TO_DATE(#{taskTimeEnd,jdbcType=VARCHAR}, '%H:%i:%s') AND (task_time_from < STR_TO_DATE(#{taskTimeEnd,jdbcType=VARCHAR}, '%H:%i:%s')
AND task_time_end > STR_TO_DATE(#{taskTimeFrom,jdbcType=VARCHAR}, '%H:%i:%s') AND task_time_end > STR_TO_DATE(#{taskTimeFrom,jdbcType=VARCHAR}, '%H:%i:%s')
......
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