OSDN Git Service
(root)
/
invent
/
invent.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
aa2475e
)
Изменение ошибки определения неучтённого оборудования
master
author
Dmitry Dobryshin
<dimkainc@mail.ru>
Tue, 12 Jan 2021 05:38:36 +0000
(08:38 +0300)
committer
Dmitry Dobryshin
<dimkainc@mail.ru>
Tue, 12 Jan 2021 05:38:36 +0000
(08:38 +0300)
controllers/ItemsController.php
patch
|
blob
|
history
diff --git
a/controllers/ItemsController.php
b/controllers/ItemsController.php
index
907e63b
..
693d2e4
100644
(file)
--- a/
controllers/ItemsController.php
+++ b/
controllers/ItemsController.php
@@
-186,7
+186,7
@@
class ItemsController extends Controller
$model = Items::find()
->select('id')
->innerJoin([ 'm' => $modelS ], 'not m.item_id = id')
- ->Where(
['not', 'checked', 2]
)
+ ->Where(
'not checked = 2'
)
->all();
// Устанавливаем флаг непроинвентаризированных для всех предметов/оборудования из полученного списка.