diff --git a/business/dao/print_bind_store.go b/business/dao/print_bind_store.go index ae638f7bc..07fac97cb 100644 --- a/business/dao/print_bind_store.go +++ b/business/dao/print_bind_store.go @@ -33,3 +33,5 @@ func BindStoreList(req *model.AddPrinterParam, userId string) error { } return CreateEntity(GetDB(), param) } + +// 删除绑定门店 diff --git a/business/jxstore/cms/print.go b/business/jxstore/cms/print.go index f1cf98557..7eaa7ddff 100644 --- a/business/jxstore/cms/print.go +++ b/business/jxstore/cms/print.go @@ -255,6 +255,7 @@ func DelPrinter(appID int, printNos []string) (err error) { continue } else { printers[0].DeletedAt = time.Now() + if _, err = dao.UpdateEntity(db, printers[0], "DeletedAt"); err != nil { errs = append(errs, err) continue