新增删除
This commit is contained in:
@@ -55,6 +55,14 @@ public interface CphMsgMapper extends BaseMapper<CphMsg>
|
||||
*/
|
||||
public int deleteCphMsgById(Long id);
|
||||
|
||||
/**
|
||||
* 根据接收人和内容中的标识来查找流程消息 (使用LIKE查询) 知无涯
|
||||
*
|
||||
* @param cphMsg 包含 receiver 和 content (作为模糊查询的标识) 的查询对象
|
||||
* @return 匹配的消息列表
|
||||
*/
|
||||
public List<CphMsg> selectCphMsgListForFlowable(CphMsg cphMsg);
|
||||
|
||||
/**
|
||||
* 批量删除消息
|
||||
*
|
||||
|
||||
@@ -59,6 +59,14 @@ public interface ICphMsgService
|
||||
*/
|
||||
public int deleteCphMsgById(Long id);
|
||||
|
||||
/**
|
||||
* 删除消息信息 精准匹配版
|
||||
*
|
||||
* @param cphMsg 消息
|
||||
* @return 列表
|
||||
*/
|
||||
List<CphMsg> selectCphMsgListForFlowable(CphMsg cphMsg);
|
||||
|
||||
/**
|
||||
* 根据学号查询用户ID
|
||||
*
|
||||
|
||||
@@ -95,6 +95,16 @@ public class CphMsgServiceImpl extends ServiceImpl<CphMsgMapper,CphMsg> implemen
|
||||
{
|
||||
return cphMsgMapper.deleteCphMsgById(id);
|
||||
}
|
||||
/**
|
||||
* 删除消息信息
|
||||
*
|
||||
* @param cphMsg 消息
|
||||
* @return 结果
|
||||
*/
|
||||
@Override
|
||||
public List<CphMsg> selectCphMsgListForFlowable(CphMsg cphMsg) {
|
||||
return cphMsgMapper.selectCphMsgListForFlowable(cphMsg);
|
||||
}
|
||||
|
||||
/**
|
||||
* 根据学号查询用户ID
|
||||
|
||||
Reference in New Issue
Block a user