liujiandao
2024-04-17 d2d498442471fbe39228db18a4d8e663888e049e
修改字段类型
5个文件已修改
12 ■■■■ 已修改文件
models/operation.go 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
proto/product_inventory/server.go 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
proto/purchase_wms/server.go 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
request/operation.go 4 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
service/operation.go 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
models/operation.go
@@ -26,7 +26,7 @@
        OperationDate     string                   `json:"operationDate" gorm:"type:varchar(31);comment:安排日期"`
        ContacterID       int                      `json:"contacterID" gorm:"type:int;comment:联系人ID"`
        ContacterName     string                   `json:"contacterName" gorm:"type:varchar(63);comment:联系人姓名"`
        CompanyID         int                      `json:"companyID" gorm:"type:int;comment:公司ID-客户"`
        CompanyID         string                   `json:"companyID" gorm:"type:varchar(255);comment:公司ID-客户"`
        CompanyName       string                   `json:"companyName" gorm:"type:varchar(127);comment:公司名称-客户"`
        Comment           string                   `json:"comment" gorm:"type:text;comment:备注"`
        LogisticCompanyId string                   `json:"logisticCompanyId"   gorm:"type:varchar(191);comment:物流公司id"`
proto/product_inventory/server.go
@@ -176,7 +176,7 @@
    operation.ReceiverAddr = req.Address
    operation.Source = req.Source
    operation.OperationSource = constvar.OperationSource(req.OperationSource)
    operation.CompanyID = int(req.ClientId)
    operation.CompanyID = strconv.FormatInt(req.ClientId, 10)
    operation.CompanyName = req.ClientName
    if req.DeliverType == 1 {
        for _, product := range req.ProductList {
proto/purchase_wms/server.go
@@ -25,7 +25,7 @@
    operation.Number = strconv.FormatInt(time.Now().Unix(), 10)
    operation.Status = constvar.OperationStatus_Ready
    operation.CompanyName = req.SupplierName
    operation.CompanyID = int(req.SupplierId)
    operation.CompanyID = strconv.FormatInt(req.SupplierId, 10)
    operation.Source = req.Source
    operation.OperationSource = constvar.OperationSource(req.OperationSource)
    operation.SalesDetailsNumber = req.SalesDetailsNumber
request/operation.go
@@ -18,7 +18,7 @@
    Details           []*OperationDetails `json:"details"`
    ContacterID       int                 `json:"contacterID" gorm:"type:int;comment:联系人ID"`           //联系人ID-非必填
    ContacterName     string              `json:"contacterName" gorm:"type:varchar(63);comment:联系人姓名"` //联系人姓名-非必填
    CompanyID         int                 `json:"companyID" gorm:"type:int;comment:公司ID"`              //公司ID-客户
    CompanyID         string              `json:"companyID"`                                           //公司ID-客户
    CompanyName       string              `json:"companyName" gorm:"type:varchar(127);comment:公司名称"`   //公司名称-客户名称
    Comment           string              `json:"comment" gorm:"type:text;comment:备注"`                 //备注
    LogisticCompanyId string              `json:"logisticCompanyId"   gorm:"type:varchar(191);comment:物流公司id"`
@@ -73,7 +73,7 @@
    Details           []*OperationDetails        `json:"details"`
    ContacterID       int                        `json:"contacterID" gorm:"type:int;comment:联系人ID"`           //联系人ID-非必填
    ContacterName     string                     `json:"contacterName" gorm:"type:varchar(63);comment:联系人姓名"` //联系人姓名-非必填
    CompanyID         int                        `json:"companyID" gorm:"type:int;comment:公司ID"`              //公司ID-客户
    CompanyID         string                     `json:"companyID"`                                           //公司ID-客户
    CompanyName       string                     `json:"companyName" gorm:"type:varchar(127);comment:公司名称"`   //公司名称-客户名称
    Comment           string                     `json:"comment" gorm:"type:text;comment:备注"`                 //备注
    BaseOperationType constvar.BaseOperationType `json:"baseOperationType"`                                   //基础作业类型
service/operation.go
@@ -70,7 +70,7 @@
            OperationDate:      time.Now().Format("2006-01-02 15:04:05"),
            ContacterID:        0,
            ContacterName:      "",
            CompanyID:          0,
            CompanyID:          "",
            CompanyName:        "",
            Comment:            "crm发货申请",
            LogisticCompanyId:  "",