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,103 @@
|
||||
package com.jsowell.pile.domain;
|
||||
|
||||
import java.math.BigDecimal;
|
||||
import java.util.Date;
|
||||
import lombok.AllArgsConstructor;
|
||||
import lombok.Builder;
|
||||
import lombok.Data;
|
||||
import lombok.NoArgsConstructor;
|
||||
import lombok.experimental.Accessors;
|
||||
import lombok.experimental.SuperBuilder;
|
||||
|
||||
@Data
|
||||
@Accessors(chain = true)
|
||||
@SuperBuilder
|
||||
@Builder
|
||||
@AllArgsConstructor
|
||||
@NoArgsConstructor
|
||||
public class AdapayUnsplitRecord {
|
||||
/**
|
||||
* 主键
|
||||
*/
|
||||
private Integer id;
|
||||
|
||||
/**
|
||||
* 商户号
|
||||
*/
|
||||
private String merchantCode;
|
||||
|
||||
/**
|
||||
* 支付时间
|
||||
*/
|
||||
private Date payTime;
|
||||
|
||||
/**
|
||||
* 交易流水号
|
||||
*/
|
||||
private String paymentId;
|
||||
|
||||
/**
|
||||
* 交易订单号
|
||||
*/
|
||||
private String orderNo;
|
||||
|
||||
/**
|
||||
* 交易订单金额(也就是支付金额)
|
||||
*/
|
||||
private BigDecimal payAmount;
|
||||
|
||||
/**
|
||||
* 已确认分账金额(已经分账的金额)
|
||||
*/
|
||||
private BigDecimal confirmedSplitAmount;
|
||||
|
||||
/**
|
||||
* 已撤销金额(订单已经退款的金额)
|
||||
*/
|
||||
private BigDecimal refundAmount;
|
||||
|
||||
/**
|
||||
* 支付确认撤销金额(分帐后又撤销的金额)
|
||||
*/
|
||||
private BigDecimal paymentRevokeAmount;
|
||||
|
||||
/**
|
||||
* 剩余未分账金额(现在未分账的金额)
|
||||
*/
|
||||
private BigDecimal remainingSplitAmount;
|
||||
|
||||
/**
|
||||
* 订单编号
|
||||
*/
|
||||
private String orderCode;
|
||||
|
||||
/**
|
||||
* 桩类型(ev汽车桩;ebike电单车桩)
|
||||
*/
|
||||
private String pileType;
|
||||
|
||||
/**
|
||||
* 查询订单中退款金额(应退金额,可能没有退)
|
||||
*/
|
||||
private BigDecimal dueRefundAmount;
|
||||
|
||||
/**
|
||||
* 查询订单中结算金额(结算金额,也就是应该分账的金额)
|
||||
*/
|
||||
private BigDecimal settleAmount;
|
||||
|
||||
/**
|
||||
* 退款标识
|
||||
*/
|
||||
private String refundFlag;
|
||||
|
||||
/**
|
||||
* 分账标识
|
||||
*/
|
||||
private String splitFlag;
|
||||
|
||||
/**
|
||||
* 更新时间
|
||||
*/
|
||||
private Date updateTime;
|
||||
}
|
||||
@@ -0,0 +1,29 @@
|
||||
package com.jsowell.pile.mapper;
|
||||
|
||||
import com.jsowell.pile.domain.AdapayUnsplitRecord;
|
||||
import java.util.List;
|
||||
import org.apache.ibatis.annotations.Param;
|
||||
|
||||
public interface AdapayUnsplitRecordMapper {
|
||||
int deleteByPrimaryKey(Integer id);
|
||||
|
||||
int insert(AdapayUnsplitRecord record);
|
||||
|
||||
int insertOrUpdate(AdapayUnsplitRecord record);
|
||||
|
||||
int insertOrUpdateSelective(AdapayUnsplitRecord record);
|
||||
|
||||
int insertSelective(AdapayUnsplitRecord record);
|
||||
|
||||
AdapayUnsplitRecord selectByPrimaryKey(Integer id);
|
||||
|
||||
int updateByPrimaryKeySelective(AdapayUnsplitRecord record);
|
||||
|
||||
int updateByPrimaryKey(AdapayUnsplitRecord record);
|
||||
|
||||
int updateBatch(@Param("list") List<AdapayUnsplitRecord> list);
|
||||
|
||||
int updateBatchSelective(@Param("list") List<AdapayUnsplitRecord> list);
|
||||
|
||||
int batchInsert(@Param("list") List<AdapayUnsplitRecord> list);
|
||||
}
|
||||
@@ -0,0 +1,29 @@
|
||||
package com.jsowell.pile.service;
|
||||
|
||||
import com.jsowell.pile.domain.AdapayUnsplitRecord;
|
||||
import java.util.List;
|
||||
public interface AdapayUnsplitRecordService{
|
||||
|
||||
int deleteByPrimaryKey(Integer id);
|
||||
|
||||
int insert(AdapayUnsplitRecord record);
|
||||
|
||||
int insertOrUpdate(AdapayUnsplitRecord record);
|
||||
|
||||
int insertOrUpdateSelective(AdapayUnsplitRecord record);
|
||||
|
||||
int insertSelective(AdapayUnsplitRecord record);
|
||||
|
||||
AdapayUnsplitRecord selectByPrimaryKey(Integer id);
|
||||
|
||||
int updateByPrimaryKeySelective(AdapayUnsplitRecord record);
|
||||
|
||||
int updateByPrimaryKey(AdapayUnsplitRecord record);
|
||||
|
||||
int updateBatch(List<AdapayUnsplitRecord> list);
|
||||
|
||||
int updateBatchSelective(List<AdapayUnsplitRecord> list);
|
||||
|
||||
int batchInsert(List<AdapayUnsplitRecord> list);
|
||||
|
||||
}
|
||||
@@ -0,0 +1,72 @@
|
||||
package com.jsowell.web.controller.pile;
|
||||
|
||||
import org.springframework.stereotype.Service;
|
||||
|
||||
import org.springframework.beans.factory.annotation.Autowired;
|
||||
|
||||
import com.jsowell.pile.domain.AdapayUnsplitRecord;
|
||||
import java.util.List;
|
||||
import com.jsowell.pile.mapper.AdapayUnsplitRecordMapper;
|
||||
import com.jsowell.pile.service.AdapayUnsplitRecordService;
|
||||
@Service
|
||||
public class AdapayUnsplitRecordServiceImpl implements AdapayUnsplitRecordService{
|
||||
|
||||
@Autowired
|
||||
private AdapayUnsplitRecordMapper adapayUnsplitRecordMapper;
|
||||
|
||||
@Override
|
||||
public int deleteByPrimaryKey(Integer id) {
|
||||
return adapayUnsplitRecordMapper.deleteByPrimaryKey(id);
|
||||
}
|
||||
|
||||
@Override
|
||||
public int insert(AdapayUnsplitRecord record) {
|
||||
return adapayUnsplitRecordMapper.insert(record);
|
||||
}
|
||||
|
||||
@Override
|
||||
public int insertOrUpdate(AdapayUnsplitRecord record) {
|
||||
return adapayUnsplitRecordMapper.insertOrUpdate(record);
|
||||
}
|
||||
|
||||
@Override
|
||||
public int insertOrUpdateSelective(AdapayUnsplitRecord record) {
|
||||
return adapayUnsplitRecordMapper.insertOrUpdateSelective(record);
|
||||
}
|
||||
|
||||
@Override
|
||||
public int insertSelective(AdapayUnsplitRecord record) {
|
||||
return adapayUnsplitRecordMapper.insertSelective(record);
|
||||
}
|
||||
|
||||
@Override
|
||||
public AdapayUnsplitRecord selectByPrimaryKey(Integer id) {
|
||||
return adapayUnsplitRecordMapper.selectByPrimaryKey(id);
|
||||
}
|
||||
|
||||
@Override
|
||||
public int updateByPrimaryKeySelective(AdapayUnsplitRecord record) {
|
||||
return adapayUnsplitRecordMapper.updateByPrimaryKeySelective(record);
|
||||
}
|
||||
|
||||
@Override
|
||||
public int updateByPrimaryKey(AdapayUnsplitRecord record) {
|
||||
return adapayUnsplitRecordMapper.updateByPrimaryKey(record);
|
||||
}
|
||||
|
||||
@Override
|
||||
public int updateBatch(List<AdapayUnsplitRecord> list) {
|
||||
return adapayUnsplitRecordMapper.updateBatch(list);
|
||||
}
|
||||
|
||||
@Override
|
||||
public int updateBatchSelective(List<AdapayUnsplitRecord> list) {
|
||||
return adapayUnsplitRecordMapper.updateBatchSelective(list);
|
||||
}
|
||||
|
||||
@Override
|
||||
public int batchInsert(List<AdapayUnsplitRecord> list) {
|
||||
return adapayUnsplitRecordMapper.batchInsert(list);
|
||||
}
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user