mirror of
https://codeup.aliyun.com/67c68d4e484ca2f0a13ac3c1/ydc/jsowell-charger-web.git
synced 2026-04-27 22:45:05 +08:00
新增 车位相机信息表以及相机解析信息逻辑
This commit is contained in:
@@ -0,0 +1,89 @@
|
||||
package com.jsowell.pile.service.impl;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
import com.jsowell.common.util.DateUtils;
|
||||
import org.springframework.beans.factory.annotation.Autowired;
|
||||
import org.springframework.stereotype.Service;
|
||||
import com.jsowell.pile.mapper.PileCameraInfoMapper;
|
||||
import com.jsowell.pile.domain.PileCameraInfo;
|
||||
import com.jsowell.pile.service.IPileCameraInfoService;
|
||||
|
||||
/**
|
||||
* 【请填写功能名称】Service业务层处理
|
||||
*
|
||||
* @author jsowell
|
||||
* @date 2023-12-09
|
||||
*/
|
||||
@Service
|
||||
public class PileCameraInfoServiceImpl implements IPileCameraInfoService {
|
||||
@Autowired
|
||||
private PileCameraInfoMapper pileCameraInfoMapper;
|
||||
|
||||
/**
|
||||
* 查询【请填写功能名称】
|
||||
*
|
||||
* @param id 【请填写功能名称】主键
|
||||
* @return 【请填写功能名称】
|
||||
*/
|
||||
@Override
|
||||
public PileCameraInfo selectPileCameraInfoById(Long id) {
|
||||
return pileCameraInfoMapper.selectPileCameraInfoById(id);
|
||||
}
|
||||
|
||||
/**
|
||||
* 查询【请填写功能名称】列表
|
||||
*
|
||||
* @param pileCameraInfo 【请填写功能名称】
|
||||
* @return 【请填写功能名称】
|
||||
*/
|
||||
@Override
|
||||
public List<PileCameraInfo> selectPileCameraInfoList(PileCameraInfo pileCameraInfo) {
|
||||
return pileCameraInfoMapper.selectPileCameraInfoList(pileCameraInfo);
|
||||
}
|
||||
|
||||
/**
|
||||
* 新增【请填写功能名称】
|
||||
*
|
||||
* @param pileCameraInfo 【请填写功能名称】
|
||||
* @return 结果
|
||||
*/
|
||||
@Override
|
||||
public int insertPileCameraInfo(PileCameraInfo pileCameraInfo) {
|
||||
pileCameraInfo.setCreateTime(DateUtils.getNowDate());
|
||||
return pileCameraInfoMapper.insertPileCameraInfo(pileCameraInfo);
|
||||
}
|
||||
|
||||
/**
|
||||
* 修改【请填写功能名称】
|
||||
*
|
||||
* @param pileCameraInfo 【请填写功能名称】
|
||||
* @return 结果
|
||||
*/
|
||||
@Override
|
||||
public int updatePileCameraInfo(PileCameraInfo pileCameraInfo) {
|
||||
return pileCameraInfoMapper.updatePileCameraInfo(pileCameraInfo);
|
||||
}
|
||||
|
||||
/**
|
||||
* 批量删除【请填写功能名称】
|
||||
*
|
||||
* @param ids 需要删除的【请填写功能名称】主键
|
||||
* @return 结果
|
||||
*/
|
||||
@Override
|
||||
public int deletePileCameraInfoByIds(Long[] ids) {
|
||||
return pileCameraInfoMapper.deletePileCameraInfoByIds(ids);
|
||||
}
|
||||
|
||||
/**
|
||||
* 删除【请填写功能名称】信息
|
||||
*
|
||||
* @param id 【请填写功能名称】主键
|
||||
* @return 结果
|
||||
*/
|
||||
@Override
|
||||
public int deletePileCameraInfoById(Long id) {
|
||||
return pileCameraInfoMapper.deletePileCameraInfoById(id);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user