From c1e82be9145431e0f15cbb7cdab4af702cbffc3c Mon Sep 17 00:00:00 2001 From: lyh <925863403@qq.com> Date: 星期四, 10 七月 2025 10:31:17 +0800 Subject: [PATCH] 台账导入 导入模板 --- lxzn-module-mdc/src/main/java/org/jeecg/modules/mdc/mapper/xml/MdcFeedbackMapper.xml | 10 ++++++++++ 1 files changed, 10 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..dde65c4 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,14 @@ <!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 }) + ORDER BY t1.create_time DESC + </select> </mapper> \ No newline at end of file -- Gitblit v1.9.3