select user_id, adress, symbol, amout, occupied_amount, available_amount, type, create_by, create_time, update_by, update_time, remark, search_value from t_app_asset insert into t_app_asset user_id, adress, symbol, amout, occupied_amount, available_amount, type, create_by, create_time, update_by, update_time, remark, search_value, #{userId}, #{adress}, #{symbol}, #{amout}, #{occupiedAmount}, #{availableAmount}, #{type}, #{createBy}, #{createTime}, #{updateBy}, #{updateTime}, #{remark}, #{searchValue}, update t_app_asset adress = #{adress}, amout = #{amout}, occupied_amount = #{occupiedAmount}, available_amount = #{availableAmount}, create_by = #{createBy}, create_time = #{createTime}, update_by = #{updateBy}, update_time = #{updateTime}, remark = #{remark}, search_value = #{searchValue}, where user_id = #{userId} and symbol =#{symbol} and type=#{type} update t_app_asset amout = #{amout}, occupied_amount=#{occupiedAmount}, available_amount=#{availableAmount}, update_time = now() where user_id = #{userId} and symbol =#{symbol} and type=#{type} delete from t_app_asset where user_id = #{userId} delete from t_app_asset where user_id in #{userId} update t_app_asset available_amount = available_amount - #{money}, occupied_amount= occupied_amount + #{money}, update_time = now() where user_id = #{userId} and symbol =#{symbol} and type=#{type} update t_app_asset amout = amout - #{money}, available_amount=available_amount-#{money}, update_time = now() where user_id = #{userId} and symbol =#{symbol} and type=#{type} update t_app_asset amout = amout + #{money}, available_amount=available_amount + #{money}, update_time = now() where user_id = #{userId} and symbol =#{symbol} and type=#{type} update t_app_asset available_amount = available_amount - #{money}, occupied_amount= occupied_amount + #{money}, update_time = now() where user_id = #{userId} and symbol =#{symbol} and type=#{type} update t_app_asset amout = amout - #{money}, occupied_amount= occupied_amount - #{subtract}, available_amount= available_amount +#{availableAmount}, update_time = now() where user_id = #{userId} and symbol =#{symbol} and type=#{type}