qa-prevention-gwj/src/main/java/com/zcloud/service/gatemachine/impl/GateVideoServiceImpl.java

121 lines
2.7 KiB
Java
Raw Normal View History

2024-01-15 18:28:47 +08:00
package com.zcloud.service.gatemachine.impl;
import com.zcloud.entity.Page;
import com.zcloud.entity.PageData;
import com.zcloud.mapper.datasource.gatemachine.CzksGateVideoMapper;
import com.zcloud.service.gatemachine.GateVideoService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;
import java.util.List;
/**
*
* luoxiaobao
* 2021-05-10
* www.zcloudchina.com
*/
@Service
@Transactional //开启事物
public class GateVideoServiceImpl implements GateVideoService {
@Autowired
private CzksGateVideoMapper gateVideoMapper;
/**
* @param pd
* @throws Exception
*/
public void save(PageData pd)throws Exception{
gateVideoMapper.save(pd);
}
/**
* @param pd
* @throws Exception
*/
public void delete(PageData pd)throws Exception{
gateVideoMapper.delete(pd);
}
/**
* @param pd
* @throws Exception
*/
public void edit(PageData pd)throws Exception{
gateVideoMapper.edit(pd);
}
public void savePosition(PageData pd)throws Exception{
gateVideoMapper.savePosition(pd);
}
public void editIsShowBycorpinfoid(PageData pd)throws Exception{
gateVideoMapper.editIsShowBycorpinfoid(pd);
}
public void editIsShow(PageData pd)throws Exception{
gateVideoMapper.editIsShow(pd);
}
/**
* @param page
* @throws Exception
*/
public List<PageData> list(Page page)throws Exception{
return gateVideoMapper.datalistPage(page);
}
/**()
* @param pd
* @throws Exception
*/
public List<PageData> listBo(PageData pd)throws Exception{
return gateVideoMapper.listBo(pd);
}
/**()
* @param pd
* @throws Exception
*/
public List<PageData> listAll(PageData pd)throws Exception{
return gateVideoMapper.listAll(pd);
}
/**id
* @param pd
* @throws Exception
*/
public PageData findById(PageData pd)throws Exception{
return gateVideoMapper.findById(pd);
}
/**
* @param ArrayDATA_IDS
* @throws Exception
*/
public void deleteAll(String[] ArrayDATA_IDS)throws Exception{
gateVideoMapper.deleteAll(ArrayDATA_IDS);
}
/**CODE
* @param pd
* @throws Exception
*/
public PageData findByCode(PageData pd)throws Exception{
return gateVideoMapper.findByCode(pd);
}
public List<PageData> listAllForMap(PageData pd)throws Exception{
return gateVideoMapper.listAllForMap(pd);
}
public List<PageData> getPointsInfo(PageData pd)throws Exception{
return gateVideoMapper.getPointsInfo(pd);
}
@Override
public List<PageData> getCameraPosition(PageData pageData) {
return gateVideoMapper.getCameraPosition(pageData);
}
}