package cn.huge.module.mediate.dao.mapper;
|
|
|
import org.apache.ibatis.annotations.Param;
|
import org.springframework.stereotype.Repository;
|
|
/**
|
* @title: 纠纷信息表持久层业务处理
|
* @Description 此处仅涉及复杂SQL操作,务必不要在此再次写单表的CRUD操作,因为mybatisPlus已经实现。
|
* @company: hugeinfo
|
* @author: liyj
|
* @time: 2022-03-26 17:44:28
|
* @version 1.0.0
|
*/
|
@Repository
|
public interface CaseInfoMapper {
|
|
/**
|
* 获取最新的案号
|
* @param caseNoPrefix 案号前缀
|
* @return
|
*/
|
String getNewCaseNo(@Param("caseNoPrefix") String caseNoPrefix);
|
|
/**
|
* 获取最新的事项编号
|
* @param caseRefPrefix 事项编号前缀
|
* @return
|
*/
|
String getNewCaseRef(@Param("caseRefPrefix") String caseRefPrefix);
|
}
|