From 73a816fd2b1e29c25d615c85ce34b12b55c16ccf Mon Sep 17 00:00:00 2001
From: zjh <1084500556@qq.com>
Date: 星期一, 20 一月 2025 13:41:45 +0800
Subject: [PATCH] zjh20250120

---
 ltkj-hosp/src/main/java/com/ltkj/hosp/mapper/TjSurveyTemplateMapper.java |   14 +++++++++++++-
 1 files changed, 13 insertions(+), 1 deletions(-)

diff --git a/ltkj-hosp/src/main/java/com/ltkj/hosp/mapper/TjSurveyTemplateMapper.java b/ltkj-hosp/src/main/java/com/ltkj/hosp/mapper/TjSurveyTemplateMapper.java
index 3b6e314..24b704a 100644
--- a/ltkj-hosp/src/main/java/com/ltkj/hosp/mapper/TjSurveyTemplateMapper.java
+++ b/ltkj-hosp/src/main/java/com/ltkj/hosp/mapper/TjSurveyTemplateMapper.java
@@ -3,10 +3,12 @@
 import java.util.List;
 
 import com.baomidou.mybatisplus.core.mapper.BaseMapper;
-import com.ltkj.hosp.domain.TjSurveyQuestion;
+import com.ltkj.common.core.domain.entity.SysDictData;
 import com.ltkj.hosp.domain.TjSurveyTemplate;
 import com.ltkj.hosp.domain.TjSurveyTempQues;
+import com.ltkj.hosp.domain.TreeTjSurveryTemplate;
 import org.apache.ibatis.annotations.Mapper;
+import org.apache.ibatis.annotations.Select;
 
 /**
  * 闂嵎妯℃澘Mapper鎺ュ彛
@@ -93,4 +95,14 @@
          * @return 缁撴灉
          */
         public int deleteTjSurveyTempQuesByMid(Long mid);
+
+    List<TreeTjSurveryTemplate> selectDictDataList(SysDictData dictData);
+
+
+    @Select("SELECT a.mid id,a.temp_name name,a.mid vaule FROM tj_survey_template a WHERE a.temp_type=#{vaule} AND a.qybz='0'")
+    List<TreeTjSurveryTemplate> getTreeTjSurveryTemplate(String vaule);
+
+
+    @Select("SELECT * FROM tj_survey_template a WHERE a.temp_type=#{tjCategory} AND a.qybz='0'")
+    TjSurveyTemplate selectTemplateByTjCategory(String tjCategory);
 }

--
Gitblit v1.8.0