mirror of
https://codeup.aliyun.com/67c68d4e484ca2f0a13ac3c1/ydc/jsowell-charger-web.git
synced 2026-04-21 03:25:12 +08:00
update 分成功能
This commit is contained in:
@@ -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);
|
||||
}
|
||||
@@ -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);
|
||||
|
||||
}
|
||||
|
||||
@@ -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);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user