mirror of
https://codeup.aliyun.com/67c68d4e484ca2f0a13ac3c1/ydc/jsowell-charger-web.git
synced 2026-04-21 11:35:12 +08:00
新增 车辆绑定优惠券记录表、实体类、Service、controller
This commit is contained in:
@@ -0,0 +1,63 @@
|
||||
package com.jsowell.pile.mapper;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
import com.jsowell.pile.domain.CarCouponRecord;
|
||||
import org.springframework.stereotype.Repository;
|
||||
|
||||
/**
|
||||
* 车辆绑定优惠券记录Mapper接口
|
||||
*
|
||||
* @author jsowell
|
||||
* @date 2024-10-14
|
||||
*/
|
||||
@Repository
|
||||
public interface CarCouponRecordMapper {
|
||||
/**
|
||||
* 查询车辆绑定优惠券记录
|
||||
*
|
||||
* @param id 车辆绑定优惠券记录主键
|
||||
* @return 车辆绑定优惠券记录
|
||||
*/
|
||||
public CarCouponRecord selectCarCouponRecordById(Long id);
|
||||
|
||||
/**
|
||||
* 查询车辆绑定优惠券记录列表
|
||||
*
|
||||
* @param carCouponRecord 车辆绑定优惠券记录
|
||||
* @return 车辆绑定优惠券记录集合
|
||||
*/
|
||||
public List<CarCouponRecord> selectCarCouponRecordList(CarCouponRecord carCouponRecord);
|
||||
|
||||
/**
|
||||
* 新增车辆绑定优惠券记录
|
||||
*
|
||||
* @param carCouponRecord 车辆绑定优惠券记录
|
||||
* @return 结果
|
||||
*/
|
||||
public int insertCarCouponRecord(CarCouponRecord carCouponRecord);
|
||||
|
||||
/**
|
||||
* 修改车辆绑定优惠券记录
|
||||
*
|
||||
* @param carCouponRecord 车辆绑定优惠券记录
|
||||
* @return 结果
|
||||
*/
|
||||
public int updateCarCouponRecord(CarCouponRecord carCouponRecord);
|
||||
|
||||
/**
|
||||
* 删除车辆绑定优惠券记录
|
||||
*
|
||||
* @param id 车辆绑定优惠券记录主键
|
||||
* @return 结果
|
||||
*/
|
||||
public int deleteCarCouponRecordById(Long id);
|
||||
|
||||
/**
|
||||
* 批量删除车辆绑定优惠券记录
|
||||
*
|
||||
* @param ids 需要删除的数据主键集合
|
||||
* @return 结果
|
||||
*/
|
||||
public int deleteCarCouponRecordByIds(Long[] ids);
|
||||
}
|
||||
Reference in New Issue
Block a user