update 分成功能

This commit is contained in:
Guoqs
2024-09-25 16:06:31 +08:00
parent 99c8c13d16
commit 6733b2d94a
4 changed files with 1 additions and 679 deletions

View File

@@ -1,29 +1,5 @@
package com.jsowell.pile.mapper;
import com.jsowell.pile.domain.OrderSplitRecord;
import java.util.List;
import org.apache.ibatis.annotations.Param;
public interface OrderSplitRecordMapper {
int deleteByPrimaryKey(Integer id);
int insert(OrderSplitRecord record);
int insertOrUpdate(OrderSplitRecord record);
int insertOrUpdateSelective(OrderSplitRecord record);
int insertSelective(OrderSplitRecord record);
OrderSplitRecord selectByPrimaryKey(Integer id);
int updateByPrimaryKeySelective(OrderSplitRecord record);
int updateByPrimaryKey(OrderSplitRecord record);
int updateBatch(List<OrderSplitRecord> list);
int updateBatchSelective(List<OrderSplitRecord> list);
int batchInsert(@Param("list") List<OrderSplitRecord> list);
}

View File

@@ -1,31 +1,5 @@
package com.jsowell.pile.service;
import com.jsowell.pile.domain.OrderSplitRecord;
import java.util.List;
public interface OrderSplitRecordService{
int deleteByPrimaryKey(Integer id);
int insert(OrderSplitRecord record);
int insertOrUpdate(OrderSplitRecord record);
int insertOrUpdateSelective(OrderSplitRecord record);
int insertSelective(OrderSplitRecord record);
OrderSplitRecord selectByPrimaryKey(Integer id);
int updateByPrimaryKeySelective(OrderSplitRecord record);
int updateByPrimaryKey(OrderSplitRecord record);
int updateBatch(List<OrderSplitRecord> list);
int updateBatchSelective(List<OrderSplitRecord> list);
int batchInsert(List<OrderSplitRecord> list);
}

View File

@@ -13,59 +13,4 @@ public class OrderSplitRecordServiceImpl implements OrderSplitRecordService{
@Resource
private OrderSplitRecordMapper orderSplitRecordMapper;
@Override
public int deleteByPrimaryKey(Integer id) {
return orderSplitRecordMapper.deleteByPrimaryKey(id);
}
@Override
public int insert(OrderSplitRecord record) {
return orderSplitRecordMapper.insert(record);
}
@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 updateByPrimaryKey(OrderSplitRecord record) {
return orderSplitRecordMapper.updateByPrimaryKey(record);
}
@Override
public int updateBatch(List<OrderSplitRecord> list) {
return orderSplitRecordMapper.updateBatch(list);
}
@Override
public int updateBatchSelective(List<OrderSplitRecord> list) {
return orderSplitRecordMapper.updateBatchSelective(list);
}
@Override
public int batchInsert(List<OrderSplitRecord> list) {
return orderSplitRecordMapper.batchInsert(list);
}
}