cn.foxtech.common.entity.service.device.DeviceMapper Maven / Gradle / Ivy
package cn.foxtech.common.entity.service.device;
import cn.foxtech.common.entity.entity.DevicePo;
import cn.foxtech.common.entity.service.mybatis.BaseEntityMapper;
import org.springframework.stereotype.Repository;
//在对应的Mapper 接口上 基础基本的 BaseMapper T是对应的pojo类
@Repository //告诉容器你是持久层的 @Repository是spring提供的注释,能够将该类注册成Bean
public interface DeviceMapper extends BaseEntityMapper {
//所有的crud都编写完成了
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy