SHOW FULL COLUMNS FROM `stock` [ RunTime:0.002808s ]
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 'R88M-1M10030S-B%' OR `brand` LIKE 'R88M-1M10030S-B%' ) ) AND ( (s.platform = 1) ) ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.003993s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.004557s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 14348461 LIMIT 5 [ RunTime:0.016357s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.016172s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14348461 ORDER BY `minOrder` ASC [ RunTime:0.004730s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.010054s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 14348461 ORDER BY `unit` DESC [ RunTime:0.014843s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.022938s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 14348461 LIMIT 2 [ RunTime:0.017566s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14348461 ORDER BY `minOrder` ASC [ RunTime:0.000302s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 14348459 LIMIT 5 [ RunTime:0.023695s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14348459 ORDER BY `minOrder` ASC [ RunTime:0.007708s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 14348459 ORDER BY `unit` DESC [ RunTime:0.001622s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 14348459 LIMIT 2 [ RunTime:0.008797s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14348459 ORDER BY `minOrder` ASC [ RunTime:0.022799s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 13468513 LIMIT 5 [ RunTime:0.046252s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13468513 ORDER BY `minOrder` ASC [ RunTime:0.024377s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 13468513 ORDER BY `unit` DESC [ RunTime:0.005719s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 13468513 LIMIT 2 [ RunTime:0.018202s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13468513 ORDER BY `minOrder` ASC [ RunTime:0.003828s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 13468512 LIMIT 5 [ RunTime:0.032453s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13468512 ORDER BY `minOrder` ASC [ RunTime:0.052556s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 13468512 ORDER BY `unit` DESC [ RunTime:0.036938s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 13468512 LIMIT 2 [ RunTime:0.023477s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13468512 ORDER BY `minOrder` ASC [ RunTime:0.019059s ]
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 'R88M-1M10030S-B%' OR `brand` LIKE 'R88M-1M10030S-B%' ) ) AND `s`.`platform` = '2' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.039934s ]
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 'R88M-1M10030S-B%' OR `brand` LIKE 'R88M-1M10030S-B%' ) ) AND `s`.`platform` = '3' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.020774s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 58300799 LIMIT 5 [ RunTime:0.035528s ]
SELECT * FROM `stock_price` WHERE `stockid` = 58300799 ORDER BY `minOrder` ASC [ RunTime:0.013553s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 58300799 ORDER BY `unit` DESC [ RunTime:0.003758s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 58300799 LIMIT 2 [ RunTime:0.013039s ]
SELECT * FROM `stock_price` WHERE `stockid` = 58300799 ORDER BY `minOrder` ASC [ RunTime:0.005094s ]
select * from pdf where partno='R88M-1M10030S-BOS2' and brandshort='Omron Automation and Safety' limit 1 [ RunTime:0.016596s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.002744s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'R88M-1M10030S-BOS2' OR `brand` LIKE 'Omron Automation and Safety%' ) ) LIMIT 1 [ RunTime:0.004588s ]
SELECT `id` FROM `stock` WHERE `id` <> 58300799 AND `partno` = 'R88M-1M10030S-BOS2' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%omron automation and safety%' ) [ RunTime:0.005425s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 13468513 [ RunTime:0.009440s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 58300798 LIMIT 5 [ RunTime:0.003310s ]
SELECT * FROM `stock_price` WHERE `stockid` = 58300798 ORDER BY `minOrder` ASC [ RunTime:0.021221s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 58300798 ORDER BY `unit` DESC [ RunTime:0.012098s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 58300798 LIMIT 2 [ RunTime:0.004184s ]
SELECT * FROM `stock_price` WHERE `stockid` = 58300798 ORDER BY `minOrder` ASC [ RunTime:0.000480s ]
select * from pdf where partno='R88M-1M10030S-BO' and brandshort='Omron Automation and Safety' limit 1 [ RunTime:0.002181s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'R88M-1M10030S-BO' OR `brand` LIKE 'Omron Automation and Safety%' ) ) LIMIT 1 [ RunTime:0.005395s ]
SELECT `id` FROM `stock` WHERE `id` <> 58300798 AND `partno` = 'R88M-1M10030S-BO' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%omron automation and safety%' ) [ RunTime:0.013383s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 13468512 [ RunTime:0.000929s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 58300776 LIMIT 5 [ RunTime:0.000615s ]
SELECT * FROM `stock_price` WHERE `stockid` = 58300776 ORDER BY `minOrder` ASC [ RunTime:0.002818s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 58300776 ORDER BY `unit` DESC [ RunTime:0.000549s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 58300776 LIMIT 2 [ RunTime:0.003763s ]
SELECT * FROM `stock_price` WHERE `stockid` = 58300776 ORDER BY `minOrder` ASC [ RunTime:0.005332s ]
select * from pdf where partno='R88M-1M10030S-B' and brandshort='Omron Automation and Safety' limit 1 [ RunTime:0.001118s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'R88M-1M10030S-B' OR `brand` LIKE 'Omron Automation and Safety%' ) ) LIMIT 1 [ RunTime:0.003803s ]
SELECT `id` FROM `stock` WHERE `id` <> 58300776 AND `partno` = 'R88M-1M10030S-B' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%omron automation and safety%' ) [ RunTime:0.014507s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 14348461 [ RunTime:0.009280s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 58300686 LIMIT 5 [ RunTime:0.004797s ]
SELECT * FROM `stock_price` WHERE `stockid` = 58300686 ORDER BY `minOrder` ASC [ RunTime:0.000232s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 58300686 ORDER BY `unit` DESC [ RunTime:0.000202s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 58300686 LIMIT 2 [ RunTime:0.000217s ]
SELECT * FROM `stock_price` WHERE `stockid` = 58300686 ORDER BY `minOrder` ASC [ RunTime:0.000249s ]
select * from pdf where partno='R88M-1M10030S-BS2' and brandshort='Omron Automation and Safety' limit 1 [ RunTime:0.000330s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'R88M-1M10030S-BS2' OR `brand` LIKE 'Omron Automation and Safety%' ) ) LIMIT 1 [ RunTime:0.000220s ]
SELECT `id` FROM `stock` WHERE `id` <> 58300686 AND `partno` = 'R88M-1M10030S-BS2' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%omron automation and safety%' ) [ RunTime:0.000261s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 14348459 [ RunTime:0.000204s ]
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 'R88M-1M10030S-B%' OR `brand` LIKE 'R88M-1M10030S-B%' ) ) AND `s`.`platform` = '4' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.000873s ]
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 'R88M-1M10030S-B%' OR `brand` LIKE 'R88M-1M10030S-B%' ) ) AND `s`.`platform` = '5' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.003034s ]
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 'R88M-1M10030S-B%' OR `brand` LIKE 'R88M-1M10030S-B%' ) ) AND `s`.`platform` = '6' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.009570s ]
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 'R88M-1M10030S-B%' OR `brand` LIKE 'R88M-1M10030S-B%' ) ) AND `s`.`platform` = '7' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.007511s ]
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 'R88M-1M10030S-B%' OR `brand` LIKE 'R88M-1M10030S-B%' ) ) AND `s`.`platform` = '8' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.001204s ]
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 'R88M-1M10030S-B%' OR `brand` LIKE 'R88M-1M10030S-B%' ) ) AND `s`.`platform` = '9' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.006548s ]
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 'R88M-1M10030S-B%' OR `brand` LIKE 'R88M-1M10030S-B%' ) ) AND `s`.`platform` = '10' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.002535s ]
SELECT COUNT(*) AS think_count FROM `stock` `s` WHERE ( `lockUser` = 0 AND `isDisplay` = 1 AND ( `partno` LIKE 'R88M-1M10030S-B%' OR `brand` LIKE 'R88M-1M10030S-B%' ) ) AND ( (s.platform = 1) ) [ RunTime:0.000562s ]