SHOW FULL COLUMNS FROM `stock` [ RunTime:0.002461s ]
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 'MMS-113-02-L-SV%' OR `brand` LIKE 'MMS-113-02-L-SV%' ) ) AND ( (s.platform = 1) ) ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.040219s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.021048s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 12694040 LIMIT 5 [ RunTime:0.028803s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.012388s ]
SELECT * FROM `stock_price` WHERE `stockid` = 12694040 ORDER BY `minOrder` ASC [ RunTime:0.027603s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.009489s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 12694040 ORDER BY `unit` DESC [ RunTime:0.026603s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.003078s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 12694040 LIMIT 2 [ RunTime:0.012744s ]
SELECT * FROM `stock_price` WHERE `stockid` = 12694040 ORDER BY `minOrder` ASC [ RunTime:0.024830s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 12693842 LIMIT 5 [ RunTime:0.041218s ]
SELECT * FROM `stock_price` WHERE `stockid` = 12693842 ORDER BY `minOrder` ASC [ RunTime:0.013097s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 12693842 ORDER BY `unit` DESC [ RunTime:0.019222s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 12693842 LIMIT 2 [ RunTime:0.017997s ]
SELECT * FROM `stock_price` WHERE `stockid` = 12693842 ORDER BY `minOrder` ASC [ RunTime:0.001955s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 12686601 LIMIT 5 [ RunTime:0.018993s ]
SELECT * FROM `stock_price` WHERE `stockid` = 12686601 ORDER BY `minOrder` ASC [ RunTime:0.011319s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 12686601 ORDER BY `unit` DESC [ RunTime:0.007100s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 12686601 LIMIT 2 [ RunTime:0.013630s ]
SELECT * FROM `stock_price` WHERE `stockid` = 12686601 ORDER BY `minOrder` ASC [ RunTime:0.003322s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 12685820 LIMIT 5 [ RunTime:0.006579s ]
SELECT * FROM `stock_price` WHERE `stockid` = 12685820 ORDER BY `minOrder` ASC [ RunTime:0.001704s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 12685820 ORDER BY `unit` DESC [ RunTime:0.000695s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 12685820 LIMIT 2 [ RunTime:0.005091s ]
SELECT * FROM `stock_price` WHERE `stockid` = 12685820 ORDER BY `minOrder` ASC [ RunTime:0.005509s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 11539513 LIMIT 5 [ RunTime:0.002370s ]
SELECT * FROM `stock_price` WHERE `stockid` = 11539513 ORDER BY `minOrder` ASC [ RunTime:0.000840s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 11539513 ORDER BY `unit` DESC [ RunTime:0.004683s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 11539513 LIMIT 2 [ RunTime:0.004770s ]
SELECT * FROM `stock_price` WHERE `stockid` = 11539513 ORDER BY `minOrder` ASC [ RunTime:0.005467s ]
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 'MMS-113-02-L-SV%' OR `brand` LIKE 'MMS-113-02-L-SV%' ) ) AND `s`.`platform` = '2' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.005014s ]
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 'MMS-113-02-L-SV%' OR `brand` LIKE 'MMS-113-02-L-SV%' ) ) AND `s`.`platform` = '3' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.008191s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 52958834 LIMIT 5 [ RunTime:0.003024s ]
SELECT * FROM `stock_price` WHERE `stockid` = 52958834 ORDER BY `minOrder` ASC [ RunTime:0.006145s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 52958834 ORDER BY `unit` DESC [ RunTime:0.002029s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 52958834 LIMIT 2 [ RunTime:0.000564s ]
SELECT * FROM `stock_price` WHERE `stockid` = 52958834 ORDER BY `minOrder` ASC [ RunTime:0.000344s ]
select * from pdf where partno='MMS-113-02-L-SV-P' and brandshort='Samtec Inc.' limit 1 [ RunTime:0.002440s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.002949s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'MMS-113-02-L-SV-P' OR `brand` LIKE 'Samtec Inc.%' ) ) LIMIT 1 [ RunTime:0.002313s ]
SELECT `id` FROM `stock` WHERE `id` <> 52958834 AND `partno` = 'MMS-113-02-L-SV-P' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%samtec inc.%' ) [ RunTime:0.001335s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 11539513 [ RunTime:0.000926s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 52957651 LIMIT 5 [ RunTime:0.001845s ]
SELECT * FROM `stock_price` WHERE `stockid` = 52957651 ORDER BY `minOrder` ASC [ RunTime:0.001900s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 52957651 ORDER BY `unit` DESC [ RunTime:0.000779s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 52957651 LIMIT 2 [ RunTime:0.000539s ]
SELECT * FROM `stock_price` WHERE `stockid` = 52957651 ORDER BY `minOrder` ASC [ RunTime:0.000370s ]
select * from pdf where partno='MMS-113-02-L-SV-01' and brandshort='Samtec Inc.' limit 1 [ RunTime:0.003373s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'MMS-113-02-L-SV-01' OR `brand` LIKE 'Samtec Inc.%' ) ) LIMIT 1 [ RunTime:0.003081s ]
SELECT `id` FROM `stock` WHERE `id` <> 52957651 AND `partno` = 'MMS-113-02-L-SV-01' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%samtec inc.%' ) [ RunTime:0.008545s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 12694040 [ RunTime:0.000989s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 52957198 LIMIT 5 [ RunTime:0.003029s ]
SELECT * FROM `stock_price` WHERE `stockid` = 52957198 ORDER BY `minOrder` ASC [ RunTime:0.002385s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 52957198 ORDER BY `unit` DESC [ RunTime:0.000720s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 52957198 LIMIT 2 [ RunTime:0.004343s ]
SELECT * FROM `stock_price` WHERE `stockid` = 52957198 ORDER BY `minOrder` ASC [ RunTime:0.000464s ]
select * from pdf where partno='MMS-113-02-L-SV-K' and brandshort='Samtec Inc.' limit 1 [ RunTime:0.003683s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'MMS-113-02-L-SV-K' OR `brand` LIKE 'Samtec Inc.%' ) ) LIMIT 1 [ RunTime:0.000836s ]
SELECT `id` FROM `stock` WHERE `id` <> 52957198 AND `partno` = 'MMS-113-02-L-SV-K' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%samtec inc.%' ) [ RunTime:0.000872s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 12693842 [ RunTime:0.010304s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 52954449 LIMIT 5 [ RunTime:0.000679s ]
SELECT * FROM `stock_price` WHERE `stockid` = 52954449 ORDER BY `minOrder` ASC [ RunTime:0.001456s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 52954449 ORDER BY `unit` DESC [ RunTime:0.002465s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 52954449 LIMIT 2 [ RunTime:0.003651s ]
SELECT * FROM `stock_price` WHERE `stockid` = 52954449 ORDER BY `minOrder` ASC [ RunTime:0.000430s ]
select * from pdf where partno='MMS-113-02-L-SV-P-TR' and brandshort='Samtec Inc.' limit 1 [ RunTime:0.001180s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'MMS-113-02-L-SV-P-TR' OR `brand` LIKE 'Samtec Inc.%' ) ) LIMIT 1 [ RunTime:0.000807s ]
SELECT `id` FROM `stock` WHERE `id` <> 52954449 AND `partno` = 'MMS-113-02-L-SV-P-TR' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%samtec inc.%' ) [ RunTime:0.000852s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 12686601 [ RunTime:0.000686s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 52952814 LIMIT 5 [ RunTime:0.001120s ]
SELECT * FROM `stock_price` WHERE `stockid` = 52952814 ORDER BY `minOrder` ASC [ RunTime:0.001481s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 52952814 ORDER BY `unit` DESC [ RunTime:0.001927s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 52952814 LIMIT 2 [ RunTime:0.000728s ]
SELECT * FROM `stock_price` WHERE `stockid` = 52952814 ORDER BY `minOrder` ASC [ RunTime:0.000424s ]
select * from pdf where partno='MMS-113-02-L-SV-K-TR' and brandshort='Samtec Inc.' limit 1 [ RunTime:0.000945s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'MMS-113-02-L-SV-K-TR' OR `brand` LIKE 'Samtec Inc.%' ) ) LIMIT 1 [ RunTime:0.006136s ]
SELECT `id` FROM `stock` WHERE `id` <> 52952814 AND `partno` = 'MMS-113-02-L-SV-K-TR' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%samtec inc.%' ) [ RunTime:0.001256s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 12685820 [ RunTime:0.000748s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 52945767 LIMIT 5 [ RunTime:0.000613s ]
SELECT * FROM `stock_price` WHERE `stockid` = 52945767 ORDER BY `minOrder` ASC [ RunTime:0.001169s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 52945767 ORDER BY `unit` DESC [ RunTime:0.005128s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 52945767 LIMIT 2 [ RunTime:0.001001s ]
SELECT * FROM `stock_price` WHERE `stockid` = 52945767 ORDER BY `minOrder` ASC [ RunTime:0.000448s ]
select * from pdf where partno='MMS-113-02-L-SV-TR' and brandshort='Samtec Inc.' limit 1 [ RunTime:0.001613s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'MMS-113-02-L-SV-TR' OR `brand` LIKE 'Samtec Inc.%' ) ) LIMIT 1 [ RunTime:0.000764s ]
SELECT `id` FROM `stock` WHERE `id` <> 52945767 AND `partno` = 'MMS-113-02-L-SV-TR' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%samtec inc.%' ) [ RunTime:0.000983s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 52899465 LIMIT 5 [ RunTime:0.002229s ]
SELECT * FROM `stock_price` WHERE `stockid` = 52899465 ORDER BY `minOrder` ASC [ RunTime:0.001695s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 52899465 ORDER BY `unit` DESC [ RunTime:0.002279s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 52899465 LIMIT 2 [ RunTime:0.000644s ]
SELECT * FROM `stock_price` WHERE `stockid` = 52899465 ORDER BY `minOrder` ASC [ RunTime:0.000429s ]
select * from pdf where partno='MMS-113-02-L-SV' and brandshort='Samtec Inc.' limit 1 [ RunTime:0.003560s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'MMS-113-02-L-SV' OR `brand` LIKE 'Samtec Inc.%' ) ) LIMIT 1 [ RunTime:0.001586s ]
SELECT `id` FROM `stock` WHERE `id` <> 52899465 AND `partno` = 'MMS-113-02-L-SV' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%samtec inc.%' ) [ RunTime:0.001206s ]
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 'MMS-113-02-L-SV%' OR `brand` LIKE 'MMS-113-02-L-SV%' ) ) AND `s`.`platform` = '4' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.001494s ]
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 'MMS-113-02-L-SV%' OR `brand` LIKE 'MMS-113-02-L-SV%' ) ) AND `s`.`platform` = '5' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.001173s ]
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 'MMS-113-02-L-SV%' OR `brand` LIKE 'MMS-113-02-L-SV%' ) ) AND `s`.`platform` = '6' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.004280s ]
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 'MMS-113-02-L-SV%' OR `brand` LIKE 'MMS-113-02-L-SV%' ) ) AND `s`.`platform` = '7' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.002494s ]
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 'MMS-113-02-L-SV%' OR `brand` LIKE 'MMS-113-02-L-SV%' ) ) AND `s`.`platform` = '8' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.001141s ]
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 'MMS-113-02-L-SV%' OR `brand` LIKE 'MMS-113-02-L-SV%' ) ) AND `s`.`platform` = '9' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.005379s ]
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 'MMS-113-02-L-SV%' OR `brand` LIKE 'MMS-113-02-L-SV%' ) ) AND `s`.`platform` = '10' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.003293s ]
SELECT COUNT(*) AS think_count FROM `stock` `s` WHERE ( `lockUser` = 0 AND `isDisplay` = 1 AND ( `partno` LIKE 'MMS-113-02-L-SV%' OR `brand` LIKE 'MMS-113-02-L-SV%' ) ) AND ( (s.platform = 1) ) [ RunTime:0.001190s ]