package com.xzx.gc.role.service;
|
|
import com.xzx.gc.entity.PartnerGaode;
|
import com.xzx.gc.role.mapper.PartnerGaodeMapper;
|
import org.springframework.beans.factory.annotation.Autowired;
|
import org.springframework.stereotype.Service;
|
import org.springframework.transaction.annotation.Transactional;
|
|
import java.util.List;
|
|
@Service
|
@Transactional(rollbackFor = Exception.class)
|
public class PartnerGaodeService {
|
@Autowired
|
private PartnerGaodeMapper partnerGaodeMapper;
|
public List<PartnerGaode> queryPartnerGaodeList(String partnerId){
|
PartnerGaode gaode = new PartnerGaode();
|
gaode.setPartnerId(partnerId);
|
gaode.setDelFlag(0);
|
return partnerGaodeMapper.select(gaode);
|
}
|
|
|
}
|