質問編集履歴
1
変数名の変更
test
CHANGED
File without changes
|
test
CHANGED
@@ -46,15 +46,15 @@
|
|
46
46
|
|
47
47
|
```cakephp controller
|
48
48
|
|
49
|
-
$order_no = $this->request->data['Mt
|
49
|
+
$order_no = $this->request->data['MtAarCppliance']['order_no'];
|
50
50
|
|
51
|
-
$
|
51
|
+
$aarcppliances = $this->aarcppliances()
|
52
52
|
|
53
|
-
foreach ($
|
53
|
+
foreach ($aarcppliances as $key => $value){
|
54
54
|
|
55
|
-
if ($
|
55
|
+
if ($aarcppliances[$key]["MtAarCppliance"]["order_no"] >= $order_no){
|
56
56
|
|
57
|
-
$
|
57
|
+
$aarcppliances[$key]["MtAarCppliance"]["order_no"] = $order_no;
|
58
58
|
|
59
59
|
$order_no = $order_no + 1;
|
60
60
|
|