见习之星考核过程
This commit is contained in:
@ -0,0 +1,78 @@
|
||||
<?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.jxzxkhgl.mapper.TsbzJxzxkhgcsjMapper">
|
||||
|
||||
<resultMap type="TsbzJxzxkhgcsj" id="TsbzJxzxkhgcsjResult">
|
||||
<result property="id" column="id"/>
|
||||
<result property="faid" column="faid"/>
|
||||
<result property="zbid" column="zbid"/>
|
||||
<result property="content" column="content"/>
|
||||
<result property="createuserid" column="createuserid"/>
|
||||
<result property="createTime" column="create_time"/>
|
||||
</resultMap>
|
||||
|
||||
<sql id="selectTsbzJxzxkhgcsjVo">
|
||||
select id, faid, zbid, content, createuserid, create_time from tsbz_jxzxkhgcsj
|
||||
</sql>
|
||||
|
||||
<select id="selectTsbzJxzxkhgcsjList" parameterType="TsbzJxzxkhgcsj" resultMap="TsbzJxzxkhgcsjResult">
|
||||
<include refid="selectTsbzJxzxkhgcsjVo"/>
|
||||
<where>
|
||||
<if test="faid != null ">and faid = #{faid}</if>
|
||||
<if test="zbid != null ">and zbid = #{zbid}</if>
|
||||
<if test="content != null and content != ''">and content = #{content}</if>
|
||||
<if test="createuserid != null ">and createuserid = #{createuserid}</if>
|
||||
</where>
|
||||
</select>
|
||||
|
||||
<select id="selectTsbzJxzxkhgcsjById" parameterType="String" resultMap="TsbzJxzxkhgcsjResult">
|
||||
<include refid="selectTsbzJxzxkhgcsjVo"/>
|
||||
where id = #{id}
|
||||
</select>
|
||||
|
||||
<insert id="insertTsbzJxzxkhgcsj" parameterType="TsbzJxzxkhgcsj">
|
||||
insert into tsbz_jxzxkhgcsj
|
||||
<trim prefix="(" suffix=")" suffixOverrides=",">
|
||||
<if test="id != null">id,</if>
|
||||
<if test="faid != null">faid,</if>
|
||||
<if test="zbid != null">zbid,</if>
|
||||
<if test="content != null">content,</if>
|
||||
<if test="createuserid != null">createuserid,</if>
|
||||
<if test="createTime != null">create_time,</if>
|
||||
</trim>
|
||||
<trim prefix="values (" suffix=")" suffixOverrides=",">
|
||||
<if test="id != null">#{id},</if>
|
||||
<if test="faid != null">#{faid},</if>
|
||||
<if test="zbid != null">#{zbid},</if>
|
||||
<if test="content != null">#{content},</if>
|
||||
<if test="createuserid != null">#{createuserid},</if>
|
||||
<if test="createTime != null">#{createTime},</if>
|
||||
</trim>
|
||||
</insert>
|
||||
|
||||
<update id="updateTsbzJxzxkhgcsj" parameterType="TsbzJxzxkhgcsj">
|
||||
update tsbz_jxzxkhgcsj
|
||||
<trim prefix="SET" suffixOverrides=",">
|
||||
<if test="faid != null">faid = #{faid},</if>
|
||||
<if test="zbid != null">zbid = #{zbid},</if>
|
||||
<if test="content != null">content = #{content},</if>
|
||||
<if test="createuserid != null">createuserid = #{createuserid},</if>
|
||||
<if test="createTime != null">create_time = #{createTime},</if>
|
||||
</trim>
|
||||
where id = #{id}
|
||||
</update>
|
||||
|
||||
<delete id="deleteTsbzJxzxkhgcsjById" parameterType="String">
|
||||
delete from tsbz_jxzxkhgcsj where id = #{id}
|
||||
</delete>
|
||||
|
||||
<delete id="deleteTsbzJxzxkhgcsjByIds" parameterType="String">
|
||||
delete from tsbz_jxzxkhgcsj where id in
|
||||
<foreach item="id" collection="array" open="(" separator="," close=")">
|
||||
#{id}
|
||||
</foreach>
|
||||
</delete>
|
||||
|
||||
</mapper>
|
@ -0,0 +1,76 @@
|
||||
<?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.jxzxkhgl.mapper.TsbzJxzxkhgcwjsjMapper">
|
||||
|
||||
<resultMap type="TsbzJxzxkhgcwjsj" id="TsbzJxzxkhgcwjsjResult">
|
||||
<result property="id" column="id"/>
|
||||
<result property="gcid" column="gcid"/>
|
||||
<result property="filename" column="filename"/>
|
||||
<result property="filepath" column="filepath"/>
|
||||
<result property="createuserid" column="createuserid"/>
|
||||
<result property="createTime" column="create_time"/>
|
||||
</resultMap>
|
||||
|
||||
<sql id="selectTsbzJxzxkhgcwjsjVo">
|
||||
select id, gcid, filename, filepath, createuserid, create_time from tsbz_jxzxkhgcwjsj
|
||||
</sql>
|
||||
|
||||
<select id="selectTsbzJxzxkhgcwjsjList" parameterType="TsbzJxzxkhgcwjsj" resultMap="TsbzJxzxkhgcwjsjResult">
|
||||
<include refid="selectTsbzJxzxkhgcwjsjVo"/>
|
||||
<where>
|
||||
<if test="gcid != null and gcid != ''">and gcid = #{gcid}</if>
|
||||
<if test="filename != null and filename != ''">and filename like concat('%', #{filename}, '%')</if>
|
||||
<if test="filepath != null and filepath != ''">and filepath = #{filepath}</if>
|
||||
<if test="createuserid != null ">and createuserid = #{createuserid}</if>
|
||||
</where>
|
||||
</select>
|
||||
|
||||
<select id="selectTsbzJxzxkhgcwjsjById" parameterType="Long" resultMap="TsbzJxzxkhgcwjsjResult">
|
||||
<include refid="selectTsbzJxzxkhgcwjsjVo"/>
|
||||
where id = #{id}
|
||||
</select>
|
||||
|
||||
<insert id="insertTsbzJxzxkhgcwjsj" parameterType="TsbzJxzxkhgcwjsj" useGeneratedKeys="true" keyProperty="id">
|
||||
insert into tsbz_jxzxkhgcwjsj
|
||||
<trim prefix="(" suffix=")" suffixOverrides=",">
|
||||
<if test="gcid != null">gcid,</if>
|
||||
<if test="filename != null">filename,</if>
|
||||
<if test="filepath != null">filepath,</if>
|
||||
<if test="createuserid != null">createuserid,</if>
|
||||
<if test="createTime != null">create_time,</if>
|
||||
</trim>
|
||||
<trim prefix="values (" suffix=")" suffixOverrides=",">
|
||||
<if test="gcid != null">#{gcid},</if>
|
||||
<if test="filename != null">#{filename},</if>
|
||||
<if test="filepath != null">#{filepath},</if>
|
||||
<if test="createuserid != null">#{createuserid},</if>
|
||||
<if test="createTime != null">#{createTime},</if>
|
||||
</trim>
|
||||
</insert>
|
||||
|
||||
<update id="updateTsbzJxzxkhgcwjsj" parameterType="TsbzJxzxkhgcwjsj">
|
||||
update tsbz_jxzxkhgcwjsj
|
||||
<trim prefix="SET" suffixOverrides=",">
|
||||
<if test="gcid != null">gcid = #{gcid},</if>
|
||||
<if test="filename != null">filename = #{filename},</if>
|
||||
<if test="filepath != null">filepath = #{filepath},</if>
|
||||
<if test="createuserid != null">createuserid = #{createuserid},</if>
|
||||
<if test="createTime != null">create_time = #{createTime},</if>
|
||||
</trim>
|
||||
where id = #{id}
|
||||
</update>
|
||||
|
||||
<delete id="deleteTsbzJxzxkhgcwjsjById" parameterType="Long">
|
||||
delete from tsbz_jxzxkhgcwjsj where id = #{id}
|
||||
</delete>
|
||||
|
||||
<delete id="deleteTsbzJxzxkhgcwjsjByIds" parameterType="String">
|
||||
delete from tsbz_jxzxkhgcwjsj where id in
|
||||
<foreach item="id" collection="array" open="(" separator="," close=")">
|
||||
#{id}
|
||||
</foreach>
|
||||
</delete>
|
||||
|
||||
</mapper>
|
@ -0,0 +1,106 @@
|
||||
<?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.jxzxkhgl.mapper.TsbzJzxzkhshMapper">
|
||||
|
||||
<resultMap type="TsbzJzxzkhsh" id="TsbzJzxzkhshResult">
|
||||
<result property="id" column="id"/>
|
||||
<result property="faid" column="faid"/>
|
||||
<result property="jsid" column="jsid"/>
|
||||
<result property="status" column="status"/>
|
||||
<result property="xjshr" column="xjshr"/>
|
||||
<result property="xjshyj" column="xjshyj"/>
|
||||
<result property="xjshjy" column="xjshjy"/>
|
||||
<result property="qjshr" column="qjshr"/>
|
||||
<result property="qjshyj" column="qjshyj"/>
|
||||
<result property="qjshjy" column="qjshjy"/>
|
||||
<result property="createuseird" column="createuseird"/>
|
||||
<result property="createTime" column="create_time"/>
|
||||
</resultMap>
|
||||
|
||||
<sql id="selectTsbzJzxzkhshVo">
|
||||
select id, faid, jsid, status, xjshr, xjshyj, xjshjy, qjshr, qjshyj, qjshjy, createuseird, create_time from tsbz_jzxzkhsh
|
||||
</sql>
|
||||
|
||||
<select id="selectTsbzJzxzkhshList" parameterType="TsbzJzxzkhsh" resultMap="TsbzJzxzkhshResult">
|
||||
<include refid="selectTsbzJzxzkhshVo"/>
|
||||
<where>
|
||||
<if test="faid != null ">and faid = #{faid}</if>
|
||||
<if test="jsid != null ">and jsid = #{jsid}</if>
|
||||
<if test="status != null and status != ''">and status = #{status}</if>
|
||||
<if test="xjshr != null ">and xjshr = #{xjshr}</if>
|
||||
<if test="xjshyj != null and xjshyj != ''">and xjshyj = #{xjshyj}</if>
|
||||
<if test="xjshjy != null and xjshjy != ''">and xjshjy = #{xjshjy}</if>
|
||||
<if test="qjshr != null ">and qjshr = #{qjshr}</if>
|
||||
<if test="qjshyj != null and qjshyj != ''">and qjshyj = #{qjshyj}</if>
|
||||
<if test="qjshjy != null and qjshjy != ''">and qjshjy = #{qjshjy}</if>
|
||||
<if test="createuseird != null ">and createuseird = #{createuseird}</if>
|
||||
</where>
|
||||
</select>
|
||||
|
||||
<select id="selectTsbzJzxzkhshById" parameterType="Long" resultMap="TsbzJzxzkhshResult">
|
||||
<include refid="selectTsbzJzxzkhshVo"/>
|
||||
where id = #{id}
|
||||
</select>
|
||||
|
||||
<insert id="insertTsbzJzxzkhsh" parameterType="TsbzJzxzkhsh" useGeneratedKeys="true" keyProperty="id">
|
||||
insert into tsbz_jzxzkhsh
|
||||
<trim prefix="(" suffix=")" suffixOverrides=",">
|
||||
<if test="faid != null">faid,</if>
|
||||
<if test="jsid != null">jsid,</if>
|
||||
<if test="status != null">status,</if>
|
||||
<if test="xjshr != null">xjshr,</if>
|
||||
<if test="xjshyj != null">xjshyj,</if>
|
||||
<if test="xjshjy != null">xjshjy,</if>
|
||||
<if test="qjshr != null">qjshr,</if>
|
||||
<if test="qjshyj != null">qjshyj,</if>
|
||||
<if test="qjshjy != null">qjshjy,</if>
|
||||
<if test="createuseird != null">createuseird,</if>
|
||||
<if test="createTime != null">create_time,</if>
|
||||
</trim>
|
||||
<trim prefix="values (" suffix=")" suffixOverrides=",">
|
||||
<if test="faid != null">#{faid},</if>
|
||||
<if test="jsid != null">#{jsid},</if>
|
||||
<if test="status != null">#{status},</if>
|
||||
<if test="xjshr != null">#{xjshr},</if>
|
||||
<if test="xjshyj != null">#{xjshyj},</if>
|
||||
<if test="xjshjy != null">#{xjshjy},</if>
|
||||
<if test="qjshr != null">#{qjshr},</if>
|
||||
<if test="qjshyj != null">#{qjshyj},</if>
|
||||
<if test="qjshjy != null">#{qjshjy},</if>
|
||||
<if test="createuseird != null">#{createuseird},</if>
|
||||
<if test="createTime != null">#{createTime},</if>
|
||||
</trim>
|
||||
</insert>
|
||||
|
||||
<update id="updateTsbzJzxzkhsh" parameterType="TsbzJzxzkhsh">
|
||||
update tsbz_jzxzkhsh
|
||||
<trim prefix="SET" suffixOverrides=",">
|
||||
<if test="faid != null">faid = #{faid},</if>
|
||||
<if test="jsid != null">jsid = #{jsid},</if>
|
||||
<if test="status != null">status = #{status},</if>
|
||||
<if test="xjshr != null">xjshr = #{xjshr},</if>
|
||||
<if test="xjshyj != null">xjshyj = #{xjshyj},</if>
|
||||
<if test="xjshjy != null">xjshjy = #{xjshjy},</if>
|
||||
<if test="qjshr != null">qjshr = #{qjshr},</if>
|
||||
<if test="qjshyj != null">qjshyj = #{qjshyj},</if>
|
||||
<if test="qjshjy != null">qjshjy = #{qjshjy},</if>
|
||||
<if test="createuseird != null">createuseird = #{createuseird},</if>
|
||||
<if test="createTime != null">create_time = #{createTime},</if>
|
||||
</trim>
|
||||
where id = #{id}
|
||||
</update>
|
||||
|
||||
<delete id="deleteTsbzJzxzkhshById" parameterType="Long">
|
||||
delete from tsbz_jzxzkhsh where id = #{id}
|
||||
</delete>
|
||||
|
||||
<delete id="deleteTsbzJzxzkhshByIds" parameterType="String">
|
||||
delete from tsbz_jzxzkhsh where id in
|
||||
<foreach item="id" collection="array" open="(" separator="," close=")">
|
||||
#{id}
|
||||
</foreach>
|
||||
</delete>
|
||||
|
||||
</mapper>
|
Reference in New Issue
Block a user