SHOW FULL COLUMNS FROM `visit_log` [ RunTime:0.003237s ]
INSERT INTO `visit_log` SET `ip` = '216.73.216.133' , `useragent` = 'Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)' , `reffer` = '' , `host` = 'https://www.ic118.com/stock?keyword=LTP-4&search=1' [ RunTime:0.006201s ]
SHOW FULL COLUMNS FROM `product_type` [ RunTime:0.002801s ]
SELECT `id`,`typeid`,`name`,`typestr` FROM `product_type` WHERE `id` NOT IN (11,12,13,14,15) AND `id` <= 750 [ RunTime:0.001716s ]
SHOW FULL COLUMNS FROM `o_cart` [ RunTime:0.002442s ]
SELECT COUNT(*) AS think_count FROM `o_cart` WHERE ( `userId` = 0 AND `visitIP` = '216.73.216.133' ) [ RunTime:0.006818s ]
SHOW FULL COLUMNS FROM `ad` [ RunTime:0.001109s ]
SELECT * FROM `ad` WHERE `isDisplay` = 1 [ RunTime:0.009559s ]
SHOW FULL COLUMNS FROM `stock_search` [ RunTime:0.001671s ]
SELECT * FROM `stock_search` WHERE `partno` = 'LTP-4' LIMIT 1 [ RunTime:0.029324s ]
UPDATE `stock_search` SET `count` = 5 , `updatetime` = '2026-08-28 19:27:34' WHERE `partno` = 'LTP-4' [ RunTime:0.036797s ]
SHOW FULL COLUMNS FROM `stock` [ RunTime:0.002708s ]
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 'LTP-4%' OR `brand` LIKE 'LTP-4%' ) ) AND ( (s.platform = 1) ) ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.082835s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.009959s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 12047195 LIMIT 5 [ RunTime:0.057757s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.035013s ]
SELECT * FROM `stock_price` WHERE `stockid` = 12047195 ORDER BY `minOrder` ASC [ RunTime:0.034905s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.005923s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 12047195 ORDER BY `unit` DESC [ RunTime:0.020795s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.017217s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 12047195 LIMIT 2 [ RunTime:0.000826s ]
SELECT * FROM `stock_price` WHERE `stockid` = 12047195 ORDER BY `minOrder` ASC [ RunTime:0.019270s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 18972824 LIMIT 5 [ RunTime:0.031760s ]
SELECT * FROM `stock_price` WHERE `stockid` = 18972824 ORDER BY `minOrder` ASC [ RunTime:0.027076s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 18972824 ORDER BY `unit` DESC [ RunTime:0.026441s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 18972824 LIMIT 2 [ RunTime:0.044748s ]
SELECT * FROM `stock_price` WHERE `stockid` = 18972824 ORDER BY `minOrder` ASC [ RunTime:0.021855s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 18972823 LIMIT 5 [ RunTime:0.062876s ]
SELECT * FROM `stock_price` WHERE `stockid` = 18972823 ORDER BY `minOrder` ASC [ RunTime:0.024236s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 18972823 ORDER BY `unit` DESC [ RunTime:0.017471s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 18972823 LIMIT 2 [ RunTime:0.023361s ]
SELECT * FROM `stock_price` WHERE `stockid` = 18972823 ORDER BY `minOrder` ASC [ RunTime:0.006744s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 18972822 LIMIT 5 [ RunTime:0.041734s ]
SELECT * FROM `stock_price` WHERE `stockid` = 18972822 ORDER BY `minOrder` ASC [ RunTime:0.048268s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 18972822 ORDER BY `unit` DESC [ RunTime:0.032887s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 18972822 LIMIT 2 [ RunTime:0.072756s ]
SELECT * FROM `stock_price` WHERE `stockid` = 18972822 ORDER BY `minOrder` ASC [ RunTime:0.005283s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 18972821 LIMIT 5 [ RunTime:0.007568s ]
SELECT * FROM `stock_price` WHERE `stockid` = 18972821 ORDER BY `minOrder` ASC [ RunTime:0.030741s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 18972821 ORDER BY `unit` DESC [ RunTime:0.036795s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 18972821 LIMIT 2 [ RunTime:0.025924s ]
SELECT * FROM `stock_price` WHERE `stockid` = 18972821 ORDER BY `minOrder` ASC [ RunTime:0.017211s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 18972820 LIMIT 5 [ RunTime:0.033795s ]
SELECT * FROM `stock_price` WHERE `stockid` = 18972820 ORDER BY `minOrder` ASC [ RunTime:0.034204s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 18972820 ORDER BY `unit` DESC [ RunTime:0.042708s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 18972820 LIMIT 2 [ RunTime:0.048081s ]
SELECT * FROM `stock_price` WHERE `stockid` = 18972820 ORDER BY `minOrder` ASC [ RunTime:0.007363s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 18958778 LIMIT 5 [ RunTime:0.021014s ]
SELECT * FROM `stock_price` WHERE `stockid` = 18958778 ORDER BY `minOrder` ASC [ RunTime:0.019747s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 18958778 ORDER BY `unit` DESC [ RunTime:0.016585s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 18958778 LIMIT 2 [ RunTime:0.047435s ]
SELECT * FROM `stock_price` WHERE `stockid` = 18958778 ORDER BY `minOrder` ASC [ RunTime:0.011023s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 18958777 LIMIT 5 [ RunTime:0.039223s ]
SELECT * FROM `stock_price` WHERE `stockid` = 18958777 ORDER BY `minOrder` ASC [ RunTime:0.033473s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 18958777 ORDER BY `unit` DESC [ RunTime:0.024905s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 18958777 LIMIT 2 [ RunTime:0.009960s ]
SELECT * FROM `stock_price` WHERE `stockid` = 18958777 ORDER BY `minOrder` ASC [ RunTime:0.008616s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 18958655 LIMIT 5 [ RunTime:0.017161s ]
SELECT * FROM `stock_price` WHERE `stockid` = 18958655 ORDER BY `minOrder` ASC [ RunTime:0.007042s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 18958655 ORDER BY `unit` DESC [ RunTime:0.004233s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 18958655 LIMIT 2 [ RunTime:0.025442s ]
SELECT * FROM `stock_price` WHERE `stockid` = 18958655 ORDER BY `minOrder` ASC [ RunTime:0.023783s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 17044205 LIMIT 5 [ RunTime:0.005103s ]
SELECT * FROM `stock_price` WHERE `stockid` = 17044205 ORDER BY `minOrder` ASC [ RunTime:0.001965s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 17044205 ORDER BY `unit` DESC [ RunTime:0.000267s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 17044205 LIMIT 2 [ RunTime:0.000421s ]
SELECT * FROM `stock_price` WHERE `stockid` = 17044205 ORDER BY `minOrder` ASC [ RunTime:0.002162s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 17044204 LIMIT 5 [ RunTime:0.012059s ]
SELECT * FROM `stock_price` WHERE `stockid` = 17044204 ORDER BY `minOrder` ASC [ RunTime:0.012619s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 17044204 ORDER BY `unit` DESC [ RunTime:0.037834s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 17044204 LIMIT 2 [ RunTime:0.028379s ]
SELECT * FROM `stock_price` WHERE `stockid` = 17044204 ORDER BY `minOrder` ASC [ RunTime:0.010022s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 15264681 LIMIT 5 [ RunTime:0.019437s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15264681 ORDER BY `minOrder` ASC [ RunTime:0.006801s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 15264681 ORDER BY `unit` DESC [ RunTime:0.007811s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 15264681 LIMIT 2 [ RunTime:0.003360s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15264681 ORDER BY `minOrder` ASC [ RunTime:0.000664s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 15264679 LIMIT 5 [ RunTime:0.005456s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15264679 ORDER BY `minOrder` ASC [ RunTime:0.015446s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 15264679 ORDER BY `unit` DESC [ RunTime:0.020802s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 15264679 LIMIT 2 [ RunTime:0.028075s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15264679 ORDER BY `minOrder` ASC [ RunTime:0.019353s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 15261500 LIMIT 5 [ RunTime:0.008017s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15261500 ORDER BY `minOrder` ASC [ RunTime:0.032715s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 15261500 ORDER BY `unit` DESC [ RunTime:0.007160s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 15261500 LIMIT 2 [ RunTime:0.001649s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15261500 ORDER BY `minOrder` ASC [ RunTime:0.009435s ]
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 'LTP-4%' OR `brand` LIKE 'LTP-4%' ) ) AND `s`.`platform` = '2' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.022635s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 32236453 LIMIT 5 [ RunTime:0.028751s ]
SELECT * FROM `stock_price` WHERE `stockid` = 32236453 ORDER BY `minOrder` ASC [ RunTime:0.005145s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 32236453 ORDER BY `unit` DESC [ RunTime:0.007078s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 32236453 LIMIT 2 [ RunTime:0.038971s ]
SELECT * FROM `stock_price` WHERE `stockid` = 32236453 ORDER BY `minOrder` ASC [ RunTime:0.017914s ]
select * from pdf where partno='ltp-4323jd' and brandshort='liteon' limit 1 [ RunTime:0.000887s ]
select foldpath,foldpath2,filename from pdf_file where id=1919709 limit 1 [ RunTime:0.000739s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.002771s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'ltp-4323jd' OR `brand` LIKE 'liteon%' ) ) LIMIT 1 [ RunTime:0.001394s ]
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 'LTP-4%' OR `brand` LIKE 'LTP-4%' ) ) AND `s`.`platform` = '3' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.030120s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 63386724 LIMIT 5 [ RunTime:0.008697s ]
SELECT * FROM `stock_price` WHERE `stockid` = 63386724 ORDER BY `minOrder` ASC [ RunTime:0.010437s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 63386724 ORDER BY `unit` DESC [ RunTime:0.024256s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 63386724 LIMIT 2 [ RunTime:0.039032s ]
SELECT * FROM `stock_price` WHERE `stockid` = 63386724 ORDER BY `minOrder` ASC [ RunTime:0.003843s ]
select * from pdf where partno='LTP-4' and brandshort='Essentra Components' limit 1 [ RunTime:0.010330s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'LTP-4' OR `brand` LIKE 'Essentra Components%' ) ) LIMIT 1 [ RunTime:0.025927s ]
SELECT `id` FROM `stock` WHERE `id` <> 63386724 AND `partno` = 'LTP-4' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%essentra components%' ) [ RunTime:0.015237s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 12047195 [ RunTime:0.033156s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 58110658 LIMIT 5 [ RunTime:0.032316s ]
SELECT * FROM `stock_price` WHERE `stockid` = 58110658 ORDER BY `minOrder` ASC [ RunTime:0.013608s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 58110658 ORDER BY `unit` DESC [ RunTime:0.009943s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 58110658 LIMIT 2 [ RunTime:0.015968s ]
SELECT * FROM `stock_price` WHERE `stockid` = 58110658 ORDER BY `minOrder` ASC [ RunTime:0.022333s ]
select * from pdf where partno='LTP-4323JD' and brandshort='Lite-On Inc.' limit 1 [ RunTime:0.012071s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'LTP-4323JD' OR `brand` LIKE 'Lite-On Inc.%' ) ) LIMIT 1 [ RunTime:0.020256s ]
SELECT `id` FROM `stock` WHERE `id` <> 58110658 AND `partno` = 'LTP-4323JD' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%lite-on inc.%' ) [ RunTime:0.033976s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 15264679 [ RunTime:0.008573s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 58110555 LIMIT 5 [ RunTime:0.000627s ]
SELECT * FROM `stock_price` WHERE `stockid` = 58110555 ORDER BY `minOrder` ASC [ RunTime:0.002532s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 58110555 ORDER BY `unit` DESC [ RunTime:0.000447s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 58110555 LIMIT 2 [ RunTime:0.000884s ]
SELECT * FROM `stock_price` WHERE `stockid` = 58110555 ORDER BY `minOrder` ASC [ RunTime:0.000416s ]
select * from pdf where partno='LTP-4323G' and brandshort='Lite-On Inc.' limit 1 [ RunTime:0.002102s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'LTP-4323G' OR `brand` LIKE 'Lite-On Inc.%' ) ) LIMIT 1 [ RunTime:0.000453s ]
SELECT `id` FROM `stock` WHERE `id` <> 58110555 AND `partno` = 'LTP-4323G' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%lite-on inc.%' ) [ RunTime:0.000491s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 15264681 [ RunTime:0.000391s ]
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 'LTP-4%' OR `brand` LIKE 'LTP-4%' ) ) AND `s`.`platform` = '4' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.006196s ]
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 'LTP-4%' OR `brand` LIKE 'LTP-4%' ) ) AND `s`.`platform` = '5' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.033711s ]
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 'LTP-4%' OR `brand` LIKE 'LTP-4%' ) ) AND `s`.`platform` = '6' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.015651s ]
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 'LTP-4%' OR `brand` LIKE 'LTP-4%' ) ) AND `s`.`platform` = '7' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.005362s ]
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 'LTP-4%' OR `brand` LIKE 'LTP-4%' ) ) AND `s`.`platform` = '8' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.063535s ]
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 'LTP-4%' OR `brand` LIKE 'LTP-4%' ) ) AND `s`.`platform` = '9' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.026506s ]
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 'LTP-4%' OR `brand` LIKE 'LTP-4%' ) ) AND `s`.`platform` = '10' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.024515s ]
SELECT COUNT(*) AS think_count FROM `stock` `s` WHERE ( `lockUser` = 0 AND `isDisplay` = 1 AND ( `partno` LIKE 'LTP-4%' OR `brand` LIKE 'LTP-4%' ) ) AND ( (s.platform = 1) ) [ RunTime:0.039969s ]