class TemplateConfigServiceImpl extends AbstractGeneralConfigServiceImpl<TemplateConfig> {
    
    @Resource
    private AppService appService;
    
    
    /**
     * 构造方法，传入GeneralConfigDao、ObjectMapper和type。
     *
     * <p>Constructor, passing in GeneralConfigDao, ObjectMapper and type.</p>
     *
     * @param generalConfigDao 配置Dao对象
     * @param objectMapper     JSON工具类对象
     */
    protected TemplateConfigServiceImpl(GeneralConfigDao generalConfigDao, ObjectMapper objectMapper) {
        super(generalConfigDao, objectMapper);
    }
    
    @Override
    public void handler(TemplateConfig templateConfig) {
        if (templateConfig != null) {
            appService.updateCustomTemplateConfig(templateConfig);
        }
    }
    
    @Override
    public String type() {
        return "template";
    }
    
    
    @Override
    protected TypeReference<TemplateConfig> getTypeReference() {<FILL_FUNCTION_BODY>}
}

        return new TypeReference<>() {
            @Override
            public Type getType() {
                return TemplateConfig.class;
            }
        };
    
<methods>public org.apache.hertzbeat.manager.pojo.dto.TemplateConfig getConfig() ,public void saveConfig(org.apache.hertzbeat.manager.pojo.dto.TemplateConfig) <variables>protected final non-sealed org.apache.hertzbeat.manager.dao.GeneralConfigDao generalConfigDao,protected final non-sealed ObjectMapper objectMapper