SHOW FULL COLUMNS FROM `stock` [ RunTime:0.001651s ]
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 'Y92E-E30%' OR `brand` LIKE 'Y92E-E30%' ) ) AND ( (s.platform = 1) ) ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.011591s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.005114s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 12240605 LIMIT 5 [ RunTime:0.021652s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.016481s ]
SELECT * FROM `stock_price` WHERE `stockid` = 12240605 ORDER BY `minOrder` ASC [ RunTime:0.005918s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.018119s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 12240605 ORDER BY `unit` DESC [ RunTime:0.017631s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.001463s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 12240605 LIMIT 2 [ RunTime:0.034957s ]
SELECT * FROM `stock_price` WHERE `stockid` = 12240605 ORDER BY `minOrder` ASC [ RunTime:0.042655s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 12238926 LIMIT 5 [ RunTime:0.048764s ]
SELECT * FROM `stock_price` WHERE `stockid` = 12238926 ORDER BY `minOrder` ASC [ RunTime:0.036491s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 12238926 ORDER BY `unit` DESC [ RunTime:0.024721s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 12238926 LIMIT 2 [ RunTime:0.018624s ]
SELECT * FROM `stock_price` WHERE `stockid` = 12238926 ORDER BY `minOrder` ASC [ RunTime:0.022821s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 11234882 LIMIT 5 [ RunTime:0.072461s ]
SELECT * FROM `stock_price` WHERE `stockid` = 11234882 ORDER BY `minOrder` ASC [ RunTime:0.026683s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 11234882 ORDER BY `unit` DESC [ RunTime:0.010322s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 11234882 LIMIT 2 [ RunTime:0.018468s ]
SELECT * FROM `stock_price` WHERE `stockid` = 11234882 ORDER BY `minOrder` ASC [ RunTime:0.024046s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 11234564 LIMIT 5 [ RunTime:0.026556s ]
SELECT * FROM `stock_price` WHERE `stockid` = 11234564 ORDER BY `minOrder` ASC [ RunTime:0.032308s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 11234564 ORDER BY `unit` DESC [ RunTime:0.069445s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 11234564 LIMIT 2 [ RunTime:0.030224s ]
SELECT * FROM `stock_price` WHERE `stockid` = 11234564 ORDER BY `minOrder` ASC [ RunTime:0.002019s ]
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 'Y92E-E30%' OR `brand` LIKE 'Y92E-E30%' ) ) AND `s`.`platform` = '2' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.039428s ]
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 'Y92E-E30%' OR `brand` LIKE 'Y92E-E30%' ) ) AND `s`.`platform` = '3' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.078227s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 63219222 LIMIT 5 [ RunTime:0.039396s ]
SELECT * FROM `stock_price` WHERE `stockid` = 63219222 ORDER BY `minOrder` ASC [ RunTime:0.031686s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 63219222 ORDER BY `unit` DESC [ RunTime:0.044652s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 63219222 LIMIT 2 [ RunTime:0.030628s ]
SELECT * FROM `stock_price` WHERE `stockid` = 63219222 ORDER BY `minOrder` ASC [ RunTime:0.045267s ]
select * from pdf where partno='Y92E-E30-7' and brandshort='Omron Automation and Safety' limit 1 [ RunTime:0.027625s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.003007s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'Y92E-E30-7' OR `brand` LIKE 'Omron Automation and Safety%' ) ) LIMIT 1 [ RunTime:0.026532s ]
SELECT `id` FROM `stock` WHERE `id` <> 63219222 AND `partno` = 'Y92E-E30-7' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%omron automation and safety%' ) [ RunTime:0.030915s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 12240605 [ RunTime:0.021586s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 63214885 LIMIT 5 [ RunTime:0.036309s ]
SELECT * FROM `stock_price` WHERE `stockid` = 63214885 ORDER BY `minOrder` ASC [ RunTime:0.040056s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 63214885 ORDER BY `unit` DESC [ RunTime:0.024374s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 63214885 LIMIT 2 [ RunTime:0.024730s ]
SELECT * FROM `stock_price` WHERE `stockid` = 63214885 ORDER BY `minOrder` ASC [ RunTime:0.025260s ]
select * from pdf where partno='Y92E-E30-2' and brandshort='Omron Automation and Safety' limit 1 [ RunTime:0.022618s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'Y92E-E30-2' OR `brand` LIKE 'Omron Automation and Safety%' ) ) LIMIT 1 [ RunTime:0.030356s ]
SELECT `id` FROM `stock` WHERE `id` <> 63214885 AND `partno` = 'Y92E-E30-2' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%omron automation and safety%' ) [ RunTime:0.020776s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 12238926 [ RunTime:0.001852s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 63214757 LIMIT 5 [ RunTime:0.017639s ]
SELECT * FROM `stock_price` WHERE `stockid` = 63214757 ORDER BY `minOrder` ASC [ RunTime:0.014344s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 63214757 ORDER BY `unit` DESC [ RunTime:0.011492s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 63214757 LIMIT 2 [ RunTime:0.014183s ]
SELECT * FROM `stock_price` WHERE `stockid` = 63214757 ORDER BY `minOrder` ASC [ RunTime:0.012474s ]
select * from pdf where partno='Y92E-E30' and brandshort='Omron Automation and Safety' limit 1 [ RunTime:0.010739s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'Y92E-E30' OR `brand` LIKE 'Omron Automation and Safety%' ) ) LIMIT 1 [ RunTime:0.008308s ]
SELECT `id` FROM `stock` WHERE `id` <> 63214757 AND `partno` = 'Y92E-E30' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%omron automation and safety%' ) [ RunTime:0.027186s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 11234882 [ RunTime:0.021262s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 63213809 LIMIT 5 [ RunTime:0.011565s ]
SELECT * FROM `stock_price` WHERE `stockid` = 63213809 ORDER BY `minOrder` ASC [ RunTime:0.011067s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 63213809 ORDER BY `unit` DESC [ RunTime:0.019870s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 63213809 LIMIT 2 [ RunTime:0.015471s ]
SELECT * FROM `stock_price` WHERE `stockid` = 63213809 ORDER BY `minOrder` ASC [ RunTime:0.002843s ]
select * from pdf where partno='Y92E-E30M' and brandshort='Omron Automation and Safety' limit 1 [ RunTime:0.004290s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'Y92E-E30M' OR `brand` LIKE 'Omron Automation and Safety%' ) ) LIMIT 1 [ RunTime:0.011234s ]
SELECT `id` FROM `stock` WHERE `id` <> 63213809 AND `partno` = 'Y92E-E30M' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%omron automation and safety%' ) [ RunTime:0.037223s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 11234564 [ RunTime:0.021514s ]
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 'Y92E-E30%' OR `brand` LIKE 'Y92E-E30%' ) ) AND `s`.`platform` = '4' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.012776s ]
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 'Y92E-E30%' OR `brand` LIKE 'Y92E-E30%' ) ) AND `s`.`platform` = '5' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.005117s ]
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 'Y92E-E30%' OR `brand` LIKE 'Y92E-E30%' ) ) AND `s`.`platform` = '6' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.011585s ]
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 'Y92E-E30%' OR `brand` LIKE 'Y92E-E30%' ) ) AND `s`.`platform` = '7' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.031965s ]
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 'Y92E-E30%' OR `brand` LIKE 'Y92E-E30%' ) ) AND `s`.`platform` = '8' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.015604s ]
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 'Y92E-E30%' OR `brand` LIKE 'Y92E-E30%' ) ) AND `s`.`platform` = '9' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.046326s ]
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 'Y92E-E30%' OR `brand` LIKE 'Y92E-E30%' ) ) AND `s`.`platform` = '10' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.042424s ]
SELECT COUNT(*) AS think_count FROM `stock` `s` WHERE ( `lockUser` = 0 AND `isDisplay` = 1 AND ( `partno` LIKE 'Y92E-E30%' OR `brand` LIKE 'Y92E-E30%' ) ) AND ( (s.platform = 1) ) [ RunTime:0.012657s ]