用户采集数据考核

This commit is contained in:
2025-08-04 16:11:54 +08:00
parent 7514482e33
commit 55ac707a8c
17 changed files with 728 additions and 41 deletions

View File

@ -0,0 +1,30 @@
<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE mapper
PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
"http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper namespace="com.ruoyi.dw.mapper.DataCheckMapper">
<resultMap type="DataCheckStatus" id="dataCheckStatus">
<result property="id" column="id" />
<result property="checkStatus" column="check_status" />
<result property="beginDate" column="begin_date" />
<result property="endDate" column="end_date" />
</resultMap>
<select id="getStatus" resultMap="dataCheckStatus">
select id,check_status,begin_date,end_date from data_check_status where id = 1
</select>
<update id="startCheck" parameterType="date">
update data_check_status set check_status = 1,begin_date = #{checkDate},end_date = null
</update>
<update id="endCheck" parameterType="date">
update data_check_status set check_status = 2,end_date = #{checkDate}
</update>
<update id="updateCheck" parameterType="date">
update data_check_status set begin_date = #{startCheckDate},end_date = #{endCheckDate}
</update>
</mapper>