[fix]修改分账,增加主子表查询与保存
This commit is contained in:
parent
1d578cbf8e
commit
8f1ccba127
@ -3,6 +3,7 @@ package com.wzj.soopin.transation.domain.po;
|
||||
|
||||
import com.alibaba.excel.annotation.ExcelProperty;
|
||||
import com.baomidou.mybatisplus.annotation.TableId;
|
||||
import com.baomidou.mybatisplus.annotation.TableName;
|
||||
import io.swagger.v3.oas.annotations.media.Schema;
|
||||
import lombok.Data;
|
||||
import org.dromara.common.mybatis.core.domain.BaseEntity;
|
||||
@ -17,6 +18,7 @@ import java.math.BigDecimal;
|
||||
*/
|
||||
@Schema(description = "订单分账明细")
|
||||
@Data
|
||||
@TableName("trans_divide_detail")
|
||||
public class DivideDetail extends BaseEntity {
|
||||
|
||||
/**
|
||||
@ -27,12 +29,13 @@ public class DivideDetail extends BaseEntity {
|
||||
@TableId
|
||||
private Long id;
|
||||
|
||||
|
||||
/**
|
||||
* 分账规则id
|
||||
*/
|
||||
@Schema(description = "分账规则id")
|
||||
@ExcelProperty(value = "分账规则id", order = 2)
|
||||
private Long ruleId;
|
||||
@Schema(description = "分账id")
|
||||
@ExcelProperty(value = "分账id", order = 2)
|
||||
private Long divideId;
|
||||
|
||||
/**
|
||||
* 分账规则明细id
|
||||
@ -76,7 +79,7 @@ public class DivideDetail extends BaseEntity {
|
||||
/**
|
||||
* 状态
|
||||
*/
|
||||
@Schema(description = "状态")
|
||||
@Schema(description = "状态 0 未分账 1 分账成功 2 分账失败")
|
||||
@ExcelProperty(value = "状态", order = 5)
|
||||
private Integer status;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user