This commit is contained in:
2026-04-24 16:23:42 +08:00
parent 5ae52b4c3b
commit f648fd0719
25 changed files with 1040 additions and 0 deletions

View File

@@ -0,0 +1,35 @@
<?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.cms.mapper.JobDataTrendMapper">
<resultMap type="com.ruoyi.cms.domain.JobDataTrend" id="JobDataTrendResult">
<id property="id" column="ID" />
<result property="deleteCount" column="DELETE_COUNT" />
<result property="insertCount" column="INSERT_COUNT" />
<result property="failCount" column="FAIL_COUNT" />
<result property="websiteName" column="WEBSITE_NAME" />
<result property="storageTime" column="STORAGE_TIME" />
<result property="delFlag" column="DEL_FLAG" />
<result property="createBy" column="CREATE_BY" />
<result property="createTime" column="CREATE_TIME" />
<result property="updateBy" column="UPDATE_BY" />
<result property="updateTime" column="UPDATE_TIME" />
</resultMap>
<sql id="selectJobDataTrendVo">
select ID, DELETE_COUNT, INSERT_COUNT, FAIL_COUNT, STORAGE_TIME,WEBSITE_NAME, DEL_FLAG, CREATE_BY, CREATE_TIME, UPDATE_BY, UPDATE_TIME
from JOB_DATA_TREND
</sql>
<select id="selectJobDataTrendList" parameterType="com.ruoyi.cms.domain.JobDataTrend" resultMap="JobDataTrendResult">
<include refid="selectJobDataTrendVo"/>
<where>
<if test="storageTime != null "> and STORAGE_TIME = #{storageTime}</if>
<if test="delFlag != null and delFlag != ''"> and DEL_FLAG = #{delFlag}</if>
</where>
ORDER BY STORAGE_TIME DESC
</select>
</mapper>