SHOW FULL COLUMNS FROM `stock` [ RunTime:0.002696s ]
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 '15511%' OR `brand` LIKE '15511%' ) ) AND ( (s.platform = 1) ) ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.004830s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.002173s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 13324899 LIMIT 5 [ RunTime:0.000783s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.001034s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13324899 ORDER BY `minOrder` ASC [ RunTime:0.000314s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.000977s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 13324899 ORDER BY `unit` DESC [ RunTime:0.000325s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.001029s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 13324899 LIMIT 2 [ RunTime:0.000340s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13324899 ORDER BY `minOrder` ASC [ RunTime:0.000208s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 19274664 LIMIT 5 [ RunTime:0.000663s ]
SELECT * FROM `stock_price` WHERE `stockid` = 19274664 ORDER BY `minOrder` ASC [ RunTime:0.000880s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 19274664 ORDER BY `unit` DESC [ RunTime:0.001391s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 19274664 LIMIT 2 [ RunTime:0.000960s ]
SELECT * FROM `stock_price` WHERE `stockid` = 19274664 ORDER BY `minOrder` ASC [ RunTime:0.001244s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 13287420 LIMIT 5 [ RunTime:0.000199s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13287420 ORDER BY `minOrder` ASC [ RunTime:0.000198s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 13287420 ORDER BY `unit` DESC [ RunTime:0.000901s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 13287420 LIMIT 2 [ RunTime:0.000184s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13287420 ORDER BY `minOrder` ASC [ RunTime:0.000190s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 11480316 LIMIT 5 [ RunTime:0.000191s ]
SELECT * FROM `stock_price` WHERE `stockid` = 11480316 ORDER BY `minOrder` ASC [ RunTime:0.000209s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 11480316 ORDER BY `unit` DESC [ RunTime:0.000188s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 11480316 LIMIT 2 [ RunTime:0.000184s ]
SELECT * FROM `stock_price` WHERE `stockid` = 11480316 ORDER BY `minOrder` ASC [ RunTime:0.000162s ]
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 '15511%' OR `brand` LIKE '15511%' ) ) AND `s`.`platform` = '2' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.000839s ]
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 '15511%' OR `brand` LIKE '15511%' ) ) AND `s`.`platform` = '3' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.001532s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 63386935 LIMIT 5 [ RunTime:0.000334s ]
SELECT * FROM `stock_price` WHERE `stockid` = 63386935 ORDER BY `minOrder` ASC [ RunTime:0.000214s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 63386935 ORDER BY `unit` DESC [ RunTime:0.000204s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 63386935 LIMIT 2 [ RunTime:0.000836s ]
SELECT * FROM `stock_price` WHERE `stockid` = 63386935 ORDER BY `minOrder` ASC [ RunTime:0.000229s ]
select * from pdf where partno='15511B' and brandshort='Essentra Components' limit 1 [ RunTime:0.000309s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.002377s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '15511B' OR `brand` LIKE 'Essentra Components%' ) ) LIMIT 1 [ RunTime:0.000411s ]
SELECT `id` FROM `stock` WHERE `id` <> 63386935 AND `partno` = '15511B' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%essentra components%' ) [ RunTime:0.001010s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 13324899 [ RunTime:0.000311s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 60963840 LIMIT 5 [ RunTime:0.000296s ]
SELECT * FROM `stock_price` WHERE `stockid` = 60963840 ORDER BY `minOrder` ASC [ RunTime:0.000342s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 60963840 ORDER BY `unit` DESC [ RunTime:0.001666s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 60963840 LIMIT 2 [ RunTime:0.002111s ]
SELECT * FROM `stock_price` WHERE `stockid` = 60963840 ORDER BY `minOrder` ASC [ RunTime:0.000302s ]
select * from pdf where partno='1551120-5' and brandshort='TE Connectivity AMP Connectors' limit 1 [ RunTime:0.000387s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '1551120-5' OR `brand` LIKE 'TE Connectivity AMP Connectors%' ) ) LIMIT 1 [ RunTime:0.002177s ]
SELECT `id` FROM `stock` WHERE `id` <> 60963840 AND `partno` = '1551120-5' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%te connectivity amp connectors%' ) [ RunTime:0.000339s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 11480316 [ RunTime:0.000349s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 59350895 LIMIT 5 [ RunTime:0.000617s ]
SELECT * FROM `stock_price` WHERE `stockid` = 59350895 ORDER BY `minOrder` ASC [ RunTime:0.001087s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 59350895 ORDER BY `unit` DESC [ RunTime:0.002420s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 59350895 LIMIT 2 [ RunTime:0.000529s ]
SELECT * FROM `stock_price` WHERE `stockid` = 59350895 ORDER BY `minOrder` ASC [ RunTime:0.000328s ]
select * from pdf where partno='15511' and brandshort='Keystone Electronics' limit 1 [ RunTime:0.001194s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '15511' OR `brand` LIKE 'Keystone Electronics%' ) ) LIMIT 1 [ RunTime:0.001362s ]
SELECT `id` FROM `stock` WHERE `id` <> 59350895 AND `partno` = '15511' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%keystone electronics%' ) [ RunTime:0.001227s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 43775131 LIMIT 5 [ RunTime:0.000707s ]
SELECT * FROM `stock_price` WHERE `stockid` = 43775131 ORDER BY `minOrder` ASC [ RunTime:0.000331s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 43775131 ORDER BY `unit` DESC [ RunTime:0.000298s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 43775131 LIMIT 2 [ RunTime:0.000461s ]
SELECT * FROM `stock_price` WHERE `stockid` = 43775131 ORDER BY `minOrder` ASC [ RunTime:0.000392s ]
select * from pdf where partno='15511.2' and brandshort='Conta-Clip, Inc.' limit 1 [ RunTime:0.000325s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '15511.2' OR `brand` LIKE 'Conta-Clip, Inc.%' ) ) LIMIT 1 [ RunTime:0.000302s ]
SELECT `id` FROM `stock` WHERE `id` <> 43775131 AND `partno` = '15511.2' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%conta-clip, inc.%' ) [ RunTime:0.001224s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 19274664 [ RunTime:0.000247s ]
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 '15511%' OR `brand` LIKE '15511%' ) ) AND `s`.`platform` = '4' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.002022s ]
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 '15511%' OR `brand` LIKE '15511%' ) ) AND `s`.`platform` = '5' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.000878s ]
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 '15511%' OR `brand` LIKE '15511%' ) ) AND `s`.`platform` = '6' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.001331s ]
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 '15511%' OR `brand` LIKE '15511%' ) ) AND `s`.`platform` = '7' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.001492s ]
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 '15511%' OR `brand` LIKE '15511%' ) ) AND `s`.`platform` = '8' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.000959s ]
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 '15511%' OR `brand` LIKE '15511%' ) ) AND `s`.`platform` = '9' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.000994s ]
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 '15511%' OR `brand` LIKE '15511%' ) ) AND `s`.`platform` = '10' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.000923s ]
SELECT COUNT(*) AS think_count FROM `stock` `s` WHERE ( `lockUser` = 0 AND `isDisplay` = 1 AND ( `partno` LIKE '15511%' OR `brand` LIKE '15511%' ) ) AND ( (s.platform = 1) ) [ RunTime:0.001293s ]