SHOW FULL COLUMNS FROM `stock` [ RunTime:0.001600s ]
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 'SPAN-P10R-G18F-PNLK-PNVBA-L1%' OR `brand` LIKE 'SPAN-P10R-G18F-PNLK-PNVBA-L1%' ) ) AND ( (s.platform = 1) ) ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.014453s ]
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 'SPAN-P10R-G18F-PNLK-PNVBA-L1%' OR `brand` LIKE 'SPAN-P10R-G18F-PNLK-PNVBA-L1%' ) ) AND `s`.`platform` = '2' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.021482s ]
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 'SPAN-P10R-G18F-PNLK-PNVBA-L1%' OR `brand` LIKE 'SPAN-P10R-G18F-PNLK-PNVBA-L1%' ) ) AND `s`.`platform` = '3' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.030154s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.002564s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 57863522 LIMIT 5 [ RunTime:0.012987s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.007388s ]
SELECT * FROM `stock_price` WHERE `stockid` = 57863522 ORDER BY `minOrder` ASC [ RunTime:0.011288s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.001342s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 57863522 ORDER BY `unit` DESC [ RunTime:0.010355s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.001012s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 57863522 LIMIT 2 [ RunTime:0.005852s ]
SELECT * FROM `stock_price` WHERE `stockid` = 57863522 ORDER BY `minOrder` ASC [ RunTime:0.013325s ]
select * from pdf where partno='SPAN-P10R-G18F-PNLK-PNVBA-L1' and brandshort='Festo Corporation' limit 1 [ RunTime:0.001192s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.004796s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'SPAN-P10R-G18F-PNLK-PNVBA-L1' OR `brand` LIKE 'Festo Corporation%' ) ) LIMIT 1 [ RunTime:0.000483s ]
SELECT `id` FROM `stock` WHERE `id` <> 57863522 AND `partno` = 'SPAN-P10R-G18F-PNLK-PNVBA-L1' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%festo corporation%' ) [ RunTime:0.005093s ]
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 'SPAN-P10R-G18F-PNLK-PNVBA-L1%' OR `brand` LIKE 'SPAN-P10R-G18F-PNLK-PNVBA-L1%' ) ) AND `s`.`platform` = '4' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.033744s ]
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 'SPAN-P10R-G18F-PNLK-PNVBA-L1%' OR `brand` LIKE 'SPAN-P10R-G18F-PNLK-PNVBA-L1%' ) ) AND `s`.`platform` = '5' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.028483s ]
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 'SPAN-P10R-G18F-PNLK-PNVBA-L1%' OR `brand` LIKE 'SPAN-P10R-G18F-PNLK-PNVBA-L1%' ) ) AND `s`.`platform` = '6' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.023969s ]
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 'SPAN-P10R-G18F-PNLK-PNVBA-L1%' OR `brand` LIKE 'SPAN-P10R-G18F-PNLK-PNVBA-L1%' ) ) AND `s`.`platform` = '7' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.022160s ]
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 'SPAN-P10R-G18F-PNLK-PNVBA-L1%' OR `brand` LIKE 'SPAN-P10R-G18F-PNLK-PNVBA-L1%' ) ) AND `s`.`platform` = '8' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.038083s ]
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 'SPAN-P10R-G18F-PNLK-PNVBA-L1%' OR `brand` LIKE 'SPAN-P10R-G18F-PNLK-PNVBA-L1%' ) ) AND `s`.`platform` = '9' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.033444s ]
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 'SPAN-P10R-G18F-PNLK-PNVBA-L1%' OR `brand` LIKE 'SPAN-P10R-G18F-PNLK-PNVBA-L1%' ) ) AND `s`.`platform` = '10' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.051905s ]
SELECT COUNT(*) AS think_count FROM `stock` `s` WHERE ( `lockUser` = 0 AND `isDisplay` = 1 AND ( `partno` LIKE 'SPAN-P10R-G18F-PNLK-PNVBA-L1%' OR `brand` LIKE 'SPAN-P10R-G18F-PNLK-PNVBA-L1%' ) ) AND ( (s.platform = 1) ) [ RunTime:0.034113s ]