SHOW FULL COLUMNS FROM `stock` [ RunTime:0.001505s ]
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 'HG-8%' OR `brand` LIKE 'HG-8%' ) ) AND ( (s.platform = 1) ) ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.016167s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.001344s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 14405949 LIMIT 5 [ RunTime:0.007758s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.002771s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14405949 ORDER BY `minOrder` ASC [ RunTime:0.015364s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.002211s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 14405949 ORDER BY `unit` DESC [ RunTime:0.044173s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.002234s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 14405949 LIMIT 2 [ RunTime:0.012678s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14405949 ORDER BY `minOrder` ASC [ RunTime:0.002550s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 12178063 LIMIT 5 [ RunTime:0.018602s ]
SELECT * FROM `stock_price` WHERE `stockid` = 12178063 ORDER BY `minOrder` ASC [ RunTime:0.055397s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 12178063 ORDER BY `unit` DESC [ RunTime:0.026089s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 12178063 LIMIT 2 [ RunTime:0.014567s ]
SELECT * FROM `stock_price` WHERE `stockid` = 12178063 ORDER BY `minOrder` ASC [ RunTime:0.009254s ]
select * from pdf where partno='HG-801D-01' and brandshort='Master Appliance Co' limit 1 [ RunTime:0.072248s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 19463308 LIMIT 5 [ RunTime:0.016475s ]
SELECT * FROM `stock_price` WHERE `stockid` = 19463308 ORDER BY `minOrder` ASC [ RunTime:0.010810s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 19463308 ORDER BY `unit` DESC [ RunTime:0.015494s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 19463308 LIMIT 2 [ RunTime:0.022402s ]
SELECT * FROM `stock_price` WHERE `stockid` = 19463308 ORDER BY `minOrder` ASC [ RunTime:0.010172s ]
select * from pdf where partno='HG-8002JA 40.0000M-PHCX' and brandshort='EPSON' limit 1 [ RunTime:0.009621s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 19441310 LIMIT 5 [ RunTime:0.004733s ]
SELECT * FROM `stock_price` WHERE `stockid` = 19441310 ORDER BY `minOrder` ASC [ RunTime:0.017915s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 19441310 ORDER BY `unit` DESC [ RunTime:0.011717s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 19441310 LIMIT 2 [ RunTime:0.006423s ]
SELECT * FROM `stock_price` WHERE `stockid` = 19441310 ORDER BY `minOrder` ASC [ RunTime:0.011954s ]
select * from pdf where partno='HG-8002JA 40.0000M-PCCXL3:ROHS' and brandshort='EPSON' limit 1 [ RunTime:0.026102s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 19441309 LIMIT 5 [ RunTime:0.018732s ]
SELECT * FROM `stock_price` WHERE `stockid` = 19441309 ORDER BY `minOrder` ASC [ RunTime:0.013973s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 19441309 ORDER BY `unit` DESC [ RunTime:0.010766s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 19441309 LIMIT 2 [ RunTime:0.011711s ]
SELECT * FROM `stock_price` WHERE `stockid` = 19441309 ORDER BY `minOrder` ASC [ RunTime:0.004051s ]
select * from pdf where partno='HG-8002JA 12.0000M-PCAVL3:ROHS' and brandshort='EPSON' limit 1 [ RunTime:0.008825s ]
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 'HG-8%' OR `brand` LIKE 'HG-8%' ) ) AND `s`.`platform` = '2' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.028002s ]
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 'HG-8%' OR `brand` LIKE 'HG-8%' ) ) AND `s`.`platform` = '3' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.029201s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 63132266 LIMIT 5 [ RunTime:0.014767s ]
SELECT * FROM `stock_price` WHERE `stockid` = 63132266 ORDER BY `minOrder` ASC [ RunTime:0.030412s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 63132266 ORDER BY `unit` DESC [ RunTime:0.021167s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 63132266 LIMIT 2 [ RunTime:0.001037s ]
SELECT * FROM `stock_price` WHERE `stockid` = 63132266 ORDER BY `minOrder` ASC [ RunTime:0.004334s ]
select * from pdf where partno='HG-8' and brandshort='Essentra Components' limit 1 [ RunTime:0.007500s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.002367s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'HG-8' OR `brand` LIKE 'Essentra Components%' ) ) LIMIT 1 [ RunTime:0.004964s ]
SELECT `id` FROM `stock` WHERE `id` <> 63132266 AND `partno` = 'HG-8' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%essentra components%' ) [ RunTime:0.015008s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 14405949 [ RunTime:0.006104s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 58580476 LIMIT 5 [ RunTime:0.007523s ]
SELECT * FROM `stock_price` WHERE `stockid` = 58580476 ORDER BY `minOrder` ASC [ RunTime:0.014206s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 58580476 ORDER BY `unit` DESC [ RunTime:0.022548s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 58580476 LIMIT 2 [ RunTime:0.005808s ]
SELECT * FROM `stock_price` WHERE `stockid` = 58580476 ORDER BY `minOrder` ASC [ RunTime:0.010687s ]
select * from pdf where partno='HG-801D-01' and brandshort='Master Appliance Co' limit 1 [ RunTime:0.001780s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'HG-801D-01' OR `brand` LIKE 'Master Appliance Co%' ) ) LIMIT 1 [ RunTime:0.006431s ]
SELECT `id` FROM `stock` WHERE `id` <> 58580476 AND `partno` = 'HG-801D-01' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%master appliance co%' ) [ RunTime:0.000887s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 12178063 [ RunTime:0.003318s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 43742130 LIMIT 5 [ RunTime:0.009544s ]
SELECT * FROM `stock_price` WHERE `stockid` = 43742130 ORDER BY `minOrder` ASC [ RunTime:0.003757s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 43742130 ORDER BY `unit` DESC [ RunTime:0.012788s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 43742130 LIMIT 2 [ RunTime:0.008489s ]
SELECT * FROM `stock_price` WHERE `stockid` = 43742130 ORDER BY `minOrder` ASC [ RunTime:0.000386s ]
select * from pdf where partno='HG-8002JA 12.0000M-PCAVL3:ROHS' and brandshort='EPSON' limit 1 [ RunTime:0.000395s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'HG-8002JA 12.0000M-PCAVL3:ROHS' OR `brand` LIKE 'EPSON%' ) ) LIMIT 1 [ RunTime:0.015277s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 43568328 LIMIT 5 [ RunTime:0.000475s ]
SELECT * FROM `stock_price` WHERE `stockid` = 43568328 ORDER BY `minOrder` ASC [ RunTime:0.009568s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 43568328 ORDER BY `unit` DESC [ RunTime:0.002552s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 43568328 LIMIT 2 [ RunTime:0.023778s ]
SELECT * FROM `stock_price` WHERE `stockid` = 43568328 ORDER BY `minOrder` ASC [ RunTime:0.001115s ]
select * from pdf where partno='HG-8002JA 40.0000M-PCCXL3:ROHS' and brandshort='EPSON' limit 1 [ RunTime:0.005217s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'HG-8002JA 40.0000M-PCCXL3:ROHS' OR `brand` LIKE 'EPSON%' ) ) LIMIT 1 [ RunTime:0.007858s ]
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 'HG-8%' OR `brand` LIKE 'HG-8%' ) ) AND `s`.`platform` = '4' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.003128s ]
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 'HG-8%' OR `brand` LIKE 'HG-8%' ) ) AND `s`.`platform` = '5' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.001936s ]
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 'HG-8%' OR `brand` LIKE 'HG-8%' ) ) AND `s`.`platform` = '6' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.001120s ]
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 'HG-8%' OR `brand` LIKE 'HG-8%' ) ) AND `s`.`platform` = '7' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.006588s ]
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 'HG-8%' OR `brand` LIKE 'HG-8%' ) ) AND `s`.`platform` = '8' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.001185s ]
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 'HG-8%' OR `brand` LIKE 'HG-8%' ) ) AND `s`.`platform` = '9' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.001110s ]
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 'HG-8%' OR `brand` LIKE 'HG-8%' ) ) AND `s`.`platform` = '10' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.001374s ]
SELECT COUNT(*) AS think_count FROM `stock` `s` WHERE ( `lockUser` = 0 AND `isDisplay` = 1 AND ( `partno` LIKE 'HG-8%' OR `brand` LIKE 'HG-8%' ) ) AND ( (s.platform = 1) ) [ RunTime:0.003367s ]