activity_id, activity_name, start_time, end_time, auto_receive, auto_status, receive_count, amount, app_user_list, com_user_list, cus_user_list, tenant_id, `status`, del_flag, create_by, create_time, update_by, update_time, check_by, check_time update xhpc_activity_cash set del_flag=2 where activity_id = #{activityId,jdbcType=INTEGER} delete from xhpc_activity_cash where activity_id = #{activityId,jdbcType=INTEGER} insert into xhpc_activity_cash (start_time, end_time, amount, receive_count, auto_receive, auto_status, app_user_list, com_user_list, cus_user_list, tenant_id, `status`, del_flag, create_by, create_time, update_by, update_time, check_by, check_time ) values (#{startTime,jdbcType=TIMESTAMP}, #{endTime,jdbcType=TIMESTAMP}, #{amount,jdbcType=DECIMAL}, 0, #{autoReceive}, 0, #{appUserList,jdbcType=VARCHAR}, #{comUserList,jdbcType=VARCHAR}, #{cusUserList,jdbcType=VARCHAR}, #{tenantId,jdbcType=VARCHAR}, 1, 0, #{createBy,jdbcType=VARCHAR}, sysdate(), #{updateBy,jdbcType=VARCHAR}, sysdate(), null, null ) update xhpc_activity_cash set start_time = #{startTime,jdbcType=TIMESTAMP}, end_time = #{endTime,jdbcType=TIMESTAMP}, auto_receive=#{autoReceive}, amount = #{amount,jdbcType=DECIMAL}, app_user_list = #{appUserList,jdbcType=VARCHAR}, com_user_list = #{comUserList,jdbcType=VARCHAR}, cus_user_list = #{cusUserList,jdbcType=VARCHAR}, update_by = #{updateBy,jdbcType=VARCHAR}, update_time = sysdate() where activity_id = #{activityId,jdbcType=INTEGER} update xhpc_activity_cash set `status` = #{status,jdbcType=SMALLINT}, update_by = #{updateBy,jdbcType=VARCHAR}, update_time = sysdate() where activity_id = #{activityId,jdbcType=INTEGER} update xhpc_activity_cash set `status` = #{status,jdbcType=SMALLINT}, check_by = #{checkBy,jdbcType=VARCHAR}, check_time = sysdate() where activity_id = #{activityId,jdbcType=INTEGER} update xhpc_activity_cash set receive_count = #{receiveCount}, auto_status=#{autoStatus} where activity_id = #{activityId,jdbcType=INTEGER}