作者 陈志颖

fix:数据模型tag修复

... ... @@ -8,7 +8,7 @@ import (
type CreditAccount struct {
tableName string `comment:"账期结算单实体" pg:"credit_accounts,alias:credit_account"`
// 账期结算单ID
CreditAccountId int64 `comment:"账期结算单ID" pg:"pk:credit_account_id"`
CreditAccountId int64 `comment:"账期结算单ID" pg:",pk:credit_account_id"`
// 账期结算实付金额
ActuallyPaidAmount float64 `comment:"账期结算实付金额"`
// 账期结算单号
... ...
... ... @@ -8,7 +8,7 @@ import (
type DividendsOrder struct {
tableName string `comment:"分红订单实体" pg:"dividends_orders,alias:dividends_order"`
// 分红订单ID
DividendsOrderId int64 `comment:"分红订单ID" pg:"pk:dividends_order_id"`
DividendsOrderId int64 `comment:"分红订单ID" pg:",pk:dividends_order_id"`
// 分红订单号
DividendsOrderNumber string `comment:"分红订单号"`
// 分红订单原单号
... ...
... ... @@ -8,7 +8,7 @@ import (
type DividendsReturnedOrder struct {
tableName string `comment:"分红退货单实体" pg:"dividends_returned_orders,alias:dividends_returned_order"`
// 分红退货单记录ID
DividendsReturnedOrderId int64 `comment:"分红退货单记录ID" pg:"pk:dividends_returned_order_id"`
DividendsReturnedOrderId int64 `comment:"分红退货单记录ID" pg:",pk:dividends_returned_order_id"`
// 分红退货单号
DividendsReturnedOrderNumber string `comment:"分红退货单号"`
// 退货金额
... ...
... ... @@ -5,7 +5,7 @@ import "time"
type OrderGood struct {
tableName string `comment:"订单产品领域实体(包括分红订单、分红退货单)" pg:"order_goods,alias:order_good"`
// 订单产品
OrderGoodId int64 `comment:"订单产品" pg:"pk:order_good_id"`
OrderGoodId int64 `comment:"订单产品" pg:",pk:order_good_id"`
// 订单产品金额
OrderGoodAmount float64 `comment:"订单产品金额"`
// 订单产品名称
... ...