mirror of
https://codeup.aliyun.com/67c68d4e484ca2f0a13ac3c1/ydc/jsowell-charger-web.git
synced 2026-04-25 13:35:15 +08:00
充电桩预约功能
This commit is contained in:
@@ -0,0 +1,32 @@
|
||||
package com.jsowell.pile.service;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
import com.jsowell.pile.domain.PileReservedInfo;
|
||||
|
||||
public interface PileReservedInfoService {
|
||||
|
||||
|
||||
int deleteByPrimaryKey(Integer id);
|
||||
|
||||
int insert(PileReservedInfo record);
|
||||
|
||||
int insertOrUpdate(PileReservedInfo record);
|
||||
|
||||
int insertOrUpdateSelective(PileReservedInfo record);
|
||||
|
||||
int insertSelective(PileReservedInfo record);
|
||||
|
||||
PileReservedInfo selectByPrimaryKey(Integer id);
|
||||
|
||||
int updateByPrimaryKeySelective(PileReservedInfo record);
|
||||
|
||||
int updateByPrimaryKey(PileReservedInfo record);
|
||||
|
||||
int updateBatch(List<PileReservedInfo> list);
|
||||
|
||||
int batchInsert(List<PileReservedInfo> list);
|
||||
|
||||
int updateBatchSelective(List<PileReservedInfo> list);
|
||||
}
|
||||
|
||||
@@ -0,0 +1,73 @@
|
||||
package com.jsowell.pile.service.impl;
|
||||
|
||||
import org.springframework.stereotype.Service;
|
||||
|
||||
import javax.annotation.Resource;
|
||||
import java.util.List;
|
||||
|
||||
import com.jsowell.pile.mapper.PileReservedInfoMapper;
|
||||
import com.jsowell.pile.domain.PileReservedInfo;
|
||||
import com.jsowell.pile.service.PileReservedInfoService;
|
||||
|
||||
@Service
|
||||
public class PileReservedInfoServiceImpl implements PileReservedInfoService {
|
||||
|
||||
@Resource
|
||||
private PileReservedInfoMapper pileReservedInfoMapper;
|
||||
|
||||
@Override
|
||||
public int deleteByPrimaryKey(Integer id) {
|
||||
return pileReservedInfoMapper.deleteByPrimaryKey(id);
|
||||
}
|
||||
|
||||
@Override
|
||||
public int insert(PileReservedInfo record) {
|
||||
return pileReservedInfoMapper.insert(record);
|
||||
}
|
||||
|
||||
@Override
|
||||
public int insertOrUpdate(PileReservedInfo record) {
|
||||
return pileReservedInfoMapper.insertOrUpdate(record);
|
||||
}
|
||||
|
||||
@Override
|
||||
public int insertOrUpdateSelective(PileReservedInfo record) {
|
||||
return pileReservedInfoMapper.insertOrUpdateSelective(record);
|
||||
}
|
||||
|
||||
@Override
|
||||
public int insertSelective(PileReservedInfo record) {
|
||||
return pileReservedInfoMapper.insertSelective(record);
|
||||
}
|
||||
|
||||
@Override
|
||||
public PileReservedInfo selectByPrimaryKey(Integer id) {
|
||||
return pileReservedInfoMapper.selectByPrimaryKey(id);
|
||||
}
|
||||
|
||||
@Override
|
||||
public int updateByPrimaryKeySelective(PileReservedInfo record) {
|
||||
return pileReservedInfoMapper.updateByPrimaryKeySelective(record);
|
||||
}
|
||||
|
||||
@Override
|
||||
public int updateByPrimaryKey(PileReservedInfo record) {
|
||||
return pileReservedInfoMapper.updateByPrimaryKey(record);
|
||||
}
|
||||
|
||||
@Override
|
||||
public int updateBatch(List<PileReservedInfo> list) {
|
||||
return pileReservedInfoMapper.updateBatch(list);
|
||||
}
|
||||
|
||||
@Override
|
||||
public int batchInsert(List<PileReservedInfo> list) {
|
||||
return pileReservedInfoMapper.batchInsert(list);
|
||||
}
|
||||
|
||||
@Override
|
||||
public int updateBatchSelective(List<PileReservedInfo> list) {
|
||||
return pileReservedInfoMapper.updateBatchSelective(list);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user