|
@@ -23,10 +23,11 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
<result property="hour" column="duration" />
|
|
<result property="hour" column="duration" />
|
|
<result property="year" column="years" />
|
|
<result property="year" column="years" />
|
|
<result property="supplementary" column="supplementary" />
|
|
<result property="supplementary" column="supplementary" />
|
|
|
|
+ <result property="trainingType" column="training_type" />
|
|
</resultMap>
|
|
</resultMap>
|
|
|
|
|
|
<sql id="selectTTrainingDeviceVo">
|
|
<sql id="selectTTrainingDeviceVo">
|
|
- select d.id, s.name, t.courseid, t.course, t.course_startdate, t.trainer, t.duration, t.years, d.staff_id, d.regular_id, d.start_date, d.remarks, d.del_flag, d.creater_code, d.createdate, d.updater_code, d.updatedate, d.supplementary from t_training_device d
|
|
|
|
|
|
+ select d.id, t.training_type, s.name, t.courseid, t.course, t.course_startdate, t.trainer, t.duration, t.years, d.staff_id, d.regular_id, d.start_date, d.remarks, d.del_flag, d.creater_code, d.createdate, d.updater_code, d.updatedate, d.supplementary from t_training_device d
|
|
left join t_training t on t.id = d.regular_id
|
|
left join t_training t on t.id = d.regular_id
|
|
left join t_staffmgr s on s.staffid = t.trainer
|
|
left join t_staffmgr s on s.staffid = t.trainer
|
|
</sql>
|
|
</sql>
|