SHOW FULL COLUMNS FROM `stock` [ RunTime:0.002260s ]
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 'MN23TNW01%' OR `brand` LIKE 'MN23TNW01%' ) ) AND ( (s.platform = 1) ) ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.007974s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.001372s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 19553611 LIMIT 5 [ RunTime:0.000627s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.001791s ]
SELECT * FROM `stock_price` WHERE `stockid` = 19553611 ORDER BY `minOrder` ASC [ RunTime:0.000372s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.002158s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 19553611 ORDER BY `unit` DESC [ RunTime:0.001165s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.002022s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 19553611 LIMIT 2 [ RunTime:0.000505s ]
SELECT * FROM `stock_price` WHERE `stockid` = 19553611 ORDER BY `minOrder` ASC [ RunTime:0.000690s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 19563388 LIMIT 5 [ RunTime:0.000947s ]
SELECT * FROM `stock_price` WHERE `stockid` = 19563388 ORDER BY `minOrder` ASC [ RunTime:0.000498s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 19563388 ORDER BY `unit` DESC [ RunTime:0.000614s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 19563388 LIMIT 2 [ RunTime:0.000449s ]
SELECT * FROM `stock_price` WHERE `stockid` = 19563388 ORDER BY `minOrder` ASC [ RunTime:0.000464s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 19563386 LIMIT 5 [ RunTime:0.000474s ]
SELECT * FROM `stock_price` WHERE `stockid` = 19563386 ORDER BY `minOrder` ASC [ RunTime:0.000482s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 19563386 ORDER BY `unit` DESC [ RunTime:0.000472s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 19563386 LIMIT 2 [ RunTime:0.000444s ]
SELECT * FROM `stock_price` WHERE `stockid` = 19563386 ORDER BY `minOrder` ASC [ RunTime:0.000461s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 19563382 LIMIT 5 [ RunTime:0.000469s ]
SELECT * FROM `stock_price` WHERE `stockid` = 19563382 ORDER BY `minOrder` ASC [ RunTime:0.000484s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 19563382 ORDER BY `unit` DESC [ RunTime:0.000465s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 19563382 LIMIT 2 [ RunTime:0.000444s ]
SELECT * FROM `stock_price` WHERE `stockid` = 19563382 ORDER BY `minOrder` ASC [ RunTime:0.009083s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 17294788 LIMIT 5 [ RunTime:0.000887s ]
SELECT * FROM `stock_price` WHERE `stockid` = 17294788 ORDER BY `minOrder` ASC [ RunTime:0.015207s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 17294788 ORDER BY `unit` DESC [ RunTime:0.002811s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 17294788 LIMIT 2 [ RunTime:0.008798s ]
SELECT * FROM `stock_price` WHERE `stockid` = 17294788 ORDER BY `minOrder` ASC [ RunTime:0.005697s ]
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 'MN23TNW01%' OR `brand` LIKE 'MN23TNW01%' ) ) AND `s`.`platform` = '2' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.001260s ]
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 'MN23TNW01%' OR `brand` LIKE 'MN23TNW01%' ) ) AND `s`.`platform` = '3' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.002856s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 43781656 LIMIT 5 [ RunTime:0.000429s ]
SELECT * FROM `stock_price` WHERE `stockid` = 43781656 ORDER BY `minOrder` ASC [ RunTime:0.008693s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 43781656 ORDER BY `unit` DESC [ RunTime:0.004243s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 43781656 LIMIT 2 [ RunTime:0.006355s ]
SELECT * FROM `stock_price` WHERE `stockid` = 43781656 ORDER BY `minOrder` ASC [ RunTime:0.004625s ]
select * from pdf where partno='MN23TNW01-DA' and brandshort='NKK Switches' limit 1 [ RunTime:0.012566s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.002609s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'MN23TNW01-DA' OR `brand` LIKE 'NKK Switches%' ) ) LIMIT 1 [ RunTime:0.001505s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 43792021 LIMIT 5 [ RunTime:0.023137s ]
SELECT * FROM `stock_price` WHERE `stockid` = 43792021 ORDER BY `minOrder` ASC [ RunTime:0.006861s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 43792021 ORDER BY `unit` DESC [ RunTime:0.000709s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 43792021 LIMIT 2 [ RunTime:0.013811s ]
SELECT * FROM `stock_price` WHERE `stockid` = 43792021 ORDER BY `minOrder` ASC [ RunTime:0.012642s ]
select * from pdf where partno='MN23TNW01-EA' and brandshort='NKK Switches' limit 1 [ RunTime:0.001313s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'MN23TNW01-EA' OR `brand` LIKE 'NKK Switches%' ) ) LIMIT 1 [ RunTime:0.002669s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 43792017 LIMIT 5 [ RunTime:0.008090s ]
SELECT * FROM `stock_price` WHERE `stockid` = 43792017 ORDER BY `minOrder` ASC [ RunTime:0.005996s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 43792017 ORDER BY `unit` DESC [ RunTime:0.008577s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 43792017 LIMIT 2 [ RunTime:0.006553s ]
SELECT * FROM `stock_price` WHERE `stockid` = 43792017 ORDER BY `minOrder` ASC [ RunTime:0.014210s ]
select * from pdf where partno='MN23TNW01-DB' and brandshort='NKK Switches' limit 1 [ RunTime:0.008288s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'MN23TNW01-DB' OR `brand` LIKE 'NKK Switches%' ) ) LIMIT 1 [ RunTime:0.001179s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 43792012 LIMIT 5 [ RunTime:0.009610s ]
SELECT * FROM `stock_price` WHERE `stockid` = 43792012 ORDER BY `minOrder` ASC [ RunTime:0.016211s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 43792012 ORDER BY `unit` DESC [ RunTime:0.001140s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 43792012 LIMIT 2 [ RunTime:0.008272s ]
SELECT * FROM `stock_price` WHERE `stockid` = 43792012 ORDER BY `minOrder` ASC [ RunTime:0.006383s ]
select * from pdf where partno='MN23TNW01-FF' and brandshort='NKK Switches' limit 1 [ RunTime:0.001025s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'MN23TNW01-FF' OR `brand` LIKE 'NKK Switches%' ) ) LIMIT 1 [ RunTime:0.001007s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 43791012 LIMIT 5 [ RunTime:0.007902s ]
SELECT * FROM `stock_price` WHERE `stockid` = 43791012 ORDER BY `minOrder` ASC [ RunTime:0.006777s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 43791012 ORDER BY `unit` DESC [ RunTime:0.000652s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 43791012 LIMIT 2 [ RunTime:0.006867s ]
SELECT * FROM `stock_price` WHERE `stockid` = 43791012 ORDER BY `minOrder` ASC [ RunTime:0.006186s ]
select * from pdf where partno='MN23TNW01' and brandshort='NKK Switches' limit 1 [ RunTime:0.008318s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'MN23TNW01' OR `brand` LIKE 'NKK Switches%' ) ) LIMIT 1 [ RunTime:0.001138s ]
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 'MN23TNW01%' OR `brand` LIKE 'MN23TNW01%' ) ) AND `s`.`platform` = '4' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.008542s ]
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 'MN23TNW01%' OR `brand` LIKE 'MN23TNW01%' ) ) AND `s`.`platform` = '5' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.001314s ]
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 'MN23TNW01%' OR `brand` LIKE 'MN23TNW01%' ) ) AND `s`.`platform` = '6' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.012242s ]
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 'MN23TNW01%' OR `brand` LIKE 'MN23TNW01%' ) ) AND `s`.`platform` = '7' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.011464s ]
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 'MN23TNW01%' OR `brand` LIKE 'MN23TNW01%' ) ) AND `s`.`platform` = '8' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.030157s ]
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 'MN23TNW01%' OR `brand` LIKE 'MN23TNW01%' ) ) AND `s`.`platform` = '9' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.018594s ]
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 'MN23TNW01%' OR `brand` LIKE 'MN23TNW01%' ) ) AND `s`.`platform` = '10' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.010078s ]
SELECT COUNT(*) AS think_count FROM `stock` `s` WHERE ( `lockUser` = 0 AND `isDisplay` = 1 AND ( `partno` LIKE 'MN23TNW01%' OR `brand` LIKE 'MN23TNW01%' ) ) AND ( (s.platform = 1) ) [ RunTime:0.008186s ]