controllers/location.go
@@ -4,6 +4,7 @@ "errors" "github.com/gin-gonic/gin" "strconv" "strings" "wms/extend/code" "wms/extend/util" "wms/models" @@ -159,7 +160,7 @@ } params.JointName = first.JointName + "/" + params.Name } else { params.JointName = params.Name params.JointName = strings.Split(params.JointName, "/")[0] + "/" + params.Name } err := models.NewLocationSearch().Update(¶ms) if err != nil {