MyBatis多表联合查询resultType的返回值
一般数据按参数类型返回
<select id="queryCarIdList" resultType="long">
select id from t_car_car
</select>
<select id="queryDept" resultType="string">
SELECT deptname FROM t_car_run where deptid = #{deptid} GROUP BY deptname
&.
原创
2020-05-22 16:33:03 ·
5879 阅读 ·
0 评论