|
@@ -21,11 +21,12 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
<result property="remarks" column="remarks" />
|
|
|
<result property="meetingId" column="meeting_id" />
|
|
|
<result property="isHis" column="is_his" />
|
|
|
+ <result property="isPerson" column="is_person" />
|
|
|
<result property="deptName" column="dept_name" />
|
|
|
</resultMap>
|
|
|
|
|
|
<sql id="selectTMtActionlistVo">
|
|
|
- select d.id, d.plant_code, d.responsible, d.action, d.deadline, d.status, d.inputdate, d.del_flag, d.creater_code, d.createdate, d.updater_code, d.updatedate, d.dept_id, d.remarks, d.meeting_id, d.is_his ,s.dept_name from t_mt_actionlist d
|
|
|
+ select d.id, d.plant_code,d.is_person, d.responsible, d.action, d.deadline, d.status, d.inputdate, d.del_flag, d.creater_code, d.createdate, d.updater_code, d.updatedate, d.dept_id, d.remarks, d.meeting_id, d.is_his ,s.dept_name from t_mt_actionlist d
|
|
|
left join sys_dept s on s.dept_id = d.dept_id
|
|
|
</sql>
|
|
|
|
|
@@ -81,6 +82,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
<if test="remarks != null">remarks,</if>
|
|
|
<if test="meetingId != null">meeting_id,</if>
|
|
|
<if test="isHis != null">is_his,</if>
|
|
|
+ <if test="isPerson != null">is_person,</if>
|
|
|
</trim>
|
|
|
<trim prefix="values (" suffix=")" suffixOverrides=",">
|
|
|
<if test="id != null">#{id},</if>
|
|
@@ -99,6 +101,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
<if test="remarks != null">#{remarks},</if>
|
|
|
<if test="meetingId != null">#{meetingId},</if>
|
|
|
<if test="isHis != null">#{isHis},</if>
|
|
|
+ <if test="isPerson != null">#{isPerson},</if>
|
|
|
</trim>
|
|
|
</insert>
|
|
|
|
|
@@ -120,6 +123,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
<if test="remarks != null">remarks = #{remarks},</if>
|
|
|
<if test="meetingId != null">meeting_id = #{meetingId},</if>
|
|
|
<if test="isHis != null">is_his = #{isHis},</if>
|
|
|
+ <if test="isPerson != null">is_person = #{isPerson},</if>
|
|
|
</trim>
|
|
|
where id = #{id}
|
|
|
</update>
|