见习之星考核过程
This commit is contained in:
@ -14,10 +14,10 @@ public interface TsbzJxzxkhgcsjMapper {
|
||||
/**
|
||||
* 查询考核过程数据
|
||||
*
|
||||
* @param id 考核过程数据ID
|
||||
* @param tsbzJxzxkhgcsj 考核过程数据ID
|
||||
* @return 考核过程数据
|
||||
*/
|
||||
public TsbzJxzxkhgcsj selectTsbzJxzxkhgcsjById(String id);
|
||||
public TsbzJxzxkhgcsj selectTsbzJxzxkhgcsjById(TsbzJxzxkhgcsj tsbzJxzxkhgcsj);
|
||||
|
||||
/**
|
||||
* 查询考核过程数据列表
|
||||
|
@ -14,10 +14,10 @@ public interface ITsbzJxzxkhgcsjService {
|
||||
/**
|
||||
* 查询考核过程数据
|
||||
*
|
||||
* @param id 考核过程数据ID
|
||||
* @param tsbzJxzxkhgcsj 考核过程数据ID
|
||||
* @return 考核过程数据
|
||||
*/
|
||||
public TsbzJxzxkhgcsj selectTsbzJxzxkhgcsjById(String id);
|
||||
public TsbzJxzxkhgcsj selectTsbzJxzxkhgcsjById(TsbzJxzxkhgcsj tsbzJxzxkhgcsj);
|
||||
|
||||
/**
|
||||
* 查询考核过程数据列表
|
||||
|
@ -23,12 +23,12 @@ public class TsbzJxzxkhgcsjServiceImpl implements ITsbzJxzxkhgcsjService {
|
||||
/**
|
||||
* 查询考核过程数据
|
||||
*
|
||||
* @param id 考核过程数据ID
|
||||
* @param tsbzJxzxkhgcsj 考核过程数据ID
|
||||
* @return 考核过程数据
|
||||
*/
|
||||
@Override
|
||||
public TsbzJxzxkhgcsj selectTsbzJxzxkhgcsjById(String id) {
|
||||
return tsbzJxzxkhgcsjMapper.selectTsbzJxzxkhgcsjById(id);
|
||||
public TsbzJxzxkhgcsj selectTsbzJxzxkhgcsjById(TsbzJxzxkhgcsj tsbzJxzxkhgcsj) {
|
||||
return tsbzJxzxkhgcsjMapper.selectTsbzJxzxkhgcsjById(tsbzJxzxkhgcsj);
|
||||
}
|
||||
|
||||
/**
|
||||
|
@ -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>
|
||||
|
Reference in New Issue
Block a user