|
|
|
@ -1740,10 +1740,10 @@
|
|
|
|
|
<if test="param.openTimeEnd != null"> |
|
|
|
|
and lta.create_time <= #{param.openTimeEnd} |
|
|
|
|
</if> |
|
|
|
|
<if test="param.overTimeStatus != null and param.overTimeStatus == 0"> |
|
|
|
|
<if test="param.isOverTime != null and param.isOverTime == 0"> |
|
|
|
|
and round(TIMESTAMPDIFF(SECOND, lta.create_time, lww.create_time)/3600,1) <= #{param.hoursTime} |
|
|
|
|
</if> |
|
|
|
|
<if test="param.overTimeStatus != null and param.overTimeStatus == 1"> |
|
|
|
|
<if test="param.isOverTime != null and param.isOverTime == 1"> |
|
|
|
|
and round(TIMESTAMPDIFF(SECOND, lta.create_time, lww.create_time)/3600,1) > #{param.hoursTime} |
|
|
|
|
</if> |
|
|
|
|
|
|
|
|
@ -1916,10 +1916,10 @@
|
|
|
|
|
<if test="param.openTimeEnd != null"> |
|
|
|
|
and lta.create_time <= #{param.openTimeEnd} |
|
|
|
|
</if> |
|
|
|
|
<if test="param.overTimeStatus != null and param.overTimeStatus == 0"> |
|
|
|
|
<if test="param.isOverTime != null and param.isOverTime == 0"> |
|
|
|
|
and round(TIMESTAMPDIFF(SECOND, lta.create_time, lww.create_time)/3600,1) <= #{param.hoursTime} |
|
|
|
|
</if> |
|
|
|
|
<if test="param.overTimeStatus != null and param.overTimeStatus == 1"> |
|
|
|
|
<if test="param.isOverTime != null and param.isOverTime == 1"> |
|
|
|
|
and round(TIMESTAMPDIFF(SECOND, lta.create_time, lww.create_time)/3600,1) > #{param.hoursTime} |
|
|
|
|
</if> |
|
|
|
|
|
|
|
|
|