优化消息通知模块的接口

This commit is contained in:
季圣华
2023-02-24 23:16:27 +08:00
parent e7287d0f8b
commit 335264d101
4 changed files with 18 additions and 30 deletions

View File

@@ -9,19 +9,17 @@ import java.util.List;
public interface MsgMapperEx {
List<MsgEx> selectByConditionMsg(
@Param("userId") Long userId,
@Param("name") String name,
@Param("offset") Integer offset,
@Param("rows") Integer rows);
Long countsByMsg(
@Param("userId") Long userId,
@Param("name") String name);
int batchDeleteMsgByIds(@Param("ids") String ids[]);
int insertSelectiveByTask(Msg record);
int checkIsNameExistByTask(@Param("msgTitle") String msgTitle);
Long getMsgCountByStatus(
@Param("status") String status,
@Param("userId") Long userId);