Commit d4e3ec46 authored by nie'hong's avatar nie'hong

完善工时统计

parent 96357dfe
...@@ -111,7 +111,7 @@ ...@@ -111,7 +111,7 @@
<update id="updateByIds"> <update id="updateByIds">
UPDATE UPDATE
<include refid="table"/> <include refid="table"/>
SET status = 2,reviewer_id = #{reviewerId} SET status = 2,reviewer_id = #{reviewerId},modify_time = now()
WHERE work_id IN WHERE work_id IN
<foreach collection="ids" item="id" open="(" close=")" separator=","> <foreach collection="ids" item="id" open="(" close=")" separator=",">
#{id} #{id}
...@@ -211,7 +211,10 @@ ...@@ -211,7 +211,10 @@
<where> <where>
<include refid="criteria"/> <include refid="criteria"/>
<if test="startDay != null"> <if test="startDay != null">
AND work_day>=#{startDay} AND modify_time>=#{startModifyTime}
</if>
<if test="">
AND work_day>={startWorkTime}
</if> </if>
<if test="projectIdList != null"> <if test="projectIdList != null">
AND project_id IN AND project_id IN
......
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