重新修改盈亏逻辑
This commit is contained in:
@@ -16,17 +16,19 @@ public class ProjectProfitLossVO {
|
||||
@JsonFormat(shape = JsonFormat.Shape.STRING)
|
||||
private BigDecimal originalFunds; // 原始合同金额
|
||||
private String projectRemark; // 项目备注(用于判断币种)
|
||||
private BigDecimal contractAmountUsd; // 美元合同金额
|
||||
private Integer isUsd; // 是否美元(1是,0否)
|
||||
// 从财务明细中汇总的总收入(仅用于无合同额的项目)
|
||||
@JsonFormat(shape = JsonFormat.Shape.STRING)
|
||||
private BigDecimal detailIncome;
|
||||
private BigDecimal exchangeRate; // 实时汇率
|
||||
// 从财务明细中汇总的总支出(所有项目的成本来源)
|
||||
@JsonFormat(shape = JsonFormat.Shape.STRING)
|
||||
private BigDecimal contractAmountCny; // 人民币合同金额
|
||||
private BigDecimal totalExpenditure;
|
||||
// 最终计算出的总收入(人民币,展示用)
|
||||
@JsonFormat(shape = JsonFormat.Shape.STRING)
|
||||
private BigDecimal warehouseCost;
|
||||
@JsonFormat(shape = JsonFormat.Shape.STRING)
|
||||
private BigDecimal hrCost;
|
||||
private BigDecimal totalIncomeCny;
|
||||
@JsonFormat(shape = JsonFormat.Shape.STRING)
|
||||
private BigDecimal profitLoss; //盈亏金额
|
||||
// ...其他字段
|
||||
// getter/setter
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user