请问如何处理传回的参数,我想把这个字符串里的数据都只取前四位,变成'2020,2020,2020...'这种格式,请问参数语句应该怎么写?
我的参数语句现在是这样的:
1=1 ${IF(LEN(时间)==0,""," AND SUBSTRING( payTime, 1, 4 ) in('"+SUBSTITUTE(时间,",","','")+"')")}
1=1 ${IF(LEN(时间)==0,""," AND SUBSTRING( payTime, 1, 4 ) in('"+MAPARRAY(split(时间,","),left(item,4))+"')")}