新增问题反馈绑定项目id

This commit is contained in:
2025-08-16 19:54:11 +08:00
parent 9093400922
commit 21ff8705ce
8 changed files with 62 additions and 3 deletions

View File

@@ -44,11 +44,31 @@
oaf.content,
oaf.status,
oaf.title,
oaf.project_id,
sop.project_name,
sop.project_code,
sop.project_num,
ofi.status as state
from oa_feedback oaf
left join oa_feedback_item ofi on oaf.feedback_id = ofi.feedback_id
left join sys_oa_project sop on sop.project_id = oaf.project_id
${ew.getCustomSqlSegment}
</select>
<select id="selectVoByIdPlus" resultType="com.ruoyi.oa.domain.vo.OaFeedbackVo">
select
oaf.feedback_id,
oaf.content,
oaf.status,
oaf.title,
oaf.project_id,
sop.project_name,
sop.project_code,
sop.project_num
from oa_feedback oaf
left join sys_oa_project sop on sop.project_id = oaf.project_id
where oaf.feedback_id = #{feedbackId}
</select>
</mapper>