SHOW FULL COLUMNS FROM `stock` [ RunTime:0.001889s ]
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 'IMC-750I-SFP%' OR `brand` LIKE 'IMC-750I-SFP%' ) ) AND ( (s.platform = 1) ) ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.017511s ]
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 'IMC-750I-SFP%' OR `brand` LIKE 'IMC-750I-SFP%' ) ) AND `s`.`platform` = '2' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.022577s ]
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 'IMC-750I-SFP%' OR `brand` LIKE 'IMC-750I-SFP%' ) ) AND `s`.`platform` = '3' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.009922s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.003967s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 50585961 LIMIT 5 [ RunTime:0.012436s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.002549s ]
SELECT * FROM `stock_price` WHERE `stockid` = 50585961 ORDER BY `minOrder` ASC [ RunTime:0.005390s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.005379s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 50585961 ORDER BY `unit` DESC [ RunTime:0.000468s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.002487s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 50585961 LIMIT 2 [ RunTime:0.002945s ]
SELECT * FROM `stock_price` WHERE `stockid` = 50585961 ORDER BY `minOrder` ASC [ RunTime:0.004135s ]
select * from pdf where partno='IMC-750I-SFP' and brandshort='Advantech Corporation' limit 1 [ RunTime:0.006453s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.002511s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'IMC-750I-SFP' OR `brand` LIKE 'Advantech Corporation%' ) ) LIMIT 1 [ RunTime:0.004577s ]
SELECT `id` FROM `stock` WHERE `id` <> 50585961 AND `partno` = 'IMC-750I-SFP' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%advantech corporation%' ) [ RunTime:0.006425s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 37896415 [ RunTime:0.011284s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 37896415 LIMIT 5 [ RunTime:0.000841s ]
SELECT * FROM `stock_price` WHERE `stockid` = 37896415 ORDER BY `minOrder` ASC [ RunTime:0.007800s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 37896415 ORDER BY `unit` DESC [ RunTime:0.018572s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 37896415 LIMIT 2 [ RunTime:0.005612s ]
SELECT * FROM `stock_price` WHERE `stockid` = 37896415 ORDER BY `minOrder` ASC [ RunTime:0.008304s ]
select * from pdf where partno='IMC-750I-SFP' and brandshort='Advantech Corporation' limit 1 [ RunTime:0.022392s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'IMC-750I-SFP' OR `brand` LIKE 'Advantech Corporation%' ) ) LIMIT 1 [ RunTime:0.006960s ]
SELECT `id` FROM `stock` WHERE `id` <> 37896415 AND `partno` = 'IMC-750I-SFP' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%advantech corporation%' ) [ RunTime:0.005407s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 50585961 [ RunTime:0.006681s ]
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 'IMC-750I-SFP%' OR `brand` LIKE 'IMC-750I-SFP%' ) ) AND `s`.`platform` = '4' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.011059s ]
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 'IMC-750I-SFP%' OR `brand` LIKE 'IMC-750I-SFP%' ) ) AND `s`.`platform` = '5' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.005275s ]
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 'IMC-750I-SFP%' OR `brand` LIKE 'IMC-750I-SFP%' ) ) AND `s`.`platform` = '6' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.008138s ]
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 'IMC-750I-SFP%' OR `brand` LIKE 'IMC-750I-SFP%' ) ) AND `s`.`platform` = '7' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.019461s ]
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 'IMC-750I-SFP%' OR `brand` LIKE 'IMC-750I-SFP%' ) ) AND `s`.`platform` = '8' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.005045s ]
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 'IMC-750I-SFP%' OR `brand` LIKE 'IMC-750I-SFP%' ) ) AND `s`.`platform` = '9' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.005813s ]
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 'IMC-750I-SFP%' OR `brand` LIKE 'IMC-750I-SFP%' ) ) AND `s`.`platform` = '10' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.009996s ]
SELECT COUNT(*) AS think_count FROM `stock` `s` WHERE ( `lockUser` = 0 AND `isDisplay` = 1 AND ( `partno` LIKE 'IMC-750I-SFP%' OR `brand` LIKE 'IMC-750I-SFP%' ) ) AND ( (s.platform = 1) ) [ RunTime:0.012287s ]