feat(custom-service): 新增客服信息查询接口及实体
This commit is contained in:
@@ -0,0 +1,26 @@
|
||||
package com.yupi.springbootinit.service.impl;
|
||||
|
||||
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
|
||||
import org.springframework.stereotype.Service;
|
||||
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
|
||||
import com.yupi.springbootinit.model.entity.ServerCustomServiceInfo;
|
||||
import com.yupi.springbootinit.mapper.ServerCustomServiceInfoMapper;
|
||||
import com.yupi.springbootinit.service.ServerCustomServiceInfoService;
|
||||
|
||||
import java.util.List;
|
||||
/*
|
||||
* @author: ziin
|
||||
* @date: 2026/3/3 21:32
|
||||
*/
|
||||
|
||||
@Service
|
||||
public class ServerCustomServiceInfoServiceImpl extends ServiceImpl<ServerCustomServiceInfoMapper, ServerCustomServiceInfo> implements ServerCustomServiceInfoService{
|
||||
|
||||
@Override
|
||||
public List<ServerCustomServiceInfo> listNotDeleted() {
|
||||
QueryWrapper<ServerCustomServiceInfo> queryWrapper = new QueryWrapper<>();
|
||||
queryWrapper.eq("deleted", false);
|
||||
return this.list(queryWrapper);
|
||||
}
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user