Select * from Gn_Shop_Item where it_id in (1356361037,1353290190,1322108840,1356345517,1328672581,1322640272,1322108920,1354712963,1353289421,1322108880,1353074576,1353757500,1335925709,1322106690,1527890713,1434984295,1322108530,1322107800,1348356733,1358730724,1352355655,1335891314,1527890699,1322106700,1375404254,1337782243,1369057659,1378358443,1396962228,1527890698,1345772112,1365054143,1344515112,1329835796,1381061868,1322105250,1329818378,1493177920,1367479248,1330500636,1322108720,1329801328,,1331272576,1322106680,1376477250,1322108060,1360416474,1398816288,1368451186,1368136302,1322108890,1348013042,1347333008) and it_use='1' and it_state2='1' and (it_time >='2018-09-23 00:00:00' and it_time <='2018-10-23 23:59:59') order by it_time desc limit 0,10

1064 : You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '1331272576,1322106680,1376477250,1322108060,1360416474,1398816288,1368451186,136' at line 1

error file : /opb/index.php