作者 陈志颖

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

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