storelevel

This commit is contained in:
苏尹岚
2020-10-15 15:32:56 +08:00
parent d202109225
commit 5908e49da8

View File

@@ -1095,6 +1095,9 @@ func CreateStore(ctx *jxcontext.Context, storeExt *StoreExt, userName string) (i
store.PrinterKey = newID2
}
}
if store.StoreLevel == "" {
store.StoreLevel = "C"
}
dao.WrapAddIDCULDEntity(store, userName)
store.ID = existingID
if err = dao.CreateEntity(db, store); err == nil {