質問編集履歴
1
記述ミスがあったので直しました
test
CHANGED
File without changes
|
test
CHANGED
@@ -176,7 +176,7 @@
|
|
176
176
|
|
177
177
|
$this->autoRender = false;
|
178
178
|
|
179
|
-
$this->loadModel("
|
179
|
+
$this->loadModel("dtb");
|
180
180
|
|
181
181
|
$limitdata = null;
|
182
182
|
|
@@ -186,17 +186,17 @@
|
|
186
186
|
|
187
187
|
|
188
188
|
|
189
|
-
$limitdata = $this->
|
189
|
+
$limitdata = $this->dtb->find('all',array(
|
190
|
-
|
190
|
+
|
191
|
-
'fields' => array("created","id","terminalid", "siteid", "
|
191
|
+
'fields' => array("created","id","terminalid", "siteid", "dtbid", "model", "modelver", "androidver" , "tel", "akey", "macaddr"),
|
192
|
-
|
192
|
+
|
193
|
-
// 'conditions' => array('
|
193
|
+
// 'conditions' => array('dtb.id' => 10),
|
194
194
|
|
195
195
|
'order' => array('id' => 'asc'),
|
196
196
|
|
197
197
|
'limit' => $this->request->data["limit"],
|
198
198
|
|
199
|
-
'group' => array('
|
199
|
+
'group' => array('dtb.id'),
|
200
200
|
|
201
201
|
'page' => $this->request->data["page"],
|
202
202
|
|