|
@@ -2,9 +2,9 @@
|
|
<!DOCTYPE mapper
|
|
<!DOCTYPE mapper
|
|
PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
"http://mybatis.org/dtd/mybatis-3-mapper.dtd">
|
|
"http://mybatis.org/dtd/mybatis-3-mapper.dtd">
|
|
-<mapper namespace="com.ruoyi.branch.mapper.TBranchMeetingMgrMapper">
|
|
|
|
|
|
+<mapper namespace="com.ruoyi.branch.mapper.TBranchMeetingMapper">
|
|
|
|
|
|
- <resultMap type="TBranchMeetingMgr" id="TBranchMeetingMgrResult">
|
|
|
|
|
|
+ <resultMap type="TBranchMeeting" id="TBranchMeetingMgrResult">
|
|
<result property="meetingId" column="meeting_id" />
|
|
<result property="meetingId" column="meeting_id" />
|
|
<result property="meetingType" column="meeting_type" />
|
|
<result property="meetingType" column="meeting_type" />
|
|
<result property="meetingTime" column="meeting_time" />
|
|
<result property="meetingTime" column="meeting_time" />
|
|
@@ -45,11 +45,11 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
u.update_by,
|
|
u.update_by,
|
|
u.update_time,
|
|
u.update_time,
|
|
u.dept_id
|
|
u.dept_id
|
|
- from t_branch_meeting_mgr u
|
|
|
|
|
|
+ from T_BRANCH_MEETING u
|
|
left join sys_dept d on u.dept_id = d.dept_id
|
|
left join sys_dept d on u.dept_id = d.dept_id
|
|
</sql>
|
|
</sql>
|
|
|
|
|
|
- <select id="selectTBranchMeetingMgrList" parameterType="TBranchMeetingMgr" resultMap="TBranchMeetingMgrResult">
|
|
|
|
|
|
+ <select id="selectTBranchMeetingMgrList" parameterType="TBranchMeeting" resultMap="TBranchMeetingMgrResult">
|
|
<include refid="selectTBranchMeetingMgrVo"/>
|
|
<include refid="selectTBranchMeetingMgrVo"/>
|
|
<where>
|
|
<where>
|
|
<if test="meetingId != null "> and u.meeting_id = #{meetingId}</if>
|
|
<if test="meetingId != null "> and u.meeting_id = #{meetingId}</if>
|
|
@@ -80,11 +80,11 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
and u.del_flag = 0
|
|
and u.del_flag = 0
|
|
</select>
|
|
</select>
|
|
|
|
|
|
- <insert id="insertTBranchMeetingMgr" parameterType="TBranchMeetingMgr">
|
|
|
|
|
|
+ <insert id="insertTBranchMeetingMgr" parameterType="TBranchMeeting">
|
|
<selectKey keyProperty="meetingId" resultType="long" order="BEFORE">
|
|
<selectKey keyProperty="meetingId" resultType="long" order="BEFORE">
|
|
- SELECT seq_t_branch_meeting_mgr.NEXTVAL as meetingId FROM DUAL
|
|
|
|
|
|
+ SELECT seq_t_branch_meeting.NEXTVAL as meetingId FROM DUAL
|
|
</selectKey>
|
|
</selectKey>
|
|
- insert into t_branch_meeting_mgr
|
|
|
|
|
|
+ insert into t_branch_meeting
|
|
<trim prefix="(" suffix=")" suffixOverrides=",">
|
|
<trim prefix="(" suffix=")" suffixOverrides=",">
|
|
<if test="meetingId != null">meeting_id,</if>
|
|
<if test="meetingId != null">meeting_id,</if>
|
|
<if test="meetingType != null">meeting_type,</if>
|
|
<if test="meetingType != null">meeting_type,</if>
|
|
@@ -127,8 +127,8 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
</trim>
|
|
</trim>
|
|
</insert>
|
|
</insert>
|
|
|
|
|
|
- <update id="updateTBranchMeetingMgr" parameterType="TBranchMeetingMgr">
|
|
|
|
- update t_branch_meeting_mgr
|
|
|
|
|
|
+ <update id="updateTBranchMeetingMgr" parameterType="TBranchMeeting">
|
|
|
|
+ update T_BRANCH_MEETING
|
|
<trim prefix="SET" suffixOverrides=",">
|
|
<trim prefix="SET" suffixOverrides=",">
|
|
<if test="meetingType != null">meeting_type = #{meetingType},</if>
|
|
<if test="meetingType != null">meeting_type = #{meetingType},</if>
|
|
<if test="meetingTime != null">meeting_time = #{meetingTime},</if>
|
|
<if test="meetingTime != null">meeting_time = #{meetingTime},</if>
|
|
@@ -152,11 +152,11 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
</update>
|
|
</update>
|
|
|
|
|
|
<delete id="deleteTBranchMeetingMgrByMeetingId" parameterType="Long">
|
|
<delete id="deleteTBranchMeetingMgrByMeetingId" parameterType="Long">
|
|
- update t_branch_meeting_mgr set del_flag = 2 where meeting_id = #{meetingId}
|
|
|
|
|
|
+ update T_BRANCH_MEETING set del_flag = 2 where meeting_id = #{meetingId}
|
|
</delete>
|
|
</delete>
|
|
|
|
|
|
<delete id="deleteTBranchMeetingMgrByMeetingIds" parameterType="String">
|
|
<delete id="deleteTBranchMeetingMgrByMeetingIds" parameterType="String">
|
|
- update t_branch_meeting_mgr set del_flag = 2 where meeting_id in
|
|
|
|
|
|
+ update T_BRANCH_MEETING set del_flag = 2 where meeting_id in
|
|
<foreach item="meetingId" collection="array" open="(" separator="," close=")">
|
|
<foreach item="meetingId" collection="array" open="(" separator="," close=")">
|
|
#{meetingId}
|
|
#{meetingId}
|
|
</foreach>
|
|
</foreach>
|