比如有 3张表 A,B,C,我要选择性查询这3张表,在java后台传入一个参数name,到xml里,怎么判断?
贴上xml
代码:<select id="getOtherList" resultType="map">
select ${colName} from $tableName$
<where>
dept_id=#{deptID}
</where>
</select>
贴上xml
代码:<select id="getOtherList" resultType="map">
select ${colName} from $tableName$
<where>
dept_id=#{deptID}
</where>
</select>
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货