SHOW FULL COLUMNS FROM `stock` [ RunTime:0.001426s ]
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 'MD115D-15%' OR `brand` LIKE 'MD115D-15%' ) ) AND ( (s.platform = 1) ) ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.005574s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.001185s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 13872914 LIMIT 5 [ RunTime:0.005706s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.004891s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13872914 ORDER BY `minOrder` ASC [ RunTime:0.029126s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.001863s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 13872914 ORDER BY `unit` DESC [ RunTime:0.014733s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.006375s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 13872914 LIMIT 2 [ RunTime:0.005916s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13872914 ORDER BY `minOrder` ASC [ RunTime:0.000592s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 14768387 LIMIT 5 [ RunTime:0.012901s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14768387 ORDER BY `minOrder` ASC [ RunTime:0.014447s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 14768387 ORDER BY `unit` DESC [ RunTime:0.017874s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 14768387 LIMIT 2 [ RunTime:0.005791s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14768387 ORDER BY `minOrder` ASC [ RunTime:0.000402s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 14767892 LIMIT 5 [ RunTime:0.000953s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14767892 ORDER BY `minOrder` ASC [ RunTime:0.020965s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 14767892 ORDER BY `unit` DESC [ RunTime:0.010524s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 14767892 LIMIT 2 [ RunTime:0.019551s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14767892 ORDER BY `minOrder` ASC [ RunTime:0.021556s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 14767881 LIMIT 5 [ RunTime:0.010315s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14767881 ORDER BY `minOrder` ASC [ RunTime:0.000807s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 14767881 ORDER BY `unit` DESC [ RunTime:0.007415s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 14767881 LIMIT 2 [ RunTime:0.009231s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14767881 ORDER BY `minOrder` ASC [ RunTime:0.000427s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 14766216 LIMIT 5 [ RunTime:0.001163s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14766216 ORDER BY `minOrder` ASC [ RunTime:0.021095s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 14766216 ORDER BY `unit` DESC [ RunTime:0.021208s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 14766216 LIMIT 2 [ RunTime:0.015852s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14766216 ORDER BY `minOrder` ASC [ RunTime:0.007713s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 13875213 LIMIT 5 [ RunTime:0.012381s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13875213 ORDER BY `minOrder` ASC [ RunTime:0.024776s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 13875213 ORDER BY `unit` DESC [ RunTime:0.014580s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 13875213 LIMIT 2 [ RunTime:0.033222s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13875213 ORDER BY `minOrder` ASC [ RunTime:0.012144s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 13873599 LIMIT 5 [ RunTime:0.029154s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13873599 ORDER BY `minOrder` ASC [ RunTime:0.032706s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 13873599 ORDER BY `unit` DESC [ RunTime:0.011452s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 13873599 LIMIT 2 [ RunTime:0.010338s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13873599 ORDER BY `minOrder` ASC [ RunTime:0.005670s ]
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 'MD115D-15%' OR `brand` LIKE 'MD115D-15%' ) ) AND `s`.`platform` = '2' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.002666s ]
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 'MD115D-15%' OR `brand` LIKE 'MD115D-15%' ) ) AND `s`.`platform` = '3' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.017792s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 57513481 LIMIT 5 [ RunTime:0.055435s ]
SELECT * FROM `stock_price` WHERE `stockid` = 57513481 ORDER BY `minOrder` ASC [ RunTime:0.037629s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 57513481 ORDER BY `unit` DESC [ RunTime:0.016838s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 57513481 LIMIT 2 [ RunTime:0.044351s ]
SELECT * FROM `stock_price` WHERE `stockid` = 57513481 ORDER BY `minOrder` ASC [ RunTime:0.029765s ]
select * from pdf where partno='MD115D-15BI' and brandshort='MicroPower Direct' limit 1 [ RunTime:0.027516s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.002553s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'MD115D-15BI' OR `brand` LIKE 'MicroPower Direct%' ) ) LIMIT 1 [ RunTime:0.040173s ]
SELECT `id` FROM `stock` WHERE `id` <> 57513481 AND `partno` = 'MD115D-15BI' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%micropower direct%' ) [ RunTime:0.069792s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 13872914 [ RunTime:0.042414s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 57517980 LIMIT 5 [ RunTime:0.026103s ]
SELECT * FROM `stock_price` WHERE `stockid` = 57517980 ORDER BY `minOrder` ASC [ RunTime:0.057642s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 57517980 ORDER BY `unit` DESC [ RunTime:0.006716s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 57517980 LIMIT 2 [ RunTime:0.046074s ]
SELECT * FROM `stock_price` WHERE `stockid` = 57517980 ORDER BY `minOrder` ASC [ RunTime:0.003812s ]
select * from pdf where partno='MD115D-15I6' and brandshort='MicroPower Direct' limit 1 [ RunTime:0.014239s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'MD115D-15I6' OR `brand` LIKE 'MicroPower Direct%' ) ) LIMIT 1 [ RunTime:0.029704s ]
SELECT `id` FROM `stock` WHERE `id` <> 57517980 AND `partno` = 'MD115D-15I6' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%micropower direct%' ) [ RunTime:0.026887s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 14767892 [ RunTime:0.050662s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 57517941 LIMIT 5 [ RunTime:0.040693s ]
SELECT * FROM `stock_price` WHERE `stockid` = 57517941 ORDER BY `minOrder` ASC [ RunTime:0.032672s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 57517941 ORDER BY `unit` DESC [ RunTime:0.073754s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 57517941 LIMIT 2 [ RunTime:0.299042s ]
SELECT * FROM `stock_price` WHERE `stockid` = 57517941 ORDER BY `minOrder` ASC [ RunTime:0.007919s ]
select * from pdf where partno='MD115D-15I5' and brandshort='MicroPower Direct' limit 1 [ RunTime:0.020927s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'MD115D-15I5' OR `brand` LIKE 'MicroPower Direct%' ) ) LIMIT 1 [ RunTime:0.009772s ]
SELECT `id` FROM `stock` WHERE `id` <> 57517941 AND `partno` = 'MD115D-15I5' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%micropower direct%' ) [ RunTime:0.017940s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 14767881 [ RunTime:0.038206s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 57517882 LIMIT 5 [ RunTime:0.020373s ]
SELECT * FROM `stock_price` WHERE `stockid` = 57517882 ORDER BY `minOrder` ASC [ RunTime:0.042162s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 57517882 ORDER BY `unit` DESC [ RunTime:0.031655s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 57517882 LIMIT 2 [ RunTime:0.022847s ]
SELECT * FROM `stock_price` WHERE `stockid` = 57517882 ORDER BY `minOrder` ASC [ RunTime:0.016485s ]
select * from pdf where partno='MD115D-15I4' and brandshort='MicroPower Direct' limit 1 [ RunTime:0.083565s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'MD115D-15I4' OR `brand` LIKE 'MicroPower Direct%' ) ) LIMIT 1 [ RunTime:0.052475s ]
SELECT `id` FROM `stock` WHERE `id` <> 57517882 AND `partno` = 'MD115D-15I4' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%micropower direct%' ) [ RunTime:0.024509s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 13875213 [ RunTime:0.051760s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 57517657 LIMIT 5 [ RunTime:0.131280s ]
SELECT * FROM `stock_price` WHERE `stockid` = 57517657 ORDER BY `minOrder` ASC [ RunTime:0.036783s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 57517657 ORDER BY `unit` DESC [ RunTime:0.045496s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 57517657 LIMIT 2 [ RunTime:0.044031s ]
SELECT * FROM `stock_price` WHERE `stockid` = 57517657 ORDER BY `minOrder` ASC [ RunTime:0.051333s ]
select * from pdf where partno='MD115D-15CHI' and brandshort='MicroPower Direct' limit 1 [ RunTime:0.108869s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'MD115D-15CHI' OR `brand` LIKE 'MicroPower Direct%' ) ) LIMIT 1 [ RunTime:0.031904s ]
SELECT `id` FROM `stock` WHERE `id` <> 57517657 AND `partno` = 'MD115D-15CHI' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%micropower direct%' ) [ RunTime:0.034417s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 14768387 [ RunTime:0.027059s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 57514685 LIMIT 5 [ RunTime:0.025228s ]
SELECT * FROM `stock_price` WHERE `stockid` = 57514685 ORDER BY `minOrder` ASC [ RunTime:0.014691s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 57514685 ORDER BY `unit` DESC [ RunTime:0.040392s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 57514685 LIMIT 2 [ RunTime:0.020739s ]
SELECT * FROM `stock_price` WHERE `stockid` = 57514685 ORDER BY `minOrder` ASC [ RunTime:0.008116s ]
select * from pdf where partno='MD115D-15I' and brandshort='MicroPower Direct' limit 1 [ RunTime:0.021734s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'MD115D-15I' OR `brand` LIKE 'MicroPower Direct%' ) ) LIMIT 1 [ RunTime:0.013464s ]
SELECT `id` FROM `stock` WHERE `id` <> 57514685 AND `partno` = 'MD115D-15I' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%micropower direct%' ) [ RunTime:0.022444s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 13873599 [ RunTime:0.030280s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 57514606 LIMIT 5 [ RunTime:0.032140s ]
SELECT * FROM `stock_price` WHERE `stockid` = 57514606 ORDER BY `minOrder` ASC [ RunTime:0.041526s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 57514606 ORDER BY `unit` DESC [ RunTime:0.015307s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 57514606 LIMIT 2 [ RunTime:0.040421s ]
SELECT * FROM `stock_price` WHERE `stockid` = 57514606 ORDER BY `minOrder` ASC [ RunTime:0.008914s ]
select * from pdf where partno='MD115D-15' and brandshort='MicroPower Direct' limit 1 [ RunTime:0.019539s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'MD115D-15' OR `brand` LIKE 'MicroPower Direct%' ) ) LIMIT 1 [ RunTime:0.015708s ]
SELECT `id` FROM `stock` WHERE `id` <> 57514606 AND `partno` = 'MD115D-15' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%micropower direct%' ) [ RunTime:0.003621s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 14766216 [ RunTime:0.028106s ]
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 'MD115D-15%' OR `brand` LIKE 'MD115D-15%' ) ) AND `s`.`platform` = '4' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.009120s ]
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 'MD115D-15%' OR `brand` LIKE 'MD115D-15%' ) ) AND `s`.`platform` = '5' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.011558s ]
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 'MD115D-15%' OR `brand` LIKE 'MD115D-15%' ) ) AND `s`.`platform` = '6' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.003060s ]
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 'MD115D-15%' OR `brand` LIKE 'MD115D-15%' ) ) AND `s`.`platform` = '7' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.001213s ]
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 'MD115D-15%' OR `brand` LIKE 'MD115D-15%' ) ) AND `s`.`platform` = '8' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.005695s ]
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 'MD115D-15%' OR `brand` LIKE 'MD115D-15%' ) ) AND `s`.`platform` = '9' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.006906s ]
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 'MD115D-15%' OR `brand` LIKE 'MD115D-15%' ) ) AND `s`.`platform` = '10' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.006611s ]
SELECT COUNT(*) AS think_count FROM `stock` `s` WHERE ( `lockUser` = 0 AND `isDisplay` = 1 AND ( `partno` LIKE 'MD115D-15%' OR `brand` LIKE 'MD115D-15%' ) ) AND ( (s.platform = 1) ) [ RunTime:0.010500s ]