|
|
@@ -58,6 +58,9 @@ class StatKindController extends BaseController
|
|
|
$kindStat[$kindId]['makeNum'] = $num;
|
|
|
$kindStat[$kindId]['flowerNum'] = $totalFlowerNum;
|
|
|
$kindStat[$kindId]['kindName'] = $kindName;
|
|
|
+ if (isset($kindStat[$kindId]['saleNum']) == false) {
|
|
|
+ $kindStat[$kindId]['saleNum'] = 0;
|
|
|
+ }
|
|
|
}
|
|
|
}
|
|
|
}
|
|
|
@@ -85,6 +88,10 @@ class StatKindController extends BaseController
|
|
|
} else {
|
|
|
$kindStat[$kindId]['saleNum'] = $num;
|
|
|
$kindStat[$kindId]['kindName'] = $kindName;
|
|
|
+ if (isset($kindStat[$kindId]['makeNum']) == false) {
|
|
|
+ $kindStat[$kindId]['makeNum'] = 0;
|
|
|
+ $kindStat[$kindId]['flowerNum'] = 0;
|
|
|
+ }
|
|
|
}
|
|
|
}
|
|
|
}
|