`id`, `create_time`, `update_time`, `name`, `address`, `code`, `type`, `status`, `del_flag`, `mall_user_info`,`remaining_times`
where 1 = 1
and `id` = #{id}
and `name` LIKE CONCAT('%', #{name},'%')
and `code` = #{code}
and `type` = #{type}
and `status` = #{status}
and `del_flag` = #{delFlag}
and `mall_user_info` = #{mallUserInfo}
update service_info set remaining_times = remaining_times - #{seconds} where id = #{id}