|
@@ -593,6 +593,9 @@
|
|
|
<if test="status != null">
|
|
<if test="status != null">
|
|
|
and b.status = #{status}
|
|
and b.status = #{status}
|
|
|
</if>
|
|
</if>
|
|
|
|
|
+ <if test="statusType == 1">
|
|
|
|
|
+ and b.status in (1,2)
|
|
|
|
|
+ </if>
|
|
|
<if test="clockIn !=null">
|
|
<if test="clockIn !=null">
|
|
|
and a.clock_in= #{clockIn}
|
|
and a.clock_in= #{clockIn}
|
|
|
</if>
|
|
</if>
|
|
@@ -640,6 +643,9 @@
|
|
|
<if test="status != null">
|
|
<if test="status != null">
|
|
|
and b.status = #{status}
|
|
and b.status = #{status}
|
|
|
</if>
|
|
</if>
|
|
|
|
|
+ <if test="statusType == 1">
|
|
|
|
|
+ and b.status in (1,2)
|
|
|
|
|
+ </if>
|
|
|
<if test="clockIn !=null">
|
|
<if test="clockIn !=null">
|
|
|
and a.clock_in= #{clockIn}
|
|
and a.clock_in= #{clockIn}
|
|
|
</if>
|
|
</if>
|