qa-prevention-gwj/src/main/java/com/zcloud/service/bus/impl/SpecialUserServiceImpl.java

104 lines
2.2 KiB
Java
Raw Normal View History

2024-02-06 11:02:25 +08:00
package com.zcloud.service.bus.impl;
import java.util.List;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;
import com.zcloud.entity.Page;
import com.zcloud.entity.PageData;
import com.zcloud.mapper.datasource.bus.SpecialUserMapper;
import com.zcloud.service.bus.SpecialUserService;
/**
*
* luoxiaobao
* 2022-04-20
* www.zcloudchina.com
*/
@Service
@Transactional //开启事物
public class SpecialUserServiceImpl implements SpecialUserService{
@Autowired
private SpecialUserMapper specialuserMapper;
/**
* @param pd
* @throws Exception
*/
public void save(PageData pd)throws Exception{
specialuserMapper.save(pd);
}
/**
* @param pd
* @throws Exception
*/
public void delete(PageData pd)throws Exception{
specialuserMapper.delete(pd);
}
/**
* @param pd
* @throws Exception
*/
public void edit(PageData pd)throws Exception{
specialuserMapper.edit(pd);
}
/**
* @param page
* @throws Exception
*/
public List<PageData> list(Page page)throws Exception{
return specialuserMapper.datalistPage(page);
}
/**()
* @param pd
* @throws Exception
*/
public List<PageData> listAll(PageData pd)throws Exception{
return specialuserMapper.listAll(pd);
}
/**id
* @param pd
* @throws Exception
*/
public PageData findById(PageData pd)throws Exception{
return specialuserMapper.findById(pd);
}
/**
* @param ArrayDATA_IDS
* @throws Exception
*/
public void deleteAll(String[] ArrayDATA_IDS)throws Exception{
specialuserMapper.deleteAll(ArrayDATA_IDS);
}
/**
*
* @param pd
* @return
* @throws Exception
*/
public Integer hasState (PageData pd) throws Exception{
return specialuserMapper.hasState(pd);
}
/**
* @param pd
* @throws Exception
*/
public void deleteTem(PageData pd)throws Exception{
specialuserMapper.deleteTem(pd);
}
@Override
public List<PageData> nameListAll(PageData getPD) throws Exception {
return specialuserMapper.nameListAll(getPD);
}
}