storelevel
This commit is contained in:
@@ -1095,6 +1095,9 @@ func CreateStore(ctx *jxcontext.Context, storeExt *StoreExt, userName string) (i
|
|||||||
store.PrinterKey = newID2
|
store.PrinterKey = newID2
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
if store.StoreLevel == "" {
|
||||||
|
store.StoreLevel = "C"
|
||||||
|
}
|
||||||
dao.WrapAddIDCULDEntity(store, userName)
|
dao.WrapAddIDCULDEntity(store, userName)
|
||||||
store.ID = existingID
|
store.ID = existingID
|
||||||
if err = dao.CreateEntity(db, store); err == nil {
|
if err = dao.CreateEntity(db, store); err == nil {
|
||||||
|
|||||||
Reference in New Issue
Block a user