作者 陈志颖

fix:修复订单产品分红状态初始值设置

... ... @@ -127,6 +127,7 @@ func (dividendsOrderService *DividendsOrderService) CreateDividendsOrder(createD
CooperationContractNumber: orderGood.CooperationContractNumber,
OrderGoodExpense: orderGood.OrderGoodExpense,
OrgId: createDividendsOrderCommand.OrgId,
OrderGoodDividendsStatus: 1,
CompanyId: createDividendsOrderCommand.CompanyId,
CreatedAt: time.Time{},
DeletedAt: time.Time{},
... ...
... ... @@ -121,6 +121,7 @@ func (dividendsReturnedOrderService *DividendsReturnedOrderService) CreateDivide
DividendsOrderNumber: "",
DividendsReturnedOrderNumber: dividendsReturnedOrderNumber,
CooperationContractNumber: orderGood.CooperationContractNumber,
OrderGoodDividendsStatus: 1,
OrderGoodExpense: 0,
OrgId: createDividendsReturnedOrderCommand.OrgId,
CompanyId: createDividendsReturnedOrderCommand.CompanyId,
... ...
... ... @@ -34,7 +34,7 @@ type CooperationProject struct {
Operator *User `json:"operator"`
// 操作时间
OperateTime time.Time `json:"operateTime"`
// 共创项目状态,1招标中,2结束
// 共创项目状态,1招标中,2结束
Status int32 `json:"status"`
// 更新时间
UpdatedAt time.Time `json:"updatedAt"`
... ...