From 88ee7561ab60710099182514bf639e37fd6114a9 Mon Sep 17 00:00:00 2001 From: zjh <1084500556@qq.com> Date: 星期五, 17 五月 2024 18:03:21 +0800 Subject: [PATCH] zjh 2024/05/17-1 --- 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