package com.hai.dao; import org.apache.ibatis.annotations.Param; import org.apache.ibatis.annotations.Select; import java.util.List; import java.util.Map; /** * mapper扩展类 */ public interface HighGasClassGroupTaskMapperExt { @Select("") Map countRefuelData(@Param("gasClassGroupTaskId") Long gasClassGroupTaskId); @Select("") Map countRefundData(@Param("gasClassGroupTaskId") Long gasClassGroupTaskId); @Select("") List> countOilData(@Param("gasId") Long gasId, @Param("gasClassGroupTaskId") Long gasClassGroupTaskId); @Select("select count(1) from high_gas_class_group_task where merchant_store_id = #{gasId} and `status` <> 0") int getLatestClassNum(@Param("gasId") Long gasId); }