| | |
| | | <?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.doublePrevention.repository.PreventCJReportConfigLogRepository">
|
| | |
|
| | | <resultMap id="BaseResultMap" type="com.ruoyi.doublePrevention.entity.CJReport.PreventCJReportConfigLog">
|
| | | <id property="id" column="id"/>
|
| | | <result property="reportState" column="report_state"/>
|
| | | <result property="reportType" column="report_type"/>
|
| | | <result property="reportData" column="report_data"/>
|
| | | <result property="reportDataName" column="report_data_name"/>
|
| | | <result property="gmtModitify" column="gmt_moditify"/>
|
| | | <result property="lastEditUserName" column="last_edit_user_name"/>
|
| | | </resultMap>
|
| | |
|
| | | <!--IPage<PreventReportConfigLog> getReportConfigLogPage(Page<Object> page, PreventReportConfigLogQueryReqDTO queryReqDTO);-->
|
| | | <select id="getReportConfigLogPage" resultMap="BaseResultMap">
|
| | | select id, report_state, report_type, report_data_name, gmt_moditify, last_edit_user_name, update_info
|
| | | from prevent_cj_report_config_log
|
| | | <where>
|
| | | 1 = 1
|
| | | <if test="queryReqDTO.startTime != null">
|
| | | and #{queryReqDTO.id} >= gmt_moditify
|
| | | </if>
|
| | | <if test="queryReqDTO.endTime != null">
|
| | | and gmt_moditify >= #{queryReqDTO.id}
|
| | | </if>
|
| | | </where>
|
| | | </select>
|
| | |
|
| | | </mapper>
|
| | | <?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.doublePrevention.repository.PreventCJReportConfigLogRepository"> |
| | | |
| | | <resultMap id="BaseResultMap" type="com.ruoyi.doublePrevention.entity.CJReport.PreventCJReportConfigLog"> |
| | | <id property="id" column="id"/> |
| | | <result property="reportState" column="report_state"/> |
| | | <result property="reportType" column="report_type"/> |
| | | <result property="reportData" column="report_data"/> |
| | | <result property="reportDataName" column="report_data_name"/> |
| | | <result property="gmtModitify" column="gmt_moditify"/> |
| | | <result property="lastEditUserName" column="last_edit_user_name"/> |
| | | </resultMap> |
| | | |
| | | <!--IPage<PreventReportConfigLog> getReportConfigLogPage(Page<Object> page, PreventReportConfigLogQueryReqDTO queryReqDTO);--> |
| | | <select id="getReportConfigLogPage" resultMap="BaseResultMap"> |
| | | select id, report_state, report_type, report_data_name, gmt_moditify, last_edit_user_name, update_info |
| | | from prevent_cj_report_config_log |
| | | <where> |
| | | 1 = 1 |
| | | <if test="queryReqDTO.startTime != null"> |
| | | and #{queryReqDTO.id} >= gmt_moditify |
| | | </if> |
| | | <if test="queryReqDTO.endTime != null"> |
| | | and gmt_moditify >= #{queryReqDTO.id} |
| | | </if> |
| | | </where> |
| | | </select> |
| | | |
| | | </mapper> |