tangchuanxing_branch
CR7 9 months ago
parent 2d71427403
commit dc558d7aaa

@ -0,0 +1,29 @@
/*
* Copyright (c) 2018-2999 广 All rights reserved.
*
* https://www.mall4j.com/
*
*
*
*
*/
// 定义包名
package com.yami.shop.dao;
// 导入所需的类
import com.yami.shop.bean.model.Delivery;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
/**
* DeliveryMapper
* Mapper
*
* @author lanhai lanhai
*/
public interface DeliveryMapper extends BaseMapper<Delivery> {
// 这个接口继承了BaseMapper接口泛型参数为Delivery表示这个Mapper与Delivery实体类相关联
// 在这个接口中可以定义与Delivery表相关的数据库操作方法
// 由于继承了BaseMapper已经包含了很多基础的数据库操作方法如增删改查
// 如果需要额外的自定义方法可以在这个接口中声明然后在对应的XML文件或使用MyBatis Plus的注解方式实现
}
Loading…
Cancel
Save