qa-prevention-gwj/src/main/java/com/zcloud/service/gf/impl/GFElectricityAcceptUserServ...

103 lines
2.3 KiB
Java
Raw Normal View History

2023-12-13 10:58:39 +08:00
package com.zcloud.service.gf.impl;
import com.zcloud.entity.Page;
import com.zcloud.entity.PageData;
import com.zcloud.mapper.datasource.gf.GFElectricityAcceptUserMapper;
import com.zcloud.service.gf.GFElectricityAcceptUserService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;
import java.util.List;
/**
*
* luoxiaobao
* 2020-12-24
* www.zcloudchina.com
*/
@Service
@Transactional //开启事物
public class GFElectricityAcceptUserServiceImpl implements GFElectricityAcceptUserService {
@Autowired
private GFElectricityAcceptUserMapper electricityacceptuserMapper;
/**
* @param pd
* @throws Exception
*/
public void save(PageData pd)throws Exception{
electricityacceptuserMapper.save(pd);
}
/**
* @param pd
* @throws Exception
*/
public void delete(PageData pd)throws Exception{
electricityacceptuserMapper.delete(pd);
}
/**
* @param pd
* @throws Exception
*/
public void deleteList(PageData pd)throws Exception{
electricityacceptuserMapper.deleteList(pd);
}
/**
* @param pd
* @throws Exception
*/
public void edit(PageData pd)throws Exception{
electricityacceptuserMapper.edit(pd);
}
/**
* @param page
* @throws Exception
*/
public List<PageData> list(Page page)throws Exception{
return electricityacceptuserMapper.datalistPage(page);
}
/**()
* @param pd
* @throws Exception
*/
public List<PageData> listAll(PageData pd)throws Exception{
return electricityacceptuserMapper.listAll(pd);
}
/**id
* @param pd
* @throws Exception
*/
public List<PageData> findById(PageData pd)throws Exception{
return electricityacceptuserMapper.findById(pd);
}
public List<PageData> findByIds(PageData pd)throws Exception{
return electricityacceptuserMapper.findByIds(pd);
}
/**
* @param ArrayDATA_IDS
* @throws Exception
*/
public void deleteAll(String[] ArrayDATA_IDS)throws Exception{
electricityacceptuserMapper.deleteAll(ArrayDATA_IDS);
}
/**()
* @param pd
* @throws Exception
*/
public List<PageData> listAllByIds(PageData pd)throws Exception{
return electricityacceptuserMapper.listAllByIds(pd);
}
}