SHOW FULL COLUMNS FROM `stock` [ RunTime:0.003883s ]
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 '143701%' OR `brand` LIKE '143701%' ) ) AND ( (s.platform = 1) ) ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.024630s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.003188s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 10819937 LIMIT 5 [ RunTime:0.017763s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.001175s ]
SELECT * FROM `stock_price` WHERE `stockid` = 10819937 ORDER BY `minOrder` ASC [ RunTime:0.003037s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.003090s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 10819937 ORDER BY `unit` DESC [ RunTime:0.004625s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.002100s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 10819937 LIMIT 2 [ RunTime:0.003370s ]
SELECT * FROM `stock_price` WHERE `stockid` = 10819937 ORDER BY `minOrder` ASC [ RunTime:0.028125s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 10895255 LIMIT 5 [ RunTime:0.024985s ]
SELECT * FROM `stock_price` WHERE `stockid` = 10895255 ORDER BY `minOrder` ASC [ RunTime:0.026239s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 10895255 ORDER BY `unit` DESC [ RunTime:0.017459s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 10895255 LIMIT 2 [ RunTime:0.019711s ]
SELECT * FROM `stock_price` WHERE `stockid` = 10895255 ORDER BY `minOrder` ASC [ RunTime:0.010218s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 17385176 LIMIT 5 [ RunTime:0.015603s ]
SELECT * FROM `stock_price` WHERE `stockid` = 17385176 ORDER BY `minOrder` ASC [ RunTime:0.017358s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 17385176 ORDER BY `unit` DESC [ RunTime:0.004891s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 17385176 LIMIT 2 [ RunTime:0.012160s ]
SELECT * FROM `stock_price` WHERE `stockid` = 17385176 ORDER BY `minOrder` ASC [ RunTime:0.011010s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 14422765 LIMIT 5 [ RunTime:0.007176s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14422765 ORDER BY `minOrder` ASC [ RunTime:0.017582s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 14422765 ORDER BY `unit` DESC [ RunTime:0.005178s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 14422765 LIMIT 2 [ RunTime:0.012351s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14422765 ORDER BY `minOrder` ASC [ RunTime:0.004516s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 11872766 LIMIT 5 [ RunTime:0.025215s ]
SELECT * FROM `stock_price` WHERE `stockid` = 11872766 ORDER BY `minOrder` ASC [ RunTime:0.025527s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 11872766 ORDER BY `unit` DESC [ RunTime:0.022684s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 11872766 LIMIT 2 [ RunTime:0.020370s ]
SELECT * FROM `stock_price` WHERE `stockid` = 11872766 ORDER BY `minOrder` ASC [ RunTime:0.024655s ]
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 '143701%' OR `brand` LIKE '143701%' ) ) AND `s`.`platform` = '2' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.012430s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 32209022 LIMIT 5 [ RunTime:0.022945s ]
SELECT * FROM `stock_price` WHERE `stockid` = 32209022 ORDER BY `minOrder` ASC [ RunTime:0.069652s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 32209022 ORDER BY `unit` DESC [ RunTime:0.082211s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 32209022 LIMIT 2 [ RunTime:0.041770s ]
SELECT * FROM `stock_price` WHERE `stockid` = 32209022 ORDER BY `minOrder` ASC [ RunTime:0.009704s ]
select * from pdf where partno='1437019' and brandshort='phoenix contact' limit 1 [ RunTime:0.024896s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.002785s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '1437019' OR `brand` LIKE 'phoenix contact%' ) ) LIMIT 1 [ RunTime:0.024659s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 32209282 LIMIT 5 [ RunTime:0.009381s ]
SELECT * FROM `stock_price` WHERE `stockid` = 32209282 ORDER BY `minOrder` ASC [ RunTime:0.037761s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 32209282 ORDER BY `unit` DESC [ RunTime:0.018107s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 32209282 LIMIT 2 [ RunTime:0.008068s ]
SELECT * FROM `stock_price` WHERE `stockid` = 32209282 ORDER BY `minOrder` ASC [ RunTime:0.005201s ]
select * from pdf where partno='1437018' and brandshort='phoenix contact' limit 1 [ RunTime:0.010999s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '1437018' OR `brand` LIKE 'phoenix contact%' ) ) LIMIT 1 [ RunTime:0.013191s ]
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 '143701%' OR `brand` LIKE '143701%' ) ) AND `s`.`platform` = '3' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.010768s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 35485472 LIMIT 5 [ RunTime:0.010759s ]
SELECT * FROM `stock_price` WHERE `stockid` = 35485472 ORDER BY `minOrder` ASC [ RunTime:0.012343s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 35485472 ORDER BY `unit` DESC [ RunTime:0.004107s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 35485472 LIMIT 2 [ RunTime:0.021652s ]
SELECT * FROM `stock_price` WHERE `stockid` = 35485472 ORDER BY `minOrder` ASC [ RunTime:0.011988s ]
select * from pdf where partno='1437012-5' and brandshort='TE Connectivity AMP Connectors' limit 1 [ RunTime:0.001114s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '1437012-5' OR `brand` LIKE 'TE Connectivity AMP Connectors%' ) ) LIMIT 1 [ RunTime:0.000984s ]
SELECT `id` FROM `stock` WHERE `id` <> 35485472 AND `partno` = '1437012-5' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%te connectivity amp connectors%' ) [ RunTime:0.000900s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 62126830 LIMIT 5 [ RunTime:0.003458s ]
SELECT * FROM `stock_price` WHERE `stockid` = 62126830 ORDER BY `minOrder` ASC [ RunTime:0.010666s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 62126830 ORDER BY `unit` DESC [ RunTime:0.009660s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 62126830 LIMIT 2 [ RunTime:0.013523s ]
SELECT * FROM `stock_price` WHERE `stockid` = 62126830 ORDER BY `minOrder` ASC [ RunTime:0.000590s ]
select * from pdf where partno='1437012-5' and brandshort='TE Connectivity' limit 1 [ RunTime:0.001863s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '1437012-5' OR `brand` LIKE 'TE Connectivity%' ) ) LIMIT 1 [ RunTime:0.036154s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 61142473 LIMIT 5 [ RunTime:0.009152s ]
SELECT * FROM `stock_price` WHERE `stockid` = 61142473 ORDER BY `minOrder` ASC [ RunTime:0.009903s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 61142473 ORDER BY `unit` DESC [ RunTime:0.023674s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 61142473 LIMIT 2 [ RunTime:0.024711s ]
SELECT * FROM `stock_price` WHERE `stockid` = 61142473 ORDER BY `minOrder` ASC [ RunTime:0.009652s ]
select * from pdf where partno='1437012' and brandshort='Phoenix Contact' limit 1 [ RunTime:0.030646s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '1437012' OR `brand` LIKE 'Phoenix Contact%' ) ) LIMIT 1 [ RunTime:0.009653s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 61144238 LIMIT 5 [ RunTime:0.013595s ]
SELECT * FROM `stock_price` WHERE `stockid` = 61144238 ORDER BY `minOrder` ASC [ RunTime:0.017147s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 61144238 ORDER BY `unit` DESC [ RunTime:0.018368s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 61144238 LIMIT 2 [ RunTime:0.011548s ]
SELECT * FROM `stock_price` WHERE `stockid` = 61144238 ORDER BY `minOrder` ASC [ RunTime:0.018652s ]
select * from pdf where partno='1437019' and brandshort='Phoenix Contact' limit 1 [ RunTime:0.005015s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '1437019' OR `brand` LIKE 'Phoenix Contact%' ) ) LIMIT 1 [ RunTime:0.023477s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 61191592 LIMIT 5 [ RunTime:0.025755s ]
SELECT * FROM `stock_price` WHERE `stockid` = 61191592 ORDER BY `minOrder` ASC [ RunTime:0.023839s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 61191592 ORDER BY `unit` DESC [ RunTime:0.023787s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 61191592 LIMIT 2 [ RunTime:0.009501s ]
SELECT * FROM `stock_price` WHERE `stockid` = 61191592 ORDER BY `minOrder` ASC [ RunTime:0.014673s ]
select * from pdf where partno='1437018' and brandshort='Phoenix Contact' limit 1 [ RunTime:0.009296s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '1437018' OR `brand` LIKE 'Phoenix Contact%' ) ) LIMIT 1 [ RunTime:0.022025s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 64528372 LIMIT 5 [ RunTime:0.026611s ]
SELECT * FROM `stock_price` WHERE `stockid` = 64528372 ORDER BY `minOrder` ASC [ RunTime:0.029661s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 64528372 ORDER BY `unit` DESC [ RunTime:0.031150s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 64528372 LIMIT 2 [ RunTime:0.026602s ]
SELECT * FROM `stock_price` WHERE `stockid` = 64528372 ORDER BY `minOrder` ASC [ RunTime:0.004263s ]
select * from pdf where partno='143701' and brandshort='Brady Corporation' limit 1 [ RunTime:0.043063s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '143701' OR `brand` LIKE 'Brady Corporation%' ) ) LIMIT 1 [ RunTime:0.039455s ]
SELECT `id` FROM `stock` WHERE `id` <> 64528372 AND `partno` = '143701' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%brady corporation%' ) [ RunTime:0.024205s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 14422765 [ RunTime:0.048898s ]
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 '143701%' OR `brand` LIKE '143701%' ) ) AND `s`.`platform` = '4' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.032247s ]
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 '143701%' OR `brand` LIKE '143701%' ) ) AND `s`.`platform` = '5' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.023817s ]
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 '143701%' OR `brand` LIKE '143701%' ) ) AND `s`.`platform` = '6' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.024826s ]
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 '143701%' OR `brand` LIKE '143701%' ) ) AND `s`.`platform` = '7' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.044262s ]
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 '143701%' OR `brand` LIKE '143701%' ) ) AND `s`.`platform` = '8' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.028165s ]
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 '143701%' OR `brand` LIKE '143701%' ) ) AND `s`.`platform` = '9' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.013769s ]
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 '143701%' OR `brand` LIKE '143701%' ) ) AND `s`.`platform` = '10' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.027331s ]
SELECT COUNT(*) AS think_count FROM `stock` `s` WHERE ( `lockUser` = 0 AND `isDisplay` = 1 AND ( `partno` LIKE '143701%' OR `brand` LIKE '143701%' ) ) AND ( (s.platform = 1) ) [ RunTime:0.016938s ]