Compare commits

..

No commits in common. '8ed98775f703d4025939dae3a65f12f3bf49bbfe' and '33e59606202c187bbb5984cbb8ffd0f9ffb2a8bc' have entirely different histories.

@ -98,19 +98,6 @@ public class TdTrain extends BaseEntity
@Excel(name = "培训评价")
private String TRAININFO;
public Long getDeptId() {
return deptId;
}
public void setDeptId(Long deptId) {
this.deptId = deptId;
}
/**
*
*/
private Long deptId;
public void setID(Long ID)
{
this.ID = ID;
@ -315,7 +302,6 @@ public class TdTrain extends BaseEntity
.append("trainTimeend", getTrainTimeend())
.append("PART", getPART())
.append("TRAININFO", getTRAININFO())
.append("deptId", getDeptId())
.toString();
}
}

@ -25,11 +25,10 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<result property="trainTimeend" column="TRAIN_TIMEEND" />
<result property="PART" column="PART" />
<result property="TRAININFO" column="TRAININFO" />
<result property="deptId" column="dept_id" jdbcType="INTEGER"/>
</resultMap>
<sql id="selectTdTrainVo">
select ID, USERNAME, DEPT_NAME, TRAIN_TYPE, TRAIN_SUBJECT, TRAIN_ADDRESS, TRAIN_DATE, CREATE_STAFFID, CREATE_DEPARTID, CREATE_DATE, UPDATE_DEPARTID, UPDATE_STAFFID, UPDATE_DATE, AREAID, FRAMEWORK, TRAIN_NAME, TRAIN_STATE, TRAIN_TIMEEND, PART, TRAININFO,dept_id from td_train
select ID, USERNAME, DEPT_NAME, TRAIN_TYPE, TRAIN_SUBJECT, TRAIN_ADDRESS, TRAIN_DATE, CREATE_STAFFID, CREATE_DEPARTID, CREATE_DATE, UPDATE_DEPARTID, UPDATE_STAFFID, UPDATE_DATE, AREAID, FRAMEWORK, TRAIN_NAME, TRAIN_STATE, TRAIN_TIMEEND, PART, TRAININFO from td_train
</sql>
<select id="selectTdTrainList" parameterType="TdTrain" resultMap="TdTrainResult">
@ -54,7 +53,6 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<if test="trainTimeend != null "> and TRAIN_TIMEEND = #{trainTimeend}</if>
<if test="PART != null and PART != ''"> and PART = #{PART}</if>
<if test="TRAININFO != null and TRAININFO != ''"> and TRAININFO = #{TRAININFO}</if>
<if test="deptId != null and deptId != ''"> and dept_id = #{deptId}</if>
</where>
order by CREATE_DATE desc
</select>
@ -86,7 +84,6 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<if test="trainTimeend != null">TRAIN_TIMEEND,</if>
<if test="PART != null">PART,</if>
<if test="TRAININFO != null">TRAININFO,</if>
<if test="deptId != null">dept_id,</if>
</trim>
<trim prefix="values (" suffix=")" suffixOverrides=",">
<if test="USERNAME != null">#{USERNAME},</if>
@ -108,7 +105,6 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<if test="trainTimeend != null">#{trainTimeend},</if>
<if test="PART != null">#{PART},</if>
<if test="TRAININFO != null">#{TRAININFO},</if>
<if test="deptId != null">#{deptId},</if>
</trim>
</insert>
@ -134,7 +130,6 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<if test="trainTimeend != null">TRAIN_TIMEEND = #{trainTimeend},</if>
<if test="PART != null">PART = #{PART},</if>
<if test="TRAININFO != null">TRAININFO = #{TRAININFO},</if>
<if test="deptId != null">dept_id = #{deptId},</if>
</trim>
where ID = #{ID}
</update>

Loading…
Cancel
Save