考核周期更新

This commit is contained in:
2025-08-08 09:57:16 +08:00
parent f0353d5ba1
commit 39eddb496d
6 changed files with 258 additions and 16 deletions

View File

@ -9,10 +9,12 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<result property="checkStatus" column="check_status" />
<result property="beginDate" column="begin_date" />
<result property="endDate" column="end_date" />
<result property="weekCheck" column="week_check" />
<result property="weekTimeCheck" column="week_time_check" />
</resultMap>
<select id="getStatus" resultMap="dataCheckStatus">
select id,check_status,begin_date,end_date from data_check_status where id = 1
select id,check_status,begin_date,end_date,week_check,week_time_check from data_check_status where id = 1
</select>
<update id="startCheck" parameterType="date">
@ -24,7 +26,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
</update>
<update id="updateCheck" parameterType="date">
update data_check_status set begin_date = #{startCheckDate},end_date = #{endCheckDate}
update data_check_status set begin_date = #{startCheckDate},end_date = #{endCheckDate},week_check = #{weekCheck},week_time_check = #{weekTimeCheck}
</update>
</mapper>