package com.ltkj.hosp.service; import java.util.List; import com.baomidou.mybatisplus.extension.service.IService; import com.ltkj.common.core.domain.entity.SysDictData; import com.ltkj.hosp.domain.TjSurveyTemplate; import com.ltkj.hosp.domain.TreeTjSurveryTemplate; /** * 问卷模板Service接口 * * @author ltkj_赵佳豪&李格 * @date 2023-04-07 */ public interface ITjSurveyTemplateService extends IService { /** * 查询问卷模板 * * @param mid 问卷模板主键 * @return 问卷模板 */ public TjSurveyTemplate selectTjSurveyTemplateByMid(Long mid); public TjSurveyTemplate selectTemplateByMid1(Long mid); public int qybzTjSurveyTemplateByQy(Long mid); public int qybzTjSurveyTemplateByJy(Long mid); /** * 查询问卷模板列表 * * @param tjSurveyTemplate 问卷模板 * @return 问卷模板集合 */ public List selectTjSurveyTemplateList(TjSurveyTemplate tjSurveyTemplate); /** * 新增问卷模板 * * @param tjSurveyTemplate 问卷模板 * @return 结果 */ public int insertTjSurveyTemplate(TjSurveyTemplate tjSurveyTemplate); /** * 修改问卷模板 * * @param tjSurveyTemplate 问卷模板 * @return 结果 */ public int updateTjSurveyTemplate(TjSurveyTemplate tjSurveyTemplate); /** * 批量删除问卷模板 * * @param mids 需要删除的问卷模板主键集合 * @return 结果 */ public int deleteTjSurveyTemplateByMids(Long[] mids); /** * 删除问卷模板信息 * * @param mid 问卷模板主键 * @return 结果 */ public int deleteTjSurveyTemplateByMid(Long mid); public List selectDictDataList(SysDictData dictData); List getTreeTjSurveryTemplate(String vaule); TjSurveyTemplate selectTemplateByTjCategory(String tjCategory); }