见习之星考核过程

This commit is contained in:
paidaxing444
2020-08-30 12:44:23 +08:00
parent 5121947a71
commit 4f50af4797
6 changed files with 127 additions and 32 deletions

View File

@ -33,8 +33,8 @@
</resultMap>
<sql id="selectTsbzJxzxkhgcsjVo">
select b.id,b.content,b.createuserid,b.create_time,a.id as zbxid,a.faid,a.khmk,a.khnr,a.tjsl,a.gjzd,a.tbly,a.jkbj,a.starttime,a.endtime,a.zxrw,a.yly,a.yle from tsbz_jxzxkhzbx a
left join tsbz_jxzxkhgcsj b
select b.id,b.content,b.zbid,b.createuserid,a.create_time,a.id as zbxid,a.faid,a.khmk,a.khnr,a.tjsl,a.gjzd,a.tbly,a.jkbj,a.starttime,a.endtime,a.zxrw,a.yly,a.yle from tsbz_jxzxkhzbx a
left join (select * from tsbz_jxzxkhgcsj where createuserid= #{createuserid}) b
on a.faid=b.faid and a.id=b.zbid
</sql>
@ -45,9 +45,10 @@ on a.faid=b.faid and a.id=b.zbid
<if test="zbid != null ">and a.zbid = #{zbid}</if>
<if test="content != null and content != ''">and b.content = #{content}</if>
</where>
order by a.id
</select>
<select id="selectTsbzJxzxkhgcsjById" parameterType="String" resultMap="TsbzJxzxkhgcsjResult">
<select id="selectTsbzJxzxkhgcsjById" parameterType="TsbzJxzxkhgcsj" resultMap="TsbzJxzxkhgcsjResult">
<include refid="selectTsbzJxzxkhgcsjVo"/>
where b.id = #{id}
</select>