<?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="org.springblade.modules.task.mapper.TaskSchoolEvenMapper">
|
|
<!-- 通用查询映射结果 -->
|
<resultMap id="taskSchoolEvenResultMap" type="org.springblade.modules.task.entity.TaskSchoolEvenEntity">
|
</resultMap>
|
|
|
<select id="selectTaskSchoolEvenPage" resultMap="taskSchoolEvenResultMap">
|
select * from jczz_task_school_even
|
</select>
|
|
<resultMap type="org.springblade.modules.task.dto.TaskSchoolEvenDTO" id="TaskSchoolEvenDTOResult">
|
<result property="id" column="id" />
|
<result property="createUser" column="create_user" />
|
<result property="images" column="images" />
|
<result property="describe" column="describe" />
|
<result property="hiddenDangerType" column="hidden_danger_type" />
|
<result property="type" column="type" />
|
<result property="isProblem" column="is_problem" />
|
<result property="isHandle" column="is_handle" />
|
<result property="isReporting" column="is_reporting" />
|
<result property="workImage" column="work_image" />
|
<result property="confirmFlag" column="confirm_flag" />
|
<result property="confirmTime" column="confirm_time" />
|
<result property="confirmUserId" column="confirm_user_id" />
|
<result property="confirmUserName" column="confirm_user_name" />
|
<result property="confirmNotion" column="confirm_notion" />
|
<result property="createTime" column="create_time" />
|
<result property="updateTime" column="update_time" />
|
</resultMap>
|
|
<sql id="selectTaskSchoolEven">
|
select
|
id,
|
create_user,
|
images,
|
describe,
|
hidden_danger_type,
|
type,
|
is_problem,
|
is_handle,
|
is_reporting,
|
work_image,
|
confirm_flag,
|
confirm_time,
|
confirm_user_id,
|
confirm_user_name,
|
confirm_notion,
|
create_time,
|
update_time
|
from
|
jczz_task_school_even
|
</sql>
|
|
<!-- <select id="selectTaskSchoolEvenById" parameterType="long" resultMap="TaskSchoolEvenDTOResult">-->
|
<!-- <include refid="selectTaskSchoolEven"/>-->
|
<!-- where-->
|
<!-- id = #{id}-->
|
<!-- </select>-->
|
|
<!-- <select id="selectTaskSchoolEvenList" parameterType="org.springblade.modules..dto.TaskSchoolEvenDTO" resultMap="TaskSchoolEvenDTOResult">-->
|
<!-- <include refid="selectTaskSchoolEven"/>-->
|
<!-- <where>-->
|
<!-- <if test="id != null "> and id = #{id}</if>-->
|
<!-- <if test="createUser != null "> and create_user = #{createUser}</if>-->
|
<!-- <if test="images != null and images != ''"> and images = #{images}</if>-->
|
<!-- <if test="describe != null and describe != ''"> and describe = #{describe}</if>-->
|
<!-- <if test="hiddenDangerType != null and hiddenDangerType != ''"> and hidden_danger_type = #{hiddenDangerType}</if>-->
|
<!-- <if test="type != null and type != ''"> and type = #{type}</if>-->
|
<!-- <if test="isProblem != null and isProblem != ''"> and is_problem = #{isProblem}</if>-->
|
<!-- <if test="isHandle != null and isHandle != ''"> and is_handle = #{isHandle}</if>-->
|
<!-- <if test="isReporting != null and isReporting != ''"> and is_reporting = #{isReporting}</if>-->
|
<!-- <if test="workImage != null and workImage != ''"> and work_image = #{workImage}</if>-->
|
<!-- <if test="confirmFlag != null and confirmFlag != ''"> and confirm_flag = #{confirmFlag}</if>-->
|
<!-- <if test="confirmTime != null "> and confirm_time = #{confirmTime}</if>-->
|
<!-- <if test="confirmUserId != null "> and confirm_user_id = #{confirmUserId}</if>-->
|
<!-- <if test="confirmUserName != null and confirmUserName != ''"> and confirm_user_name = #{confirmUserName}</if>-->
|
<!-- <if test="confirmNotion != null and confirmNotion != ''"> and confirm_notion = #{confirmNotion}</if>-->
|
<!-- <if test="createTime != null "> and create_time = #{createTime}</if>-->
|
<!-- <if test="updateTime != null "> and update_time = #{updateTime}</if>-->
|
<!-- </where>-->
|
<!-- </select>-->
|
|
</mapper>
|