|
|
@ -1,12 +1,15 @@ |
|
|
|
package com.kms.yg.sk.service; |
|
|
|
|
|
|
|
import com.baomidou.mybatisplus.core.conditions.Wrapper; |
|
|
|
import com.baomidou.mybatisplus.core.metadata.IPage; |
|
|
|
import com.baomidou.mybatisplus.core.toolkit.Wrappers; |
|
|
|
import com.baomidou.mybatisplus.extension.plugins.pagination.Page; |
|
|
|
import com.kms.yg.sk.domain.AttResBase; |
|
|
|
import com.kms.yg.sk.mapper.AttResBaseMapper; |
|
|
|
import com.shuili.common.core.service.BaseService; |
|
|
|
import org.springframework.stereotype.Service; |
|
|
|
|
|
|
|
|
|
|
|
/** |
|
|
|
* 【请填写功能名称】Service接口 |
|
|
|
* |
|
|
@ -17,6 +20,11 @@ import org.springframework.stereotype.Service; |
|
|
|
public class AttResBaseService extends BaseService<AttResBaseMapper, AttResBase> { |
|
|
|
|
|
|
|
public IPage<AttResBase> selectPageV2(AttResBase body) { |
|
|
|
return new Page<>(); |
|
|
|
Wrapper<AttResBase> wrapper = Wrappers.<AttResBase>lambdaQuery() |
|
|
|
.likeLeft(AttResBase::getAdcd, body.getAdcdQx()); |
|
|
|
IPage<AttResBase> page = new Page<>(); |
|
|
|
page.setCurrent(body.getPageNum()); |
|
|
|
page.setSize(body.getPageSize()); |
|
|
|
return baseMapper.selectPage(page, wrapper); |
|
|
|
} |
|
|
|
} |
|
|
|