springboot整合Mybatis,没有创建数据库表实体类
使用的是com.alibaba.fastjson.JSONObject这个怎么弄,有文章教程吗
<select id="selectAll" parameterType="com.alibaba.fastjson.JSONObject" resultType="com.alibaba.fastjson.JSONObject">
select
t.id approvalId,
t.detailId detailId,
t.approval_opinions approvalOpinions,
t.apporvalStatus apporvalStatus,
t.create_time createTime,
t.create_user createUser,
user.username username,
user.nickname nickname
from igms_approval_opinions t
LEFT JOIN sys_user user on user.id = t.create_user
where 1=1
<include refid="queryCondition"></include>