| | |
| | | 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接口 |
| | |
| | | * @return 问卷模板 |
| | | */ |
| | | public TjSurveyTemplate selectTjSurveyTemplateByMid(Long mid); |
| | | |
| | | public TjSurveyTemplate selectTemplateByMid1(Long mid); |
| | | public int qybzTjSurveyTemplateByQy(Long mid); |
| | | public int qybzTjSurveyTemplateByJy(Long mid); |
| | | |
| | | |
| | | /** |
| | | * 查询问卷模板列表 |
| | |
| | | * @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); |
| | | } |