|  | @@ -19,6 +19,8 @@
 | 
	
		
			
				|  |  |          <result column="login_flag_" property="loginFlag"/>
 | 
	
		
			
				|  |  |          <result column="commit_type_" property="commitType"/>
 | 
	
		
			
				|  |  |          <result column="template_type_" property="templateType"/>
 | 
	
		
			
				|  |  | +        <result column="share_title_" property="shareTitle"/>
 | 
	
		
			
				|  |  | +        <result column="share_describe_" property="shareDescribe"/>
 | 
	
		
			
				|  |  |  	</resultMap>
 | 
	
		
			
				|  |  |  	
 | 
	
		
			
				|  |  |  	<!-- 根据主键查询一条记录 -->
 | 
	
	
		
			
				|  | @@ -34,8 +36,8 @@
 | 
	
		
			
				|  |  |  	<!-- 向数据库增加一条记录 -->
 | 
	
		
			
				|  |  |  	<insert id="insert" parameterType="com.ym.mec.biz.dal.entity.QuestionnaireTopic" useGeneratedKeys="true" keyColumn="id" keyProperty="id">
 | 
	
		
			
				|  |  |  		INSERT INTO questionnaire_topic (title_,status_,creator_id_,create_time_,
 | 
	
		
			
				|  |  | -		update_time_,again_commit_flag_,tenant_id_,login_flag_,commit_type_,template_type_)
 | 
	
		
			
				|  |  | -		VALUES(#{title},#{status},#{creatorId},NOW(),NOW(),#{againCommitFlag},#{tenantId},#{loginFlag},#{commitType},#{templateType})
 | 
	
		
			
				|  |  | +		update_time_,again_commit_flag_,tenant_id_,login_flag_,commit_type_,template_type_,share_title_,share_describe_)
 | 
	
		
			
				|  |  | +		VALUES(#{title},#{status},#{creatorId},NOW(),NOW(),#{againCommitFlag},#{tenantId},#{loginFlag},#{commitType},#{templateType},#{shareTitle},#{shareDescribe})
 | 
	
		
			
				|  |  |  	</insert>
 | 
	
		
			
				|  |  |  	
 | 
	
		
			
				|  |  |  	<!-- 根据主键查询一条记录 -->
 | 
	
	
		
			
				|  | @@ -62,6 +64,12 @@
 | 
	
		
			
				|  |  |  		<if test="title != null">
 | 
	
		
			
				|  |  |  			title_ = #{title},
 | 
	
		
			
				|  |  |  		</if>
 | 
	
		
			
				|  |  | +		<if test="shareTitle != null">
 | 
	
		
			
				|  |  | +			share_title_ = #{shareTitle},
 | 
	
		
			
				|  |  | +		</if>
 | 
	
		
			
				|  |  | +		<if test="shareDescribe != null">
 | 
	
		
			
				|  |  | +			share_describe_ = #{shareDescribe},
 | 
	
		
			
				|  |  | +		</if>
 | 
	
		
			
				|  |  |  		<if test="updateTime != null">
 | 
	
		
			
				|  |  |  			update_time_ = #{updateTime},
 | 
	
		
			
				|  |  |  		</if>
 |