forked from gzzfw/backEnd/gz-dyh

huangh
2024-10-28 1f5f3c84cb9b35d65caf576c0d46d26bda291875
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
46
package cn.huge.module.analysis.service;
 
import cn.huge.module.analysis.dao.mapper.AnalysisMapper;
import cn.huge.module.analysis.domain.dto.CountRepeateDto;
import cn.huge.module.analysis.domain.vo.CountRepeateVo;
import cn.huge.module.cases.dao.mapper.CaseInfoMapper;
import cn.huge.module.cases.domain.po.CaseInfo;
import cn.huge.module.client.api.impl.UtilsClientImpl;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;
 
import java.util.List;
 
/**
 * @author wangwh
 * @version 1.0.0
 * @title: 纠纷信息主表业务逻辑处理
 * @Description 纠纷信息主表业务逻辑处理
 * @company hugeinfo
 * @Time 2024-08-27 10:00:57
 */
@Slf4j
@Service
@Transactional(rollbackFor = Exception.class)
public class AnalysisService extends ServiceImpl<AnalysisMapper, CaseInfo> {
 
    @Autowired
    private CaseInfoMapper mapper;
 
    @Autowired
    private UtilsClientImpl utilsClient;
 
    @Autowired
    private AnalysisMapper analysisMapper;
 
    public List<CountRepeateDto> countRepeatedCases(CountRepeateVo countRepeateVo) {
        return analysisMapper.countRepeatedCases(countRepeateVo);
    }
 
 
 
 
}