103 lines
2.3 KiB
Java
103 lines
2.3 KiB
Java
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);
|
||
}
|
||
|
||
}
|
||
|