|
@@ -15,6 +15,8 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
<result property="place" column="place" />
|
|
|
<result property="promoter" column="promoter" />
|
|
|
<result property="participants" column="participants" />
|
|
|
+ <result property="promoterId" column="promoter_id" />
|
|
|
+ <result property="participantsId" column="participants_id" />
|
|
|
<result property="delFlag" column="del_flag" />
|
|
|
<result property="createBy" column="create_by" />
|
|
|
<result property="createTime" column="create_time" />
|
|
@@ -34,7 +36,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
</resultMap>
|
|
|
|
|
|
<sql id="selectTProjectMeetingVo">
|
|
|
- select a.id, a.meeting_theme, a.meeting_code, a.meeting_type, a.project_pool_id, a.start_time, a.end_time, a.place, a.promoter, a.participants, a.del_flag, a.create_by, a.create_time, a.update_by, a.update_time,
|
|
|
+ select a.id, a.meeting_theme, a.meeting_code, a.meeting_type, a.project_pool_id, a.start_time, a.end_time, a.place, a.promoter, a.participants, a.promoter_id, a.participants_id,a.del_flag, a.create_by, a.create_time, a.update_by, a.update_time,
|
|
|
b.project_name, b.project_stage, b.project_state, b.project_group ,b.project_code
|
|
|
from t_project_meeting a
|
|
|
left join t_project_pool b ON a.project_pool_id = b.id
|
|
@@ -44,6 +46,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
<include refid="selectTProjectMeetingVo"/>
|
|
|
<where>
|
|
|
a.del_flag = 0
|
|
|
+ <if test="projectPoolId != null and projectPoolId != ''"> and a.project_pool_id = #{projectPoolId}</if>
|
|
|
<if test="meetingTheme != null and meetingTheme != ''"> and a.meeting_theme = #{meetingTheme}</if>
|
|
|
<if test="meetingCode != null and meetingCode != ''"> and a.meeting_code = #{meetingCode}</if>
|
|
|
<if test="meetingType != null and meetingType != ''"> and a.meeting_type = #{meetingType}</if>
|
|
@@ -70,6 +73,8 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
<if test="place != null">place,</if>
|
|
|
<if test="promoter != null">promoter,</if>
|
|
|
<if test="participants != null">participants,</if>
|
|
|
+ <if test="promoterId != null">promoter_id,</if>
|
|
|
+ <if test="participantsId != null">participants_id,</if>
|
|
|
<if test="delFlag != null">del_flag,</if>
|
|
|
<if test="createBy != null">create_by,</if>
|
|
|
<if test="createTime != null">create_time,</if>
|
|
@@ -87,6 +92,8 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
<if test="place != null">#{place},</if>
|
|
|
<if test="promoter != null">#{promoter},</if>
|
|
|
<if test="participants != null">#{participants},</if>
|
|
|
+ <if test="promoterId != null">#{promoterId},</if>
|
|
|
+ <if test="participantsId != null">#{participantsId},</if>
|
|
|
<if test="delFlag != null">#{delFlag},</if>
|
|
|
<if test="createBy != null">#{createBy},</if>
|
|
|
<if test="createTime != null">#{createTime},</if>
|
|
@@ -107,6 +114,8 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
<if test="place != null">place = #{place},</if>
|
|
|
<if test="promoter != null">promoter = #{promoter},</if>
|
|
|
<if test="participants != null">participants = #{participants},</if>
|
|
|
+ <if test="promoterId != null">promoter_id = #{promoterId},</if>
|
|
|
+ <if test="participantsId != null">participants_id = #{participantsId},</if>
|
|
|
<if test="delFlag != null">del_flag = #{delFlag},</if>
|
|
|
<if test="createBy != null">create_by = #{createBy},</if>
|
|
|
<if test="createTime != null">create_time = #{createTime},</if>
|