gaoluyang
7 小时以前 2a26a5fa027d17aa11bde0b7fdc4e80bde554c84
yudao-module-crm/src/main/java/cn/iocoder/yudao/module/crm/controller/admin/business/vo/business/CrmBusinessSaveReqVO.java
@@ -43,9 +43,8 @@
    @DiffLogField(name = "负责人", function = SysAdminUserParseFunction.NAME)
    private Long ownerUserId;
    @Schema(description = "商机状态组编号", requiredMode = Schema.RequiredMode.REQUIRED, example = "25714")
    @Schema(description = "商机状态组编号(非必填:未选择时不带默认阶段,也不参与状态组统计)", example = "25714")
    @DiffLogField(name = "商机状态组")
    @NotNull(message = "商机状态组不能为空")
    private Long statusTypeId;
    @Schema(description = "预计成交日期")
@@ -57,6 +56,12 @@
    @DiffLogField(name = "整单折扣")
    @NotNull(message = "整单折扣不能为空")
    private BigDecimal discountPercent;
    @Schema(description = "产品总价", example = "12000.00")
    private BigDecimal totalProductPrice;
    @Schema(description = "商机总价(折后)", example = "11280.00")
    private BigDecimal totalPrice;
    @Schema(description = "备注", example = "随便")
    @DiffLogField(name = "备注")
@@ -73,6 +78,9 @@
    @NoArgsConstructor
    @AllArgsConstructor
    public static class BusinessProduct {
        @Schema(description = "产品关联编号", example = "5")
        private Long id;
        @Schema(description = "MDM 物料编号", requiredMode = Schema.RequiredMode.REQUIRED, example = "20529")
        @NotNull(message = "物料编号不能为空")
@@ -94,6 +102,9 @@
        @NotNull(message = "数量不能为空")
        private BigDecimal count;
        @Schema(description = "总计价格(businessPrice * count)", example = "12000.00")
        private BigDecimal totalPrice;
    }
}