java 后台 管理前台显示 cms_springboot+layui旅游信息管理系统,包括前台景点展现和后台管理...

package com.cn.travel.cms.car.dao;

import com.cn.travel.base.dao.BaseDao;

import com.cn.travel.cms.car.entity.Car;

import com.cn.travel.cms.car.provider.CarSqlProvider;

import com.cn.travel.cms.hotel.entity.Hotel;

import com.cn.travel.cms.hotel.provider.HotelSqlProvider;

import org.apache.ibatis.annotations.*;

import org.springframework.stereotype.Component;

import java.util.List;

@Mapper

@Component

public interface CarDao extends BaseDao {

@SelectProvider(type = CarSqlProvider.class, method = "findById")

public Car findById(@Param("id") String id);

@SelectProvider(type = CarSqlProvider.class, method = "findList")

public List findList();

@SelectProvider(type = CarSqlProvider.class, method = "indexList")

public List indexList();

@SelectProvider(type = CarSqlProvider.class, method = "findListByQuery")

public List findListByQuery(@Param("query") String query);

@InsertProvider(type = CarSqlProvider.class, method = "save")

public void save(Car car);

@UpdateProvider(type = CarSqlProvider.class, method = "update")

public void update(Car car);

@UpdateProvider(type = CarSqlProvider.class, method = "deleteByid")

public void deleteByid(@Param("id") String id);

@SelectProvider(type = CarSqlProvider.class, method = "count")

public long count();

@SelectProvider(type = CarSqlProvider.class, method = "state0count")

public long state0count();

@SelectProvider(type = CarSqlProvider.class, method = "state1count")

public long state1count();

@SelectProvider(type = CarSqlProvider.class, method = "state2count")

public long state2count();

@SelectProvider(type = CarSqlProvider.class, method = "type0count")

public long type0count();

@SelectProvider(type = CarSqlProvider.class, method = "type1count")

public long type1count();

@SelectProvider(type = CarSqlProvider.class, method = "type2count")

public long type2count();

}

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值