订单分账记录

This commit is contained in:
Guoqs
2024-12-02 15:49:46 +08:00
parent 2282fbc2db
commit 3032f17764
5 changed files with 654 additions and 55 deletions

View File

@@ -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);
}

View File

@@ -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);
}
}