//这是从自定义sql中获取的varsql=["insertinto产品lr(产品id,产品名称)values('",["94"],//数组的长度不确定"','",["DDDfffDDD","DDD盐DDD","DDD海鲜粉DDD","DDD胡椒粉DDD","DDD333DDD"],数组的长度不确定"','","","''\n\n)"]//最后要得到:(循环插入使用)["insertinto产品lr(产品id,产品名称)values('94','DDDfffDDD')","insertinto产品lr(产品id,产品名称)values('94','DDD盐DDD')","insertinto产品lr(产品id,产品名称)values('94','DDD海鲜粉DDD')","insertinto产品lr(产品id,产品名称)values('94','DDD胡椒粉DDD')","insertinto产品lr(产品id,产品名称)values('94','DDD333DDD')"]这个该怎么实现?
慕码人2483693
Smart猫小萌
相关分类