fix -- 修改查询表单方法,以兼容oracle数据库

This commit is contained in:
konbai
2022-03-27 17:59:44 +08:00
parent baec5bcc13
commit 189a6fa9ff
7 changed files with 34 additions and 11 deletions

View File

@@ -15,13 +15,13 @@
<result property="remark" column="remark"/>
</resultMap>
<select id="selectFormByDeployId" resultType="com.ruoyi.workflow.domain.vo.WfFormVo">
<select id="selectFormVoList" resultType="com.ruoyi.workflow.domain.vo.WfFormVo">
SELECT
t1.form_id AS formId,
t1.form_name AS formName,
t1.content AS content
FROM wf_form t1
LEFT JOIN wf_deploy_form t2 ON t1.form_id = t2.form_id
WHERE t2.deploy_id = #{deployId} limit 1
${ew.getCustomSqlSegment}
</select>
</mapper>