| | |
| | |
|
| | | import java.util.List;
|
| | |
|
| | | import com.yeshi.fanli.entity.SystemEnum;
|
| | | import org.apache.ibatis.annotations.Param;
|
| | |
|
| | | import com.yeshi.fanli.dao.BaseMapper;
|
| | |
| | | * @return
|
| | | */
|
| | | List<FloatAD> listQuery(@Param("start") long start, @Param("count") int count, @Param("key") String key,
|
| | | @Param("state") Integer state);
|
| | | @Param("state") Integer state,@Param("system") SystemEnum system);
|
| | |
|
| | | long countQuery(@Param("key") String key, @Param("state") Integer state);
|
| | | long countQuery(@Param("key") String key, @Param("state") Integer state,@Param("system") SystemEnum system);
|
| | |
|
| | | /**
|
| | | * 获取相邻序号
|
| | |
| | | * @return
|
| | | */
|
| | | FloatAD getByAdjoinOrder(@Param("position") String position, @Param("order") Integer order,
|
| | | @Param("type") Integer type);
|
| | | @Param("type") Integer type,@Param("system") SystemEnum system);
|
| | |
|
| | | /**
|
| | | * 根据位置统计个数
|
| | | * @param position
|
| | | * @return
|
| | | */
|
| | | int getMaxOrderByPosition(@Param("position") String position);
|
| | | int getMaxOrderByPosition(@Param("position") String position,@Param("system") SystemEnum system);
|
| | |
|
| | | /**
|
| | | * 查询有效弹出框
|
| | | * @param position
|
| | | * @return
|
| | | */
|
| | | FloatAD getEffectiveFloatAD(@Param("position") String position, @Param("type") Integer type);
|
| | | FloatAD getEffectiveFloatAD(@Param("position") String position, @Param("type") Integer type,@Param("system") SystemEnum system);
|
| | |
|
| | |
|
| | | /**
|
| | |
| | | * @param position
|
| | | * @return
|
| | | */
|
| | | List<FloatAD> getValidFloatAD(@Param("position") String position, @Param("type") Integer type);
|
| | | List<FloatAD> getValidFloatAD(@Param("position") String position, @Param("type") Integer type,@Param("system") SystemEnum system);
|
| | |
|
| | | }
|
| | |
|