From 53b83f1b5fd89336438dfa6de33541fcd81a290f Mon Sep 17 00:00:00 2001 From: yinbentan <yinbentan@live.com> Date: 星期三, 03 七月 2024 11:27:43 +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