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:
@@ -1,5 +1,25 @@
|
||||
package com.jsowell.pile.service;
|
||||
|
||||
public interface OrderSplitRecordService{
|
||||
import com.jsowell.pile.domain.OrderSplitRecord;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
public interface OrderSplitRecordService {
|
||||
|
||||
int deleteByPrimaryKey(Integer id);
|
||||
|
||||
int insertOrUpdate(OrderSplitRecord record);
|
||||
|
||||
int insertOrUpdateSelective(OrderSplitRecord record);
|
||||
|
||||
int insertSelective(OrderSplitRecord record);
|
||||
|
||||
OrderSplitRecord selectByPrimaryKey(Integer id);
|
||||
|
||||
int updateByPrimaryKeySelective(OrderSplitRecord record);
|
||||
|
||||
int updateBatchSelective(List<OrderSplitRecord> list);
|
||||
|
||||
int batchInsert(List<OrderSplitRecord> list);
|
||||
}
|
||||
|
||||
|
||||
@@ -7,10 +7,51 @@ import org.springframework.stereotype.Service;
|
||||
|
||||
import javax.annotation.Resource;
|
||||
import java.util.List;
|
||||
|
||||
@Service
|
||||
public class OrderSplitRecordServiceImpl implements OrderSplitRecordService{
|
||||
public class OrderSplitRecordServiceImpl implements OrderSplitRecordService {
|
||||
|
||||
@Resource
|
||||
private OrderSplitRecordMapper orderSplitRecordMapper;
|
||||
|
||||
@Override
|
||||
public int deleteByPrimaryKey(Integer id) {
|
||||
return orderSplitRecordMapper.deleteByPrimaryKey(id);
|
||||
}
|
||||
|
||||
@Override
|
||||
public int insertOrUpdate(OrderSplitRecord record) {
|
||||
return orderSplitRecordMapper.insertOrUpdate(record);
|
||||
}
|
||||
|
||||
@Override
|
||||
public int insertOrUpdateSelective(OrderSplitRecord record) {
|
||||
return orderSplitRecordMapper.insertOrUpdateSelective(record);
|
||||
}
|
||||
|
||||
@Override
|
||||
public int insertSelective(OrderSplitRecord record) {
|
||||
return orderSplitRecordMapper.insertSelective(record);
|
||||
}
|
||||
|
||||
@Override
|
||||
public OrderSplitRecord selectByPrimaryKey(Integer id) {
|
||||
return orderSplitRecordMapper.selectByPrimaryKey(id);
|
||||
}
|
||||
|
||||
@Override
|
||||
public int updateByPrimaryKeySelective(OrderSplitRecord record) {
|
||||
return orderSplitRecordMapper.updateByPrimaryKeySelective(record);
|
||||
}
|
||||
|
||||
@Override
|
||||
public int updateBatchSelective(List<OrderSplitRecord> list) {
|
||||
return orderSplitRecordMapper.updateBatchSelective(list);
|
||||
}
|
||||
|
||||
@Override
|
||||
public int batchInsert(List<OrderSplitRecord> list) {
|
||||
return orderSplitRecordMapper.batchInsert(list);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user