SHOW FULL COLUMNS FROM `stock` [ RunTime:0.001425s ]
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 '2032000%' OR `brand` LIKE '2032000%' ) ) AND ( (s.platform = 1) ) ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.005684s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.002064s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 12613215 LIMIT 5 [ RunTime:0.003822s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.001902s ]
SELECT * FROM `stock_price` WHERE `stockid` = 12613215 ORDER BY `minOrder` ASC [ RunTime:0.005386s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.001731s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 12613215 ORDER BY `unit` DESC [ RunTime:0.003477s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.001722s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 12613215 LIMIT 2 [ RunTime:0.004632s ]
SELECT * FROM `stock_price` WHERE `stockid` = 12613215 ORDER BY `minOrder` ASC [ RunTime:0.003060s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 18842939 LIMIT 5 [ RunTime:0.005943s ]
SELECT * FROM `stock_price` WHERE `stockid` = 18842939 ORDER BY `minOrder` ASC [ RunTime:0.005662s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 18842939 ORDER BY `unit` DESC [ RunTime:0.005506s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 18842939 LIMIT 2 [ RunTime:0.004740s ]
SELECT * FROM `stock_price` WHERE `stockid` = 18842939 ORDER BY `minOrder` ASC [ RunTime:0.002810s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 13297608 LIMIT 5 [ RunTime:0.004643s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13297608 ORDER BY `minOrder` ASC [ RunTime:0.002391s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 13297608 ORDER BY `unit` DESC [ RunTime:0.001802s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 13297608 LIMIT 2 [ RunTime:0.013617s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13297608 ORDER BY `minOrder` ASC [ RunTime:0.002694s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 12616030 LIMIT 5 [ RunTime:0.005092s ]
SELECT * FROM `stock_price` WHERE `stockid` = 12616030 ORDER BY `minOrder` ASC [ RunTime:0.002487s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 12616030 ORDER BY `unit` DESC [ RunTime:0.002702s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 12616030 LIMIT 2 [ RunTime:0.016137s ]
SELECT * FROM `stock_price` WHERE `stockid` = 12616030 ORDER BY `minOrder` ASC [ RunTime:0.006377s ]
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 '2032000%' OR `brand` LIKE '2032000%' ) ) AND `s`.`platform` = '2' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.019849s ]
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 '2032000%' OR `brand` LIKE '2032000%' ) ) AND `s`.`platform` = '3' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.007260s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 60362788 LIMIT 5 [ RunTime:0.000950s ]
SELECT * FROM `stock_price` WHERE `stockid` = 60362788 ORDER BY `minOrder` ASC [ RunTime:0.002088s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 60362788 ORDER BY `unit` DESC [ RunTime:0.005318s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 60362788 LIMIT 2 [ RunTime:0.009452s ]
SELECT * FROM `stock_price` WHERE `stockid` = 60362788 ORDER BY `minOrder` ASC [ RunTime:0.001899s ]
select * from pdf where partno='2032000901' and brandshort='Molex' limit 1 [ RunTime:0.002065s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.001485s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '2032000901' OR `brand` LIKE 'Molex%' ) ) LIMIT 1 [ RunTime:0.000279s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 60362789 LIMIT 5 [ RunTime:0.001398s ]
SELECT * FROM `stock_price` WHERE `stockid` = 60362789 ORDER BY `minOrder` ASC [ RunTime:0.000424s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 60362789 ORDER BY `unit` DESC [ RunTime:0.002984s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 60362789 LIMIT 2 [ RunTime:0.007075s ]
SELECT * FROM `stock_price` WHERE `stockid` = 60362789 ORDER BY `minOrder` ASC [ RunTime:0.000247s ]
select * from pdf where partno='2032000902' and brandshort='Molex' limit 1 [ RunTime:0.006178s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '2032000902' OR `brand` LIKE 'Molex%' ) ) LIMIT 1 [ RunTime:0.003218s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 64445132 LIMIT 5 [ RunTime:0.010612s ]
SELECT * FROM `stock_price` WHERE `stockid` = 64445132 ORDER BY `minOrder` ASC [ RunTime:0.008726s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 64445132 ORDER BY `unit` DESC [ RunTime:0.004163s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 64445132 LIMIT 2 [ RunTime:0.011235s ]
SELECT * FROM `stock_price` WHERE `stockid` = 64445132 ORDER BY `minOrder` ASC [ RunTime:0.000520s ]
select * from pdf where partno='20320000' and brandshort='WERMA USA Inc.' limit 1 [ RunTime:0.013779s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '20320000' OR `brand` LIKE 'WERMA USA Inc.%' ) ) LIMIT 1 [ RunTime:0.013049s ]
SELECT `id` FROM `stock` WHERE `id` <> 64445132 AND `partno` = '20320000' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%werma usa inc.%' ) [ RunTime:0.005046s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 18842939 [ RunTime:0.000976s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 32725112 LIMIT 5 [ RunTime:0.006723s ]
SELECT * FROM `stock_price` WHERE `stockid` = 32725112 ORDER BY `minOrder` ASC [ RunTime:0.013445s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 32725112 ORDER BY `unit` DESC [ RunTime:0.001799s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 32725112 LIMIT 2 [ RunTime:0.000576s ]
SELECT * FROM `stock_price` WHERE `stockid` = 32725112 ORDER BY `minOrder` ASC [ RunTime:0.004139s ]
select * from pdf where partno='2032000' and brandshort='SICK, Inc.' limit 1 [ RunTime:0.004446s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '2032000' OR `brand` LIKE 'SICK, Inc.%' ) ) LIMIT 1 [ RunTime:0.000680s ]
SELECT `id` FROM `stock` WHERE `id` <> 32725112 AND `partno` = '2032000' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%sick, inc.%' ) [ RunTime:0.002391s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 13297608 [ RunTime:0.004939s ]
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 '2032000%' OR `brand` LIKE '2032000%' ) ) AND `s`.`platform` = '4' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.007875s ]
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 '2032000%' OR `brand` LIKE '2032000%' ) ) AND `s`.`platform` = '5' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.019352s ]
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 '2032000%' OR `brand` LIKE '2032000%' ) ) AND `s`.`platform` = '6' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.027902s ]
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 '2032000%' OR `brand` LIKE '2032000%' ) ) AND `s`.`platform` = '7' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.014772s ]
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 '2032000%' OR `brand` LIKE '2032000%' ) ) AND `s`.`platform` = '8' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.023283s ]
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 '2032000%' OR `brand` LIKE '2032000%' ) ) AND `s`.`platform` = '9' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.028454s ]
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 '2032000%' OR `brand` LIKE '2032000%' ) ) AND `s`.`platform` = '10' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.009894s ]
SELECT COUNT(*) AS think_count FROM `stock` `s` WHERE ( `lockUser` = 0 AND `isDisplay` = 1 AND ( `partno` LIKE '2032000%' OR `brand` LIKE '2032000%' ) ) AND ( (s.platform = 1) ) [ RunTime:0.012999s ]