mybatis语句批量新增语句
mybatis中语句
userid, url, type, uploaddate, path, approve_id ) select SEQ_INVESTOR_FILE_INFO.NEXTVAL , A.* from( #{item.investorPath}, #{item.investorApproveId} from dual
oracle数据库中运⾏是下⾯这种代码insert into testcuijia(id,name,sex)select seq_home_banner.nextval,A.* from ( select '11','男' from dual union select '22','⼥' from dual) A
mysql⼀样,只是序列不⽤写了,直接⽤⾃增主键就可以insert into testcuijia(name,sex)select A.*
from ( select '11','男' from dual union select '22','⼥' from dual) A
因篇幅问题不能全部显示,请点此查看更多更全内容