mirror of
https://codeup.aliyun.com/67c68d4e484ca2f0a13ac3c1/ydc/jsowell-charger-web.git
synced 2026-04-20 19:15:35 +08:00
update 查询充电桩详情
This commit is contained in:
@@ -0,0 +1,87 @@
|
||||
package com.jsowell.pile.domain;
|
||||
|
||||
import lombok.AllArgsConstructor;
|
||||
import lombok.Builder;
|
||||
import lombok.Data;
|
||||
import lombok.NoArgsConstructor;
|
||||
import lombok.experimental.Accessors;
|
||||
import lombok.experimental.SuperBuilder;
|
||||
|
||||
import java.math.BigDecimal;
|
||||
import java.util.Date;
|
||||
|
||||
/**
|
||||
* 订单分账信息表
|
||||
*/
|
||||
@Data
|
||||
@Accessors(chain = true)
|
||||
@SuperBuilder
|
||||
@Builder
|
||||
@AllArgsConstructor
|
||||
@NoArgsConstructor
|
||||
public class OrderSplitInfo {
|
||||
/**
|
||||
* 主键
|
||||
*/
|
||||
private Integer id;
|
||||
|
||||
/**
|
||||
* 订单编号
|
||||
*/
|
||||
private String orderCode;
|
||||
|
||||
/**
|
||||
* 订单结算金额(总金额)
|
||||
*/
|
||||
private BigDecimal settleAmount;
|
||||
|
||||
/**
|
||||
* 汇付用户id
|
||||
*/
|
||||
private String adapayMemberId;
|
||||
|
||||
/**
|
||||
* 分润比例
|
||||
*/
|
||||
private BigDecimal shareRatio;
|
||||
|
||||
/**
|
||||
* 分润金额
|
||||
*/
|
||||
private BigDecimal shareAmount;
|
||||
|
||||
/**
|
||||
* 分账状态
|
||||
*/
|
||||
private String status;
|
||||
|
||||
/**
|
||||
* 备注
|
||||
*/
|
||||
private String remark;
|
||||
|
||||
/**
|
||||
* 创建人
|
||||
*/
|
||||
private String cerateBy;
|
||||
|
||||
/**
|
||||
* 创建时间
|
||||
*/
|
||||
private Date createTime;
|
||||
|
||||
/**
|
||||
* 更新人
|
||||
*/
|
||||
private String updateBy;
|
||||
|
||||
/**
|
||||
* 更新时间
|
||||
*/
|
||||
private Date updateTime;
|
||||
|
||||
/**
|
||||
* 删除标识(0-正常; 1-删除)
|
||||
*/
|
||||
private String delFlag;
|
||||
}
|
||||
@@ -0,0 +1,30 @@
|
||||
package com.jsowell.pile.mapper;
|
||||
|
||||
import com.jsowell.pile.domain.OrderSplitInfo;
|
||||
import org.apache.ibatis.annotations.Param;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
public interface OrderSplitInfoMapper {
|
||||
int deleteByPrimaryKey(Integer id);
|
||||
|
||||
int insert(OrderSplitInfo record);
|
||||
|
||||
int insertOrUpdate(OrderSplitInfo record);
|
||||
|
||||
int insertOrUpdateSelective(OrderSplitInfo record);
|
||||
|
||||
int insertSelective(OrderSplitInfo record);
|
||||
|
||||
OrderSplitInfo selectByPrimaryKey(Integer id);
|
||||
|
||||
int updateByPrimaryKeySelective(OrderSplitInfo record);
|
||||
|
||||
int updateByPrimaryKey(OrderSplitInfo record);
|
||||
|
||||
int updateBatch(List<OrderSplitInfo> list);
|
||||
|
||||
int updateBatchSelective(List<OrderSplitInfo> list);
|
||||
|
||||
int batchInsert(@Param("list") List<OrderSplitInfo> list);
|
||||
}
|
||||
@@ -0,0 +1,31 @@
|
||||
package com.jsowell.pile.service;
|
||||
|
||||
import com.jsowell.pile.domain.OrderSplitInfo;
|
||||
|
||||
import java.util.List;
|
||||
public interface OrderSplitInfoService{
|
||||
|
||||
|
||||
int deleteByPrimaryKey(Integer id);
|
||||
|
||||
int insert(OrderSplitInfo record);
|
||||
|
||||
int insertOrUpdate(OrderSplitInfo record);
|
||||
|
||||
int insertOrUpdateSelective(OrderSplitInfo record);
|
||||
|
||||
int insertSelective(OrderSplitInfo record);
|
||||
|
||||
OrderSplitInfo selectByPrimaryKey(Integer id);
|
||||
|
||||
int updateByPrimaryKeySelective(OrderSplitInfo record);
|
||||
|
||||
int updateByPrimaryKey(OrderSplitInfo record);
|
||||
|
||||
int updateBatch(List<OrderSplitInfo> list);
|
||||
|
||||
int updateBatchSelective(List<OrderSplitInfo> list);
|
||||
|
||||
int batchInsert(List<OrderSplitInfo> list);
|
||||
|
||||
}
|
||||
@@ -0,0 +1,71 @@
|
||||
package com.jsowell.pile.service.impl;
|
||||
|
||||
import com.jsowell.pile.domain.OrderSplitInfo;
|
||||
import com.jsowell.pile.mapper.OrderSplitInfoMapper;
|
||||
import com.jsowell.pile.service.OrderSplitInfoService;
|
||||
import org.springframework.stereotype.Service;
|
||||
|
||||
import javax.annotation.Resource;
|
||||
import java.util.List;
|
||||
@Service
|
||||
public class OrderSplitInfoServiceImpl implements OrderSplitInfoService{
|
||||
|
||||
@Resource
|
||||
private OrderSplitInfoMapper orderSplitInfoMapper;
|
||||
|
||||
@Override
|
||||
public int deleteByPrimaryKey(Integer id) {
|
||||
return orderSplitInfoMapper.deleteByPrimaryKey(id);
|
||||
}
|
||||
|
||||
@Override
|
||||
public int insert(OrderSplitInfo record) {
|
||||
return orderSplitInfoMapper.insert(record);
|
||||
}
|
||||
|
||||
@Override
|
||||
public int insertOrUpdate(OrderSplitInfo record) {
|
||||
return orderSplitInfoMapper.insertOrUpdate(record);
|
||||
}
|
||||
|
||||
@Override
|
||||
public int insertOrUpdateSelective(OrderSplitInfo record) {
|
||||
return orderSplitInfoMapper.insertOrUpdateSelective(record);
|
||||
}
|
||||
|
||||
@Override
|
||||
public int insertSelective(OrderSplitInfo record) {
|
||||
return orderSplitInfoMapper.insertSelective(record);
|
||||
}
|
||||
|
||||
@Override
|
||||
public OrderSplitInfo selectByPrimaryKey(Integer id) {
|
||||
return orderSplitInfoMapper.selectByPrimaryKey(id);
|
||||
}
|
||||
|
||||
@Override
|
||||
public int updateByPrimaryKeySelective(OrderSplitInfo record) {
|
||||
return orderSplitInfoMapper.updateByPrimaryKeySelective(record);
|
||||
}
|
||||
|
||||
@Override
|
||||
public int updateByPrimaryKey(OrderSplitInfo record) {
|
||||
return orderSplitInfoMapper.updateByPrimaryKey(record);
|
||||
}
|
||||
|
||||
@Override
|
||||
public int updateBatch(List<OrderSplitInfo> list) {
|
||||
return orderSplitInfoMapper.updateBatch(list);
|
||||
}
|
||||
|
||||
@Override
|
||||
public int updateBatchSelective(List<OrderSplitInfo> list) {
|
||||
return orderSplitInfoMapper.updateBatchSelective(list);
|
||||
}
|
||||
|
||||
@Override
|
||||
public int batchInsert(List<OrderSplitInfo> list) {
|
||||
return orderSplitInfoMapper.batchInsert(list);
|
||||
}
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user