package com.xiaopeng.operation.service.impl;
|
|
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
|
import com.xiaopeng.api.model.operation.XpLoginAgreement;
|
import com.xiaopeng.operation.mapper.XpLoginAgreementMapper;
|
import com.xiaopeng.operation.service.IXpLoginAgreementService;
|
import com.xiaopeng.operation.vo.XpAgreementVo;
|
import org.springframework.stereotype.Service;
|
|
import java.util.Collections;
|
import java.util.List;
|
|
|
@Service
|
public class XpLoginAgreementServiceImpl extends ServiceImpl<XpLoginAgreementMapper, XpLoginAgreement> implements IXpLoginAgreementService {
|
|
|
/**
|
* 查询登录协议
|
* @param type
|
* @return
|
*/
|
@Override
|
public List<XpAgreementVo> getLoginAgreementList(Integer type) {
|
return this.baseMapper.getLoginAgreementList(type);
|
}
|
}
|