<select id="importOrders" parameterType="java.util.HashMap" >
INSERT INTO 表名(
name,
class
)
select
d.name,
p.class
from tableA d ,tableB p
where d.pid = p.classid
</select>
<select id="importOrders" parameterType="java.util.HashMap" >
INSERT INTO 表名(
name,
class
)
select
d.name,
p.class
from tableA d ,tableB p
where d.pid = p.classid
</select>