From 9557600da7a76df72ea6a1984340331577e88cb3 Mon Sep 17 00:00:00 2001
From: zhangqian <zhangqian@123.com>
Date: 星期四, 20 六月 2024 10:04:35 +0800
Subject: [PATCH] 物料导入保存动态属性代码逻辑修正

---
 models/location.go |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/models/location.go b/models/location.go
index bcae4ac..6bb50a0 100644
--- a/models/location.go
+++ b/models/location.go
@@ -156,6 +156,7 @@
 		db = db.Where("company_id=?", slf.CompanyId)
 	}
 	if slf.JointName != "" {
+		slf.JointName += "/"
 		db = db.Where("joint_name like ?", slf.JointName+"%")
 	}
 	if len(slf.JointNames) != 0 {

--
Gitblit v1.8.0