This commit is contained in:
邹宗楠
2022-10-18 10:30:37 +08:00
parent c0d92f612e
commit 03069ce0fe
19 changed files with 187 additions and 19 deletions

View File

@@ -47,3 +47,9 @@ func UpdateStoreAuthorize(storeId int64) error {
_, err := globals.GetDB().Exec(`UPDATE print_bind_store SET store_status = ? WHERE store_id = ?`, []interface{}{storeModel.StoreStatusLose, storeId}...)
return err
}
// PrintLoseUser 门店打印机失去所属用户,一般是打印机解绑在重新绑定!触发
func PrintLoseUser() {
//_, err := globals.GetDB().Exec(`UPDATE print_bind_store SET store_status = ? WHERE store_id = ?`, []interface{}{storeModel.StoreStatusLose, storeId}...)
//return err
}