fix
wangpengfei
2023-08-11 460e591f215fe64d6a097ff4b1ee836d181298ac
model/salesReturn.go
@@ -3,7 +3,6 @@
import (
   "aps_crm/pkg/mysqlx"
   "gorm.io/gorm"
   "time"
)
type (
@@ -13,7 +12,7 @@
      Number            string     `json:"number" gorm:"column:number;type:varchar(255);comment:退货单号"`
      Repository        string     `json:"repository" gorm:"column:repository;type:varchar(255);comment:仓库"`
      MemberId          int        `json:"memberId" gorm:"column:member_id;type:int;comment:负责人id"`
      ReturnDate        *time.Time `json:"returnDate" gorm:"column:return_date;type:datetime;comment:退货日期"`
      ReturnDate        *CustomTime `json:"returnDate" gorm:"column:return_date;type:datetime;comment:退货日期"`
      SalesReturnStatus int        `json:"salesReturnStatus" gorm:"column:sales_return_status;type:int;comment:退货状态"`
      Reason            string     `json:"reason" gorm:"column:reason;type:varchar(255);comment:退货原因"`
      Products          []Product  `json:"products" gorm:"many2many:salesReturn_product;"`