广州市综治平台后端
xusd
2025-06-07 36306491396230522fa20585c2621a7fc899849a
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
package cn.huge.module.mediate.service;
 
 
import cn.huge.module.mediate.dao.mapper.CaseInfoMapper;
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;
 
/**
 * @title: 纠纷信息表业务逻辑处理
 * @Description JPA的单表数据查询以由BaseService完成
 * @company hugeinfo
 * @author liyj
 * @Time 2022-03-11 11:43:25
 * @version 1.0.0
 */
@Slf4j
@Service
@Transactional(rollbackFor = Exception.class)
public class CaseInfoService {
 
    @Autowired
    private CaseInfoMapper mapper;
 
    /**
     * 查询最新的调解案号
     * @param caseNoPrefix 案号前缀
     * @return
     */
    public String getNewCaseNo(String caseNoPrefix){
        return mapper.getNewCaseNo(caseNoPrefix);
    }
 
 
 
    /**
     * 获取最新的事项编号
     * @param caseRefPrefix 事项编号前缀
     * @return
     */
    public String getNewCaseRef(String caseRefPrefix){
        return mapper.getNewCaseRef(caseRefPrefix);
    }
}