cost plan fixbug if_usedcar add intval

This commit is contained in:
qianhy
2023-03-03 15:08:23 +08:00
parent 61450335f4
commit 2e91f779b4
+2 -1
View File
@@ -507,7 +507,7 @@ class Order extends CI_Controller{
exit();*/
foreach ($rows as $item) {
$if_usedcar = $item['if_usedcar'];
$if_usedcar = intval($item['if_usedcar']);
//`if_insure` tinyint(1) NOT NULL DEFAULT '0' COMMENT '是否保险(0否 1是)',
//`if_num` tinyint(1) NOT NULL DEFAULT '0' COMMENT '是否上牌(0否 1是)',
@@ -529,6 +529,7 @@ class Order extends CI_Controller{
echo "biz_id: {$item['biz_id']}"."<br>";
echo "status: {$item['status']}"."<br>";
echo "if_usedcar: {$if_usedcar}"."<br>";
var_dump($if_usedcar);echo "<br>";
echo "if_num: {$item['if_num']}"."<br>";
echo "if_insure: {$item['if_insure']}"."<br>";
echo "srv_ids: {$item['srv_ids']}"."<br>";