src/main/java/com/service/impl/LianxishangjiaServiceImpl.java
(开头部分) 1KB这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。
package com.service.impl;
import org.springframework.stereotype.Service;
import java.util.Map;
import java.util.List;
import com.baomidou.mybatisplus.mapper.Wrapper;
import com.baomidou.mybatisplus.mapper.EntityWrapper;
import com.baomidou.mybatisplus.plugins.Page;
import com.baomidou.mybatisplus.service.impl.ServiceImpl;
import com.utils.PageUtils;
import com.utils.Query;
import com.dao.LianxishangjiaDao;
import com.entity.LianxishangjiaEntity;
import com.service.LianxishangjiaService;
import com.entity.vo.LianxishangjiaVO;
import com.entity.view.LianxishangjiaView;
@Service("lianxishangjiaService")
public class LianxishangjiaServiceImpl extends ServiceImpl<LianxishangjiaDao, LianxishangjiaEntity> implements LianxishangjiaService {
@Override
public PageUtils queryPage(Map<String, Object> params) {
Page<LianxishangjiaEntity> page = this.selectPage(
new Query<LianxishangjiaEntity>(params).getPage(),
new EntityWrapper<LianxishangjiaEntity>()
);
return new PageUtils(page);
}
@Override
public PageUtils queryPage(Map<String, Object> params, Wrapper<LianxishangjiaEntity> wrapper) {
Page<LianxishangjiaView> page =new Query<LianxishangjiaView>(params).getPage();
page.setRecords(baseMapper.selectListView(page,wrapper));
PageUtils pageUtil = new PageUtils(page);
return pageUtil;
}
@Override
public List<LianxishangjiaVO> selectListVO(Wrapper<LianxishangjiaEntity> wrapper) {
return baseMapper.selectListVO(wrapper);
}
@Override
public LianxishangjiaVO selectVO(Wrapper<LianxishangjiaEntity> wrapper) {
return baseMapper.selectVO(wrapper);
}
@Override
public List<LianxishangjiaView> selectListView(Wrapper<LianxishangjiaEntity> wrapper) {
return baseMapper.selectListView(wrapper);
}
@Override
public LianxishangjiaView selectView(Wrapper<LianxishangjiaEntity> wrapper) {
return baseMapper.selectView(wrapper);
}
后面还有 2 行代码,购买后查看完整代码
24 小时内免费解锁 3 个项目,之后 1 算力/个。 规则说明
AI 解读 AI
登录后可用,每次 10 算力,解读结果公开显示在下面。
还没有人解读过这个文件。