|
|
|
@ -111,75 +111,87 @@
|
|
|
|
|
where id = #{id}
|
|
|
|
|
</select>
|
|
|
|
|
|
|
|
|
|
<insert id="insertBEventAccess" parameterType="BEventAccess" useGeneratedKeys="true" keyProperty="id">
|
|
|
|
|
insert into b_event_access
|
|
|
|
|
<trim prefix="(" suffix=")" suffixOverrides=",">
|
|
|
|
|
<if test="innerEventId != null">inner_event_id,</if>
|
|
|
|
|
<if test="areaCode != null">area_code,</if>
|
|
|
|
|
<if test="communityCode != null">community_code,</if>
|
|
|
|
|
<if test="gridCode != null">grid_code,</if>
|
|
|
|
|
<if test="scence != null">scence,</if>
|
|
|
|
|
<if test="title != null">title,</if>
|
|
|
|
|
<if test="content != null">content,</if>
|
|
|
|
|
<if test="eventTime != null">event_time,</if>
|
|
|
|
|
<if test="eventCoordinate != null">event_coordinate,</if>
|
|
|
|
|
<if test="msgType != null">msg_type,</if>
|
|
|
|
|
<if test="msgTypeName != null">msg_type_name,</if>
|
|
|
|
|
<if test="eventUrl != null">event_url,</if>
|
|
|
|
|
<if test="caseStatus != null">case_status,</if>
|
|
|
|
|
<if test="eventCreator != null">event_creator,</if>
|
|
|
|
|
<if test="eventCreatorTel != null">event_creator_tel,</if>
|
|
|
|
|
<if test="eventPlaceName != null">event_place_name,</if>
|
|
|
|
|
<if test="eventDuration != null">event_duration,</if>
|
|
|
|
|
<if test="executeType != null">execute_type,</if>
|
|
|
|
|
<if test="remindStatus != null">remind_status,</if>
|
|
|
|
|
<if test="eventFile != null">event_file,</if>
|
|
|
|
|
<if test="eventLabel != null">event_label,</if>
|
|
|
|
|
<if test="scenceType != null">scence_type,</if>
|
|
|
|
|
<if test="scenceTypename != null">scence_typename,</if>
|
|
|
|
|
<if test="acceptanceTime != null">acceptance_time,</if>
|
|
|
|
|
<if test="dealTimeLimit != null">deal_time_limit,</if>
|
|
|
|
|
<if test="refuseTimeLimit != null">refuse_time_limit,</if>
|
|
|
|
|
<if test="feedbackTime != null">feedback_time,</if>
|
|
|
|
|
<if test="completionTime != null">completion_time,</if>
|
|
|
|
|
<if test="mainOrganizer != null">main_organizer,</if>
|
|
|
|
|
<if test="enforceLawOrganizer != null">enforce_law_organizer,</if>
|
|
|
|
|
<if test="coOrganizer != null">co_organizer,</if>
|
|
|
|
|
</trim>
|
|
|
|
|
<trim prefix="values (" suffix=")" suffixOverrides=",">
|
|
|
|
|
<if test="innerEventId != null">#{innerEventId},</if>
|
|
|
|
|
<if test="areaCode != null">#{areaCode},</if>
|
|
|
|
|
<if test="communityCode != null">#{communityCode},</if>
|
|
|
|
|
<if test="gridCode != null">#{gridCode},</if>
|
|
|
|
|
<if test="scence != null">#{scence},</if>
|
|
|
|
|
<if test="title != null">#{title},</if>
|
|
|
|
|
<if test="content != null">#{content},</if>
|
|
|
|
|
<if test="eventTime != null">#{eventTime},</if>
|
|
|
|
|
<if test="eventCoordinate != null">#{eventCoordinate},</if>
|
|
|
|
|
<if test="msgType != null">#{msgType},</if>
|
|
|
|
|
<if test="msgTypeName != null">#{msgTypeName},</if>
|
|
|
|
|
<if test="eventUrl != null">#{eventUrl},</if>
|
|
|
|
|
<if test="caseStatus != null">#{caseStatus},</if>
|
|
|
|
|
<if test="eventCreator != null">#{eventCreator},</if>
|
|
|
|
|
<if test="eventCreatorTel != null">#{eventCreatorTel},</if>
|
|
|
|
|
<if test="eventPlaceName != null">#{eventPlaceName},</if>
|
|
|
|
|
<if test="eventDuration != null">#{eventDuration},</if>
|
|
|
|
|
<if test="executeType != null">#{executeType},</if>
|
|
|
|
|
<if test="remindStatus != null">#{remindStatus},</if>
|
|
|
|
|
<if test="eventFile != null">#{eventFile},</if>
|
|
|
|
|
<if test="eventLabel != null">#{eventLabel},</if>
|
|
|
|
|
<if test="scenceType != null">#{scenceType},</if>
|
|
|
|
|
<if test="scenceTypename != null">#{scenceTypename},</if>
|
|
|
|
|
<if test="acceptanceTime != null">#{acceptanceTime},</if>
|
|
|
|
|
<if test="dealTimeLimit != null">#{dealTimeLimit},</if>
|
|
|
|
|
<if test="refuseTimeLimit != null">#{refuseTimeLimit},</if>
|
|
|
|
|
<if test="feedbackTime != null">#{feedbackTime},</if>
|
|
|
|
|
<if test="completionTime != null">#{completionTime},</if>
|
|
|
|
|
<if test="mainOrganizer != null">#{mainOrganizer},</if>
|
|
|
|
|
<if test="enforceLawOrganizer != null">#{enforceLawOrganizer},</if>
|
|
|
|
|
<if test="coOrganizer != null">#{coOrganizer},</if>
|
|
|
|
|
</trim>
|
|
|
|
|
</insert>
|
|
|
|
|
<!-- <insert id="insertBEventAccess" parameterType="java.util.List" >-->
|
|
|
|
|
<!-- insert into b_event_access-->
|
|
|
|
|
<!-- (inner_event_id,area_code,community_code,grid_code,scence,title,content,event_time,event_coordinate,msg_type,msg_type_name,event_url-->
|
|
|
|
|
<!-- case_status,event_creator,event_creator_tel,event_place_name,event_duration,execute_type,remind_status,event_file,event_label-->
|
|
|
|
|
<!-- ,scence_type,scence_typename,acceptance_time,deal_time_limit,refuse_time_limit,feedback_time,-->
|
|
|
|
|
<!-- completion_time,main_organizer,enforce_law_organizer,co_organizer)-->
|
|
|
|
|
<!-- values-->
|
|
|
|
|
<!-- <foreach collection="list" item="bEventAccess" index="index" separator=",">-->
|
|
|
|
|
<!-- (#{bEventAccess.innerEventId},#{bEventAccess.areaCode},#{bEventAccess.communityCode},#{bEventAccess.gridCode},#{bEventAccess.scence},#{bEventAccess.title},#{bEventAccess.content},#{bEventAccess.eventTime},#{bEventAccess.eventCoordinate},#{bEventAccess.msgType}-->
|
|
|
|
|
<!-- ,#{bEventAccess.msgTypeName},#{bEventAccess.eventUrl},#{bEventAccess.caseStatus},#{bEventAccess.eventCreator},#{bEventAccess.eventCreatorTel},#{bEventAccess.eventPlaceName},#{bEventAccess.eventDuration},#{bEventAccess.executeType},#{bEventAccess.remindStatus}-->
|
|
|
|
|
<!-- ,#{bEventAccess.eventFile},#{bEventAccess.eventLabel},#{bEventAccess.scenceType},#{bEventAccess.scenceTypename},#{bEventAccess.acceptanceTime},#{bEventAccess.dealTimeLimit},#{bEventAccess.refuseTimeLimit}-->
|
|
|
|
|
<!-- ,#{bEventAccess.feedbackTime},#{bEventAccess.completionTime},#{bEventAccess.mainOrganizer},#{bEventAccess.enforceLawOrganizer},#{bEventAccess.coOrganizer})-->
|
|
|
|
|
|
|
|
|
|
<!-- </foreach>-->
|
|
|
|
|
<!--<!– <trim prefix="(" suffix=")" suffixOverrides=",">–>-->
|
|
|
|
|
<!--<!– <if test="innerEventId != null">inner_event_id,</if>–>-->
|
|
|
|
|
<!--<!– <if test="areaCode != null">area_code,</if>–>-->
|
|
|
|
|
<!--<!– <if test="communityCode != null">community_code,</if>–>-->
|
|
|
|
|
<!--<!– <if test="gridCode != null">grid_code,</if>–>-->
|
|
|
|
|
<!--<!– <if test="scence != null">scence,</if>–>-->
|
|
|
|
|
<!--<!– <if test="title != null">title,</if>–>-->
|
|
|
|
|
<!--<!– <if test="content != null">content,</if>–>-->
|
|
|
|
|
<!--<!– <if test="eventTime != null">event_time,</if>–>-->
|
|
|
|
|
<!--<!– <if test="eventCoordinate != null">event_coordinate,</if>–>-->
|
|
|
|
|
<!--<!– <if test="msgType != null">msg_type,</if>–>-->
|
|
|
|
|
<!--<!– <if test="msgTypeName != null">msg_type_name,</if>–>-->
|
|
|
|
|
<!--<!– <if test="eventUrl != null">event_url,</if>–>-->
|
|
|
|
|
<!--<!– <if test="caseStatus != null">case_status,</if>–>-->
|
|
|
|
|
<!--<!– <if test="eventCreator != null">event_creator,</if>–>-->
|
|
|
|
|
<!--<!– <if test="eventCreatorTel != null">event_creator_tel,</if>–>-->
|
|
|
|
|
<!--<!– <if test="eventPlaceName != null">event_place_name,</if>–>-->
|
|
|
|
|
<!--<!– <if test="eventDuration != null">event_duration,</if>–>-->
|
|
|
|
|
<!--<!– <if test="executeType != null">execute_type,</if>–>-->
|
|
|
|
|
<!--<!– <if test="remindStatus != null">remind_status,</if>–>-->
|
|
|
|
|
<!--<!– <if test="eventFile != null">event_file,</if>–>-->
|
|
|
|
|
<!--<!– <if test="eventLabel != null">event_label,</if>–>-->
|
|
|
|
|
<!--<!– <if test="scenceType != null">scence_type,</if>–>-->
|
|
|
|
|
<!--<!– <if test="scenceTypename != null">scence_typename,</if>–>-->
|
|
|
|
|
<!--<!– <if test="acceptanceTime != null">acceptance_time,</if>–>-->
|
|
|
|
|
<!--<!– <if test="dealTimeLimit != null">deal_time_limit,</if>–>-->
|
|
|
|
|
<!--<!– <if test="refuseTimeLimit != null">refuse_time_limit,</if>–>-->
|
|
|
|
|
<!--<!– <if test="feedbackTime != null">feedback_time,</if>–>-->
|
|
|
|
|
<!--<!– <if test="completionTime != null">completion_time,</if>–>-->
|
|
|
|
|
<!--<!– <if test="mainOrganizer != null">main_organizer,</if>–>-->
|
|
|
|
|
<!--<!– <if test="enforceLawOrganizer != null">enforce_law_organizer,</if>–>-->
|
|
|
|
|
<!--<!– <if test="coOrganizer != null">co_organizer,</if>–>-->
|
|
|
|
|
<!--<!– </trim>–>-->
|
|
|
|
|
<!--<!– <trim prefix="values (" suffix=")" suffixOverrides=",">–>-->
|
|
|
|
|
<!--<!– <if test="innerEventId != null">#{innerEventId},</if>–>-->
|
|
|
|
|
<!--<!– <if test="areaCode != null">#{areaCode},</if>–>-->
|
|
|
|
|
<!--<!– <if test="communityCode != null">#{communityCode},</if>–>-->
|
|
|
|
|
<!--<!– <if test="gridCode != null">#{gridCode},</if>–>-->
|
|
|
|
|
<!--<!– <if test="scence != null">#{scence},</if>–>-->
|
|
|
|
|
<!--<!– <if test="title != null">#{title},</if>–>-->
|
|
|
|
|
<!--<!– <if test="content != null">#{content},</if>–>-->
|
|
|
|
|
<!--<!– <if test="eventTime != null">#{eventTime},</if>–>-->
|
|
|
|
|
<!--<!– <if test="eventCoordinate != null">#{eventCoordinate},</if>–>-->
|
|
|
|
|
<!--<!– <if test="msgType != null">#{msgType},</if>–>-->
|
|
|
|
|
<!--<!– <if test="msgTypeName != null">#{msgTypeName},</if>–>-->
|
|
|
|
|
<!--<!– <if test="eventUrl != null">#{eventUrl},</if>–>-->
|
|
|
|
|
<!--<!– <if test="caseStatus != null">#{caseStatus},</if>–>-->
|
|
|
|
|
<!--<!– <if test="eventCreator != null">#{eventCreator},</if>–>-->
|
|
|
|
|
<!--<!– <if test="eventCreatorTel != null">#{eventCreatorTel},</if>–>-->
|
|
|
|
|
<!--<!– <if test="eventPlaceName != null">#{eventPlaceName},</if>–>-->
|
|
|
|
|
<!--<!– <if test="eventDuration != null">#{eventDuration},</if>–>-->
|
|
|
|
|
<!--<!– <if test="executeType != null">#{executeType},</if>–>-->
|
|
|
|
|
<!--<!– <if test="remindStatus != null">#{remindStatus},</if>–>-->
|
|
|
|
|
<!--<!– <if test="eventFile != null">#{eventFile},</if>–>-->
|
|
|
|
|
<!--<!– <if test="eventLabel != null">#{eventLabel},</if>–>-->
|
|
|
|
|
<!--<!– <if test="scenceType != null">#{scenceType},</if>–>-->
|
|
|
|
|
<!--<!– <if test="scenceTypename != null">#{scenceTypename},</if>–>-->
|
|
|
|
|
<!--<!– <if test="acceptanceTime != null">#{acceptanceTime},</if>–>-->
|
|
|
|
|
<!--<!– <if test="dealTimeLimit != null">#{dealTimeLimit},</if>–>-->
|
|
|
|
|
<!--<!– <if test="refuseTimeLimit != null">#{refuseTimeLimit},</if>–>-->
|
|
|
|
|
<!--<!– <if test="feedbackTime != null">#{feedbackTime},</if>–>-->
|
|
|
|
|
<!--<!– <if test="completionTime != null">#{completionTime},</if>–>-->
|
|
|
|
|
<!--<!– <if test="mainOrganizer != null">#{mainOrganizer},</if>–>-->
|
|
|
|
|
<!--<!– <if test="enforceLawOrganizer != null">#{enforceLawOrganizer},</if>–>-->
|
|
|
|
|
<!--<!– <if test="coOrganizer != null">#{coOrganizer},</if>–>-->
|
|
|
|
|
<!--<!– </trim>–>-->
|
|
|
|
|
<!-- </insert>-->
|
|
|
|
|
|
|
|
|
|
<update id="updateBEventAccess" parameterType="BEventAccess">
|
|
|
|
|
update b_event_access
|
|
|
|
|