model/contract.go | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 | |
model/customerServiceSheet.go | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 | |
model/orderManage.go | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 | |
model/plan.go | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 | |
model/salesDetails.go | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 | |
model/salesRefund.go | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 | |
model/serviceContracts.go | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 | |
model/serviceFollowup.go | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 |
model/contract.go
@@ -15,6 +15,7 @@ Quotation Quotation `json:"quotation" gorm:"foreignKey:QuotationId;references:Id"` StatusId int `json:"statusId" gorm:"column:status_id;type:int;comment:合同状态"` File string `json:"file" gorm:"column:file;type:varchar(255);comment:合同文件"` gorm.Model `json:"-"` } ContractSearch struct { model/customerServiceSheet.go
New file @@ -0,0 +1,20 @@ package model import "gorm.io/gorm" type ( CustomerServiceSheet struct { Id int `json:"id" gorm:"column:id;primary_key;AUTO_INCREMENT"` MemberId int `json:"memberId" gorm:"column:member_id;type:int;comment:服务人员id"` Number string `json:"number" gorm:"column:number;type:varchar(255);comment:服务单号"` ServiceMode int `json:"serviceMode" gorm:"column:service_mode;type:int;comment:服务方式"` Priority int `json:"priority" gorm:"column:priority;type:int;comment:优先级"` HandleStatus int `json:"handleStatus" gorm:"column:handle_status;type:int;comment:处理状态"` gorm.Model `json:"-"` } CustomerServiceSheetSearch struct { CustomerServiceSheet Orm *gorm.DB } ) model/orderManage.go
@@ -17,6 +17,7 @@ SourceSheet int `json:"sourceSheet" gorm:"column:source_sheet;type:int;comment:来源单据"` ProblemDescription string `json:"problemDescription" gorm:"column:problem_description;type:text;comment:问题描述"` File string `json:"file" gorm:"column:file;type:varchar(255);comment:附件"` gorm.Model `json:"-"` } OrderManageSearch struct { model/plan.go
@@ -20,6 +20,7 @@ EndTime time.Time `json:"endTime" gorm:"column:end_time;type:datetime;comment:结束时间"` Content string `json:"content" gorm:"column:content;type:varchar(255);comment:计划内容"` File string `json:"file" gorm:"column:file;type:varchar(255);comment:附件"` gorm.Model `json:"-"` } PlanSearch struct { model/salesDetails.go
@@ -23,6 +23,7 @@ Conditions string `json:"conditions" gorm:"column:conditions;type:text;comment:条件"` Remark string `json:"remark" gorm:"column:remark;type:text;comment:备注"` Products []Product `json:"products" gorm:"many2many:salesDetails_product;"` gorm.Model `json:"-"` } SalesDetailsSearch struct { model/salesRefund.go
@@ -18,6 +18,7 @@ IsInvoice int `json:"isInvoice" gorm:"column:is_invoice;type:int;comment:是否开票"` Reason string `json:"reason" gorm:"column:reason;type:varchar(255);comment:退款原因"` Products []Product `json:"products" gorm:"many2many:salesRefund_product;"` gorm.Model `json:"-"` } SalesRefundSearch struct { model/serviceContracts.go
@@ -25,6 +25,7 @@ Terms string `json:"terms" gorm:"column:terms;type:text;comment:条款"` Remark string `json:"remark" gorm:"column:remark;type:text;comment:备注"` Products []Product `json:"products" gorm:"many2many:serviceContract_product;"` gorm.Model `json:"-"` } ServiceContractSearch struct { model/serviceFollowup.go
@@ -21,6 +21,7 @@ OldMemberId int `json:"oldMemberId" gorm:"column:old_member_id;type:int;comment:原服务人员"` Remark string `json:"remark" gorm:"column:remark;type:text;comment:备注"` File string `json:"file" gorm:"column:file;type:varchar(255);comment:附件"` gorm.Model `json:"-"` } ServiceFollowupSearch struct {