zjh
2024-07-18 02b779f938e553a995717cfc5ef11d9fc5d4e657
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
47
48
49
50
51
52
53
54
55
56
package com.ltkj.hosp.service.impl;
 
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.ltkj.common.core.domain.AjaxResult;
import com.ltkj.hosp.mapper.LtkjExamJcbgdMapper;
import com.ltkj.hosp.mapper.LtkjExamJcsqdMapper;
import com.ltkj.hosp.service.LtkjExamJcbgdService;
import com.ltkj.hosp.service.LtkjExamJcsqdService;
import com.ltkj.hosp.sqlDomain.LtkjExamJcbgd;
import com.ltkj.hosp.sqlDomain.LtkjExamJcsqd;
import com.ltkj.hosp.sqlDomain.LtkjHysqd;
import org.springframework.stereotype.Service;
 
import javax.annotation.Resource;
import java.util.List;
import java.util.Map;
 
/**
 * 病种+意见Service业务层处理
 *
 * @author ltkj_赵佳豪&李格
 * @date 2023-08-30
 */
@Service
public class LtkjExamJcsqdServiceImpl extends ServiceImpl<LtkjExamJcsqdMapper, LtkjExamJcsqd> implements LtkjExamJcsqdService {
 
    @Resource
    private LtkjExamJcsqdMapper mapper;
 
 
    @Override
    public LtkjExamJcsqd getLtkjJcsqdByTjhAndTmh(String tjh, String tmh) {
        return mapper.getLtkjJcsqdByTjhAndTmh(tjh,tmh);
    }
 
    @Override
    public void deletedLtkjJcsqdByTjhAndTmh(String tjh, String tmh) {
            mapper.deletedLtkjJcsqdByTjhAndTmh(tjh,tmh);
    }
 
    @Override
    public List<LtkjExamJcsqd> getLtkjJcsqdByTjh(String tjh) {
        return mapper.getLtkjJcsqdByTjh(tjh);
    }
 
    @Override
    public void saveLtkjExamJcsqd(String tjh) {
        mapper.saveLtkjExamJcsqd(tjh);
    }
 
    @Override
    public AjaxResult getTjJcProByHisCall(Map<String, Object> map) {
        List<Map<String, Object>> tjJcProByHisCall = mapper.getTjJcProByHisCall(map);
        return AjaxResult.success().put("data",tjJcProByHisCall);
    }
}