From fe9f16a02c89eb6c5264c06bf76e748a0d809647 Mon Sep 17 00:00:00 2001 From: zhaowenxuan <chacca165@163.com> Date: 星期五, 01 十一月 2024 18:03:58 +0800 Subject: [PATCH] 2024-11-01 --- 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