//这是从自定义sql中获取的var sql=[ "insert into 产品lr(产品id,产品名称) values('", ["94"], //数组的长度不确定 "','", ["DDDfffDDD","DDD盐DDD","DDD海鲜粉DDD","DDD胡椒粉DDD","DDD333DDD"], 数组的长度不确定 "','", "", "''\n\n)" ]//最后要得到:(循环插入使用)[ "insert into 产品lr(产品id,产品名称) values('94','DDDfffDDD')", "insert into 产品lr(产品id,产品名称) values('94','DDD盐DDD')", "insert into 产品lr(产品id,产品名称) values('94','DDD海鲜粉DDD') ", "insert into 产品lr(产品id,产品名称) values('94','DDD胡椒粉DDD')", "insert into 产品lr(产品id,产品名称) values('94','DDD333DDD')" ]
BIG阳
ITMISS