Select * from Gn_Shop_Item where it_id in (1356361037,1353290190,1322108840,1322640272,1356345517,1354712963,1322108920,1328672581,1353289421,1322108880,1353074576,1353757500,1335925709,1322106690,1527890713,1434984295,1322107800,1322108530,1348356733,1358730724,1352355655,1375404254,1369057659,1396962228,1335891314,1337782243,1365054143,1344515112,1329835796,1345772112,1381061868,1378358443,1322108060,1376477250,1368136302,1347333008,1322108890,1348013042,1329818378,1330500636,1322106700,1322105250,1329801328,1527890698,,1331272576,1377083068,1527890699,1322108720,1398816288) and it_use='1' and it_state2='1' and (it_time >='2018-09-22 00:00:00' and it_time <='2018-10-22 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,1377083068,1527890699,1322108720,1398816288) and it_use='1' and it_s' at line 1

error file : /opb/index.php