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

完善工时统计

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