package com.mindskip.xzs.service; import com.mindskip.xzs.domain.TextContent; import java.util.Date; import java.util.List; import java.util.function.Function; /** * @version 2.2.0 * @description: 接口基础类 * Copyright (C), 2020-2021, 武汉思维跳跃科技有限公司 * @date 2021 /9/7 9:45 */ public interface TextContentService extends BaseService { /** * 创建一个TextContent,将内容转化为json,回写到content中,不入库 * * @param the type parameter * @param the type parameter * @param list the list * @param now the now * @param mapper the mapper * @return text content */ TextContent jsonConvertInsert(List list, Date now, Function mapper); /** * 修改一个TextContent,将内容转化为json,回写到content中,不入库 * * @param the type parameter * @param the type parameter * @param textContent the text content * @param list the list * @param mapper the mapper * @return text content */ TextContent jsonConvertUpdate(TextContent textContent, List list, Function mapper); }