| 
					
				 | 
			
			
				@@ -18,10 +18,11 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         <result property="payCallbackPage"    column="pay_callback_page"    /> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         <result property="wsPrintFlag"    column="ws_print_flag"    /> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         <result property="printSetting"    column="print_setting"    /> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        <result property="discountSetting"    column="discount_setting"    /> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     </resultMap> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     <sql id="selectStationPayVo"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        select pay_id, pay_mode, station_id, station_name, image_photos_flag, card_enabled_flag, activity_pic, preferential_way_share_flag, other_preferential_way, pay_print_num, pay_callback_page, ws_print_flag, print_setting from station_pay 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        select pay_id, pay_mode, station_id, station_name, image_photos_flag, card_enabled_flag, activity_pic, preferential_way_share_flag, other_preferential_way, pay_print_num, pay_callback_page, ws_print_flag, print_setting, discount_setting from station_pay 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     </sql> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     <select id="selectStationPayList" parameterType="StationPay" resultMap="StationPayResult"> 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -39,6 +40,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             <if test="payCallbackPage != null  and payCallbackPage != ''"> and pay_callback_page = #{payCallbackPage}</if> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             <if test="wsPrintFlag != null  and wsPrintFlag != ''"> and ws_print_flag = #{wsPrintFlag}</if> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             <if test="printSetting != null  and printSetting != ''"> and print_setting = #{printSetting}</if> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            <if test="discountSetting != null  and discountSetting != ''"> and discount_setting = #{discountSetting}</if> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         </where> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     </select> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				      
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -62,6 +64,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             <if test="payCallbackPage != null">pay_callback_page,</if> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             <if test="wsPrintFlag != null">ws_print_flag,</if> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             <if test="printSetting != null">print_setting,</if> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            <if test="discountSetting != null">discount_setting,</if> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				          </trim> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         <trim prefix="values (" suffix=")" suffixOverrides=","> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             <if test="payMode != null">#{payMode},</if> 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -76,6 +79,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             <if test="payCallbackPage != null">#{payCallbackPage},</if> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             <if test="wsPrintFlag != null">#{wsPrintFlag},</if> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             <if test="printSetting != null">#{printSetting},</if> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            <if test="discountSetting != null">#{discountSetting},</if> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				          </trim> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     </insert> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -94,6 +98,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             <if test="payCallbackPage != null">pay_callback_page = #{payCallbackPage},</if> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             <if test="wsPrintFlag != null">ws_print_flag = #{wsPrintFlag},</if> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             <if test="printSetting != null">print_setting = #{printSetting},</if> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            <if test="discountSetting != null">discount_setting = #{discountSetting},</if> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         </trim> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         where pay_id = #{payId} 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     </update> 
			 |