1
This commit is contained in:
@@ -33,3 +33,5 @@ func BindStoreList(req *model.AddPrinterParam, userId string) error {
|
||||
}
|
||||
return CreateEntity(GetDB(), param)
|
||||
}
|
||||
|
||||
// 删除绑定门店
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user