|
|
@@ -209,6 +209,14 @@
|
|
|
<if test="projectStatus != null"> and a.project_status =#{projectStatus}</if>
|
|
|
<if test="projectNumber != null"> and b.project_number like concat ('%',#{projectNumber},'%')</if>
|
|
|
<if test="projectName != null"> and b.name like concat ('%',#{projectName},'%')</if>
|
|
|
+ <if test="clockStatus ==1">
|
|
|
+ and a.check_duration is not null
|
|
|
+ and a.duration = a.check_duration
|
|
|
+ </if>
|
|
|
+ <if test="clockStatus ==2">
|
|
|
+ and a.check_duration is not null
|
|
|
+ and a.duration != a.check_duration
|
|
|
+ </if>
|
|
|
<if test="researchStart != null and researchEnd != null">
|
|
|
and( #{researchStart} between b.start_time and b.end_time or #{researchEnd} between b.start_time and b.end_time)
|
|
|
</if>
|