| 
					
				 | 
			
			
				@@ -10,6 +10,7 @@ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         <result column="change_event" property="changeEvent" /> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         <result column="change_id" property="changeId" /> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         <result column="statement_id" property="statementId" /> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        <result column="resend_status" property="resendStatus" /> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         <result column="modify_time" property="modifyTime" /> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         <result column="create_time" property="createTime" /> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     </resultMap> 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -37,26 +38,32 @@ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     </select> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     <insert id="save" parameterType="com.kmall.admin.entity.haikong.HaiKongMemberScoreChangeRecordEntity" useGeneratedKeys="true" keyProperty="id"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        insert into haikong_member_score_change_record( 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        `open_id`, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        `score`, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        `out_biz_no`, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        `change_reason`, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        `change_event`, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        `change_id`, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        `statement_id`, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        `modify_time`, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        `create_time`) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        values( 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        #{openId}, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        #{score}, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        #{outBizNo}, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        #{changeReason}, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        #{changeId}, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        #{changeEvent}, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        #{statementId}, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        #{modifyTime}, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        #{createTime} 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        insert into haikong_member_score_change_record 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        ( 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            `open_id`, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            `score`, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            `out_biz_no`, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            `change_reason`, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            `change_event`, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            `change_id`, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            `statement_id`, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            `resend_status`, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            `modify_time`, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            `create_time` 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        ) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        values 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        ( 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            #{openId}, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            #{score}, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            #{outBizNo}, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            #{changeReason}, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            #{changeEvent}, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            #{changeId}, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            #{statementId}, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            #{resendStatus}, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            #{modifyTime}, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            #{createTime} 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        ) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     </insert> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     <update id="updateByOutBizNo" parameterType="com.kmall.admin.entity.haikong.HaiKongMemberScoreChangeRecordEntity"> 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -69,6 +76,7 @@ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             <if test="changeId != null">`change_id` = #{changeId}, </if> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             <if test="changeEvent != null">`change_event` = #{changeEvent}, </if> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             <if test="statementId != null">`statement_id` = #{statementId}, </if> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            <if test="resendStatus != null">`resend_status` = #{resendStatus}, </if> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             <if test="modifyTime != null">`modify_time` = #{modifyTime}</if> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             <if test="createTime != null">`create_time` = #{createTime}</if> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         </set> 
			 |