SHOW FULL COLUMNS FROM `stock` [ RunTime:0.002613s ]
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 '951126%' OR `brand` LIKE '951126%' ) ) AND ( (s.platform = 1) ) ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.005680s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.004573s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 19801840 LIMIT 5 [ RunTime:0.018042s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.005519s ]
SELECT * FROM `stock_price` WHERE `stockid` = 19801840 ORDER BY `minOrder` ASC [ RunTime:0.001162s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.002218s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 19801840 ORDER BY `unit` DESC [ RunTime:0.005354s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.006814s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 19801840 LIMIT 2 [ RunTime:0.002519s ]
SELECT * FROM `stock_price` WHERE `stockid` = 19801840 ORDER BY `minOrder` ASC [ RunTime:0.002222s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 19793344 LIMIT 5 [ RunTime:0.008633s ]
SELECT * FROM `stock_price` WHERE `stockid` = 19793344 ORDER BY `minOrder` ASC [ RunTime:0.016631s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 19793344 ORDER BY `unit` DESC [ RunTime:0.013979s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 19793344 LIMIT 2 [ RunTime:0.014098s ]
SELECT * FROM `stock_price` WHERE `stockid` = 19793344 ORDER BY `minOrder` ASC [ RunTime:0.001774s ]
select * from pdf where partno='951126-7622-AR' and brandshort='3M' limit 1 [ RunTime:0.002640s ]
select foldpath,foldpath2,filename from pdf_file where id=1498214 limit 1 [ RunTime:0.006381s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 19785054 LIMIT 5 [ RunTime:0.001662s ]
SELECT * FROM `stock_price` WHERE `stockid` = 19785054 ORDER BY `minOrder` ASC [ RunTime:0.004009s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 19785054 ORDER BY `unit` DESC [ RunTime:0.012233s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 19785054 LIMIT 2 [ RunTime:0.013310s ]
SELECT * FROM `stock_price` WHERE `stockid` = 19785054 ORDER BY `minOrder` ASC [ RunTime:0.003086s ]
select * from pdf where partno='951126-8622-AR' and brandshort='3M' limit 1 [ RunTime:0.004806s ]
select foldpath,foldpath2,filename from pdf_file where id=1498214 limit 1 [ RunTime:0.000587s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 18993163 LIMIT 5 [ RunTime:0.002349s ]
SELECT * FROM `stock_price` WHERE `stockid` = 18993163 ORDER BY `minOrder` ASC [ RunTime:0.000443s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 18993163 ORDER BY `unit` DESC [ RunTime:0.000361s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 18993163 LIMIT 2 [ RunTime:0.000628s ]
SELECT * FROM `stock_price` WHERE `stockid` = 18993163 ORDER BY `minOrder` ASC [ RunTime:0.005224s ]
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 '951126%' OR `brand` LIKE '951126%' ) ) AND `s`.`platform` = '2' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.014762s ]
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 '951126%' OR `brand` LIKE '951126%' ) ) AND `s`.`platform` = '3' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.008526s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 63455196 LIMIT 5 [ RunTime:0.011474s ]
SELECT * FROM `stock_price` WHERE `stockid` = 63455196 ORDER BY `minOrder` ASC [ RunTime:0.012851s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 63455196 ORDER BY `unit` DESC [ RunTime:0.016633s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 63455196 LIMIT 2 [ RunTime:0.007524s ]
SELECT * FROM `stock_price` WHERE `stockid` = 63455196 ORDER BY `minOrder` ASC [ RunTime:0.000604s ]
select * from pdf where partno='951126' and brandshort='Weidmüller' limit 1 [ RunTime:0.016226s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.003582s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '951126' OR `brand` LIKE 'Weidmüller%' ) ) LIMIT 1 [ RunTime:0.003687s ]
SELECT `id` FROM `stock` WHERE `id` <> 63455196 AND `partno` = '951126' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%weidmüller%' ) [ RunTime:0.011412s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 18993163 [ RunTime:0.008860s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 59670080 LIMIT 5 [ RunTime:0.000825s ]
SELECT * FROM `stock_price` WHERE `stockid` = 59670080 ORDER BY `minOrder` ASC [ RunTime:0.011424s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 59670080 ORDER BY `unit` DESC [ RunTime:0.010056s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 59670080 LIMIT 2 [ RunTime:0.016449s ]
SELECT * FROM `stock_price` WHERE `stockid` = 59670080 ORDER BY `minOrder` ASC [ RunTime:0.013770s ]
select * from pdf where partno='951126-7722-AR' and brandshort='3M' limit 1 [ RunTime:0.013892s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '951126-7722-AR' OR `brand` LIKE '3M%' ) ) LIMIT 1 [ RunTime:0.015826s ]
SELECT `id` FROM `stock` WHERE `id` <> 59670080 AND `partno` = '951126-7722-AR' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%3m%' ) [ RunTime:0.009434s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 19801840 [ RunTime:0.001459s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 59659090 LIMIT 5 [ RunTime:0.005452s ]
SELECT * FROM `stock_price` WHERE `stockid` = 59659090 ORDER BY `minOrder` ASC [ RunTime:0.010799s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 59659090 ORDER BY `unit` DESC [ RunTime:0.014980s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 59659090 LIMIT 2 [ RunTime:0.004768s ]
SELECT * FROM `stock_price` WHERE `stockid` = 59659090 ORDER BY `minOrder` ASC [ RunTime:0.003211s ]
select * from pdf where partno='951126-7622-AR' and brandshort='3M' limit 1 [ RunTime:0.000781s ]
select foldpath,foldpath2,filename from pdf_file where id=1498214 limit 1 [ RunTime:0.000381s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '951126-7622-AR' OR `brand` LIKE '3M%' ) ) LIMIT 1 [ RunTime:0.002941s ]
SELECT `id` FROM `stock` WHERE `id` <> 59659090 AND `partno` = '951126-7622-AR' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%3m%' ) [ RunTime:0.002144s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 19793344 [ RunTime:0.005865s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 59648744 LIMIT 5 [ RunTime:0.001682s ]
SELECT * FROM `stock_price` WHERE `stockid` = 59648744 ORDER BY `minOrder` ASC [ RunTime:0.003742s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 59648744 ORDER BY `unit` DESC [ RunTime:0.008224s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 59648744 LIMIT 2 [ RunTime:0.023455s ]
SELECT * FROM `stock_price` WHERE `stockid` = 59648744 ORDER BY `minOrder` ASC [ RunTime:0.021017s ]
select * from pdf where partno='951126-8622-AR' and brandshort='3M' limit 1 [ RunTime:0.002113s ]
select foldpath,foldpath2,filename from pdf_file where id=1498214 limit 1 [ RunTime:0.001308s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '951126-8622-AR' OR `brand` LIKE '3M%' ) ) LIMIT 1 [ RunTime:0.009085s ]
SELECT `id` FROM `stock` WHERE `id` <> 59648744 AND `partno` = '951126-8622-AR' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%3m%' ) [ RunTime:0.017748s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 19785054 [ RunTime:0.024597s ]
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 '951126%' OR `brand` LIKE '951126%' ) ) AND `s`.`platform` = '4' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.021604s ]
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 '951126%' OR `brand` LIKE '951126%' ) ) AND `s`.`platform` = '5' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.022900s ]
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 '951126%' OR `brand` LIKE '951126%' ) ) AND `s`.`platform` = '6' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.027313s ]
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 '951126%' OR `brand` LIKE '951126%' ) ) AND `s`.`platform` = '7' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.009004s ]
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 '951126%' OR `brand` LIKE '951126%' ) ) AND `s`.`platform` = '8' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.014521s ]
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 '951126%' OR `brand` LIKE '951126%' ) ) AND `s`.`platform` = '9' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.005886s ]
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 '951126%' OR `brand` LIKE '951126%' ) ) AND `s`.`platform` = '10' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.022621s ]
SELECT COUNT(*) AS think_count FROM `stock` `s` WHERE ( `lockUser` = 0 AND `isDisplay` = 1 AND ( `partno` LIKE '951126%' OR `brand` LIKE '951126%' ) ) AND ( (s.platform = 1) ) [ RunTime:0.007292s ]