类 CommonSentencesService
- java.lang.Object
-
- net.risesoft.service.CommonSentencesService
-
@Service @Transactional(value="rsTenantTransactionManager", readOnly=true) public class CommonSentencesService extends Object- 作者:
- qinman, zhangchongjie
- Date:
- 2022/12/20
-
-
构造器概要
构造器 构造器 说明 CommonSentencesService()
-
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 voiddeleteById(String id)根据id删除常用语List<CommonSentences>getByUserId(String userId)List<CommonSentences>listSentencesService()获取常用语voidremoveCommonSentences(int tabIndex)删除常用语voidremoveUseNumber()voidsave(String content)保存常用语voidsave(String id, String content)保存更新常用语CommonSentencessaveCommonSentences(String userId, String content, int tabIndex)voidupdateUseNumber(String id)
-
-
-
方法详细资料
-
deleteById
@Transactional public void deleteById(String id)
根据id删除常用语- 参数:
id-
-
getByUserId
public List<CommonSentences> getByUserId(String userId)
-
listSentencesService
@Transactional public List<CommonSentences> listSentencesService()
获取常用语- 返回:
-
removeCommonSentences
@Transactional public void removeCommonSentences(int tabIndex)
删除常用语- 参数:
tabIndex-
-
removeUseNumber
@Transactional public void removeUseNumber()
-
saveCommonSentences
@Transactional public CommonSentences saveCommonSentences(String userId, String content, int tabIndex)
-
updateUseNumber
@Transactional public void updateUseNumber(String id)
-
-