From dc4d5cb49cba56d843f72c5244a04e8efd0beb40 Mon Sep 17 00:00:00 2001
From: Lius <Lius2225@163.com>
Date: 星期二, 04 六月 2024 10:55:49 +0800
Subject: [PATCH] update

---
 lxzn-module-mdc/src/main/java/org/jeecg/modules/mdc/mapper/xml/MdcFeedbackMapper.xml |    9 +++++++++
 1 files changed, 9 insertions(+), 0 deletions(-)

diff --git a/lxzn-module-mdc/src/main/java/org/jeecg/modules/mdc/mapper/xml/MdcFeedbackMapper.xml b/lxzn-module-mdc/src/main/java/org/jeecg/modules/mdc/mapper/xml/MdcFeedbackMapper.xml
index 56380f2..fc9962b 100644
--- a/lxzn-module-mdc/src/main/java/org/jeecg/modules/mdc/mapper/xml/MdcFeedbackMapper.xml
+++ b/lxzn-module-mdc/src/main/java/org/jeecg/modules/mdc/mapper/xml/MdcFeedbackMapper.xml
@@ -2,4 +2,13 @@
 <!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
 <mapper namespace="org.jeecg.modules.mdc.mapper.MdcFeedbackMapper">
 
+    <select id="getFeedbackList" resultType="org.jeecg.modules.mdc.entity.MdcFeedback">
+        SELECT
+            t1.*
+        FROM
+            mdc_feedback t1
+                LEFT JOIN mdc_production t2 ON t1.production_id = t2.id
+        WHERE
+            (t2.id = #{ productionId } OR t2.parent_id = #{ productionId })
+    </select>
 </mapper>
\ No newline at end of file

--
Gitblit v1.9.3