| 
					
				 | 
			
			
				@@ -4,7 +4,7 @@ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 这个文件是自动生成的。 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 不要修改此文件。所有改动将在下次重新自动生成时丢失。 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 --> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-<mapper namespace="com.ym.mec.web.dal.dao.SysNewsInformationDao"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+<mapper namespace="com.ym.mec.cms.dal.dao.SysNewsInformationDao"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 	 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 	<resultMap type="com.ym.mec.cms.dal.entity.SysNewsInformation" id="SysNewsInformation"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 		<result column="id_" property="id" /> 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -12,7 +12,7 @@ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 		<result column="content_" property="content" /> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 		<result column="cover_image_" property="coverImage" /> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 		<result column="type_" property="type" /> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-		<result column="status_" property="status" /> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+		<result column="status_" property="status" typeHandler="com.ym.mec.common.dal.CustomEnumTypeHandler" /> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 		<result column="create_time_" property="createTime" /> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 		<result column="update_time_" property="updateTime" /> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 	</resultMap> 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -23,7 +23,7 @@ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 				and type_ = #{type} 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 			</if> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 			<if test="status != null"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-				and status_ = #{status} 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+				and status_ = #{status, typeHandler=com.ym.mec.common.dal.CustomEnumTypeHandler} 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 			</if> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 			<if test="title != null"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 				and title_ like '%' #{title} '%' 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -48,7 +48,7 @@ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 		SELECT SEQ_WSDEFINITION_ID.nextval AS ID FROM DUAL  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 		</selectKey> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 		--> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-		INSERT INTO sys_news_information (id_,title_,content_,cover_image_,type_,status_,create_time_,update_time_) VALUES(#{id},#{title},#{content},#{coverImage},#{type},#{status},#{createTime},#{updateTime}) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+		INSERT INTO sys_news_information (id_,title_,content_,cover_image_,type_,status_,create_time_,update_time_) VALUES(#{id},#{title},#{content},#{coverImage},#{type},#{status, typeHandler=com.ym.mec.common.dal.CustomEnumTypeHandler},#{createTime},#{updateTime}) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 	</insert> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 	 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 	<!-- 根据主键查询一条记录 --> 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -56,7 +56,7 @@ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 		UPDATE sys_news_information 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 		<set> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 			<if test="status != null"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-				status_ = #{status}, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+				status_ = #{status, typeHandler=com.ym.mec.common.dal.CustomEnumTypeHandler}, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 			</if> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 			<if test="id != null"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 				id_ = #{id}, 
			 |