SHOW FULL COLUMNS FROM `stock` [ RunTime:0.002274s ]
SELECT `s`.`id`,`s`.`userid`,`s`.`status`,`havePdf`,`categoryid`,`categories`,`minOrderPrice`,`minOrderQuantity`,`deliveryNum`,`sellNum`,`stockNum`,`code`,`partno`,`brand`,`package`,`imgurl`,`note`,`description`,`expiretime`,`pdfurl`,`t`.`name` FROM `stock` `s` LEFT JOIN `product_type` `t` ON `t`.`id`=`s`.`categoryid` WHERE ( `lockUser` = 0 AND `isDisplay` = 1 AND ( `partno` LIKE 'UNIRAILS1U%' OR `brand` LIKE 'UNIRAILS1U%' ) ) AND ( (s.platform = 1) ) ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.052045s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.002514s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 17053837 LIMIT 5 [ RunTime:0.034637s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.034520s ]
SELECT * FROM `stock_price` WHERE `stockid` = 17053837 ORDER BY `minOrder` ASC [ RunTime:0.008326s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.002427s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 17053837 ORDER BY `unit` DESC [ RunTime:0.015905s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.001424s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 17053837 LIMIT 2 [ RunTime:0.024736s ]
SELECT * FROM `stock_price` WHERE `stockid` = 17053837 ORDER BY `minOrder` ASC [ RunTime:0.011347s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 17055647 LIMIT 5 [ RunTime:0.077063s ]
SELECT * FROM `stock_price` WHERE `stockid` = 17055647 ORDER BY `minOrder` ASC [ RunTime:0.058771s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 17055647 ORDER BY `unit` DESC [ RunTime:0.042124s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 17055647 LIMIT 2 [ RunTime:0.014237s ]
SELECT * FROM `stock_price` WHERE `stockid` = 17055647 ORDER BY `minOrder` ASC [ RunTime:0.006155s ]
SELECT `s`.`id`,`s`.`userid`,`s`.`status`,`havePdf`,`categoryid`,`categories`,`minOrderPrice`,`minOrderQuantity`,`deliveryNum`,`sellNum`,`stockNum`,`code`,`partno`,`brand`,`package`,`imgurl`,`note`,`description`,`expiretime`,`pdfurl`,`t`.`name` FROM `stock` `s` LEFT JOIN `product_type` `t` ON `t`.`id`=`s`.`categoryid` WHERE ( `lockUser` = 0 AND `isDisplay` = 1 AND ( `partno` LIKE 'UNIRAILS1U%' OR `brand` LIKE 'UNIRAILS1U%' ) ) AND `s`.`platform` = '2' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.034982s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 32219266 LIMIT 5 [ RunTime:0.023022s ]
SELECT * FROM `stock_price` WHERE `stockid` = 32219266 ORDER BY `minOrder` ASC [ RunTime:0.041070s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 32219266 ORDER BY `unit` DESC [ RunTime:0.008798s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 32219266 LIMIT 2 [ RunTime:0.015189s ]
SELECT * FROM `stock_price` WHERE `stockid` = 32219266 ORDER BY `minOrder` ASC [ RunTime:0.036994s ]
select * from pdf where partno='unirails1ub' and brandshort='startech' limit 1 [ RunTime:0.020143s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.002466s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'unirails1ub' OR `brand` LIKE 'startech%' ) ) LIMIT 1 [ RunTime:0.021776s ]
SELECT `id` FROM `stock` WHERE `id` <> 32219266 AND `partno` = 'unirails1ub' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%startech%' ) [ RunTime:0.028623s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 32170657 [ RunTime:0.019030s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 17053837 [ RunTime:0.089801s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 32170657 LIMIT 5 [ RunTime:0.038429s ]
SELECT * FROM `stock_price` WHERE `stockid` = 32170657 ORDER BY `minOrder` ASC [ RunTime:0.030574s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 32170657 ORDER BY `unit` DESC [ RunTime:0.015280s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 32170657 LIMIT 2 [ RunTime:0.030915s ]
SELECT * FROM `stock_price` WHERE `stockid` = 32170657 ORDER BY `minOrder` ASC [ RunTime:0.004184s ]
select * from pdf where partno='unirails1ub' and brandshort='startech' limit 1 [ RunTime:0.005971s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'unirails1ub' OR `brand` LIKE 'startech%' ) ) LIMIT 1 [ RunTime:0.001828s ]
SELECT `id` FROM `stock` WHERE `id` <> 32170657 AND `partno` = 'unirails1ub' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%startech%' ) [ RunTime:0.021919s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 32219266 [ RunTime:0.009383s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 17053837 [ RunTime:0.012327s ]
SELECT `s`.`id`,`s`.`userid`,`s`.`status`,`havePdf`,`categoryid`,`categories`,`minOrderPrice`,`minOrderQuantity`,`deliveryNum`,`sellNum`,`stockNum`,`code`,`partno`,`brand`,`package`,`imgurl`,`note`,`description`,`expiretime`,`pdfurl`,`t`.`name` FROM `stock` `s` LEFT JOIN `product_type` `t` ON `t`.`id`=`s`.`categoryid` WHERE ( `lockUser` = 0 AND `isDisplay` = 1 AND ( `partno` LIKE 'UNIRAILS1U%' OR `brand` LIKE 'UNIRAILS1U%' ) ) AND `s`.`platform` = '3' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.030889s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 56655979 LIMIT 5 [ RunTime:0.023922s ]
SELECT * FROM `stock_price` WHERE `stockid` = 56655979 ORDER BY `minOrder` ASC [ RunTime:0.034315s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 56655979 ORDER BY `unit` DESC [ RunTime:0.005441s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 56655979 LIMIT 2 [ RunTime:0.009594s ]
SELECT * FROM `stock_price` WHERE `stockid` = 56655979 ORDER BY `minOrder` ASC [ RunTime:0.001477s ]
select * from pdf where partno='UNIRAILS1UB' and brandshort='StarTech.com' limit 1 [ RunTime:0.010513s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'UNIRAILS1UB' OR `brand` LIKE 'StarTech.com%' ) ) LIMIT 1 [ RunTime:0.010848s ]
SELECT `id` FROM `stock` WHERE `id` <> 56655979 AND `partno` = 'UNIRAILS1UB' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%startech.com%' ) [ RunTime:0.039641s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 17053837 [ RunTime:0.011558s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 56669050 LIMIT 5 [ RunTime:0.022990s ]
SELECT * FROM `stock_price` WHERE `stockid` = 56669050 ORDER BY `minOrder` ASC [ RunTime:0.014491s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 56669050 ORDER BY `unit` DESC [ RunTime:0.010777s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 56669050 LIMIT 2 [ RunTime:0.013556s ]
SELECT * FROM `stock_price` WHERE `stockid` = 56669050 ORDER BY `minOrder` ASC [ RunTime:0.012123s ]
select * from pdf where partno='UNIRAILS1U' and brandshort='StarTech.com' limit 1 [ RunTime:0.010023s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'UNIRAILS1U' OR `brand` LIKE 'StarTech.com%' ) ) LIMIT 1 [ RunTime:0.009778s ]
SELECT `id` FROM `stock` WHERE `id` <> 56669050 AND `partno` = 'UNIRAILS1U' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%startech.com%' ) [ RunTime:0.006439s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 17055647 [ RunTime:0.025497s ]
SELECT `s`.`id`,`s`.`userid`,`s`.`status`,`havePdf`,`categoryid`,`categories`,`minOrderPrice`,`minOrderQuantity`,`deliveryNum`,`sellNum`,`stockNum`,`code`,`partno`,`brand`,`package`,`imgurl`,`note`,`description`,`expiretime`,`pdfurl`,`t`.`name` FROM `stock` `s` LEFT JOIN `product_type` `t` ON `t`.`id`=`s`.`categoryid` WHERE ( `lockUser` = 0 AND `isDisplay` = 1 AND ( `partno` LIKE 'UNIRAILS1U%' OR `brand` LIKE 'UNIRAILS1U%' ) ) AND `s`.`platform` = '4' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.019847s ]
SELECT `s`.`id`,`s`.`userid`,`s`.`status`,`havePdf`,`categoryid`,`categories`,`minOrderPrice`,`minOrderQuantity`,`deliveryNum`,`sellNum`,`stockNum`,`code`,`partno`,`brand`,`package`,`imgurl`,`note`,`description`,`expiretime`,`pdfurl`,`t`.`name` FROM `stock` `s` LEFT JOIN `product_type` `t` ON `t`.`id`=`s`.`categoryid` WHERE ( `lockUser` = 0 AND `isDisplay` = 1 AND ( `partno` LIKE 'UNIRAILS1U%' OR `brand` LIKE 'UNIRAILS1U%' ) ) AND `s`.`platform` = '5' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.030472s ]
SELECT `s`.`id`,`s`.`userid`,`s`.`status`,`havePdf`,`categoryid`,`categories`,`minOrderPrice`,`minOrderQuantity`,`deliveryNum`,`sellNum`,`stockNum`,`code`,`partno`,`brand`,`package`,`imgurl`,`note`,`description`,`expiretime`,`pdfurl`,`t`.`name` FROM `stock` `s` LEFT JOIN `product_type` `t` ON `t`.`id`=`s`.`categoryid` WHERE ( `lockUser` = 0 AND `isDisplay` = 1 AND ( `partno` LIKE 'UNIRAILS1U%' OR `brand` LIKE 'UNIRAILS1U%' ) ) AND `s`.`platform` = '6' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.026413s ]
SELECT `s`.`id`,`s`.`userid`,`s`.`status`,`havePdf`,`categoryid`,`categories`,`minOrderPrice`,`minOrderQuantity`,`deliveryNum`,`sellNum`,`stockNum`,`code`,`partno`,`brand`,`package`,`imgurl`,`note`,`description`,`expiretime`,`pdfurl`,`t`.`name` FROM `stock` `s` LEFT JOIN `product_type` `t` ON `t`.`id`=`s`.`categoryid` WHERE ( `lockUser` = 0 AND `isDisplay` = 1 AND ( `partno` LIKE 'UNIRAILS1U%' OR `brand` LIKE 'UNIRAILS1U%' ) ) AND `s`.`platform` = '7' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.010100s ]
SELECT `s`.`id`,`s`.`userid`,`s`.`status`,`havePdf`,`categoryid`,`categories`,`minOrderPrice`,`minOrderQuantity`,`deliveryNum`,`sellNum`,`stockNum`,`code`,`partno`,`brand`,`package`,`imgurl`,`note`,`description`,`expiretime`,`pdfurl`,`t`.`name` FROM `stock` `s` LEFT JOIN `product_type` `t` ON `t`.`id`=`s`.`categoryid` WHERE ( `lockUser` = 0 AND `isDisplay` = 1 AND ( `partno` LIKE 'UNIRAILS1U%' OR `brand` LIKE 'UNIRAILS1U%' ) ) AND `s`.`platform` = '8' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.013849s ]
SELECT `s`.`id`,`s`.`userid`,`s`.`status`,`havePdf`,`categoryid`,`categories`,`minOrderPrice`,`minOrderQuantity`,`deliveryNum`,`sellNum`,`stockNum`,`code`,`partno`,`brand`,`package`,`imgurl`,`note`,`description`,`expiretime`,`pdfurl`,`t`.`name` FROM `stock` `s` LEFT JOIN `product_type` `t` ON `t`.`id`=`s`.`categoryid` WHERE ( `lockUser` = 0 AND `isDisplay` = 1 AND ( `partno` LIKE 'UNIRAILS1U%' OR `brand` LIKE 'UNIRAILS1U%' ) ) AND `s`.`platform` = '9' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.019594s ]
SELECT `s`.`id`,`s`.`userid`,`s`.`status`,`havePdf`,`categoryid`,`categories`,`minOrderPrice`,`minOrderQuantity`,`deliveryNum`,`sellNum`,`stockNum`,`code`,`partno`,`brand`,`package`,`imgurl`,`note`,`description`,`expiretime`,`pdfurl`,`t`.`name` FROM `stock` `s` LEFT JOIN `product_type` `t` ON `t`.`id`=`s`.`categoryid` WHERE ( `lockUser` = 0 AND `isDisplay` = 1 AND ( `partno` LIKE 'UNIRAILS1U%' OR `brand` LIKE 'UNIRAILS1U%' ) ) AND `s`.`platform` = '10' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.010326s ]
SELECT COUNT(*) AS think_count FROM `stock` `s` WHERE ( `lockUser` = 0 AND `isDisplay` = 1 AND ( `partno` LIKE 'UNIRAILS1U%' OR `brand` LIKE 'UNIRAILS1U%' ) ) AND ( (s.platform = 1) ) [ RunTime:0.023618s ]