From eae7648dfc2085a849401f9e49de184002f1cece Mon Sep 17 00:00:00 2001
From: jiangshuai <291802688@qq.com>
Date: 星期四, 21 九月 2023 17:46:31 +0800
Subject: [PATCH] 1.出入库一部分代码

---
 models/operation_type.go |    7 ++++++-
 1 files changed, 6 insertions(+), 1 deletions(-)

diff --git a/models/operation_type.go b/models/operation_type.go
index acb9c79..aac39b3 100644
--- a/models/operation_type.go
+++ b/models/operation_type.go
@@ -46,7 +46,7 @@
 )
 
 func (slf *OperationType) TableName() string {
-	return "job_type"
+	return "wms_job_type"
 }
 
 func NewOperationTypeSearch() *OperationTypeSearch {
@@ -88,6 +88,11 @@
 	return slf
 }
 
+func (slf *OperationTypeSearch) SetBaseOperationType(baseOperationType constvar.BaseOperationType) *OperationTypeSearch {
+	slf.BaseOperationType = baseOperationType
+	return slf
+}
+
 func (slf *OperationTypeSearch) build() *gorm.DB {
 	var db = slf.Orm.Model(&OperationType{})
 

--
Gitblit v1.8.0