liusheng
2025-04-02 ae086bc3ad6f785e6368b84e57a7e199c675779b
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
package com.ruoyi.web.controller.read;
 
import com.ruoyi.common.core.controller.BaseController;
import com.smartor.service.IBaseTagService;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;
import org.springframework.web.bind.annotation.RestController;
 
import java.util.Arrays;
import java.util.List;
 
/**
 * 患者信息导入(接收联众消息推送)
 *
 * @author ls
 * @date 2023-08-03
 */
@Slf4j
@Api(description = "患者信息导入(接收联众消息推送)")
@RestController
@RequestMapping("/patient/read")
public class PatientInfoImportController extends BaseController {
    @Autowired
    private IBaseTagService baseTagService;
 
    /**
     * 患者基本信息
     */
    @ApiOperation("患者基本信息")
    @PostMapping("/patientInfo")
    public void patientBaseInfo(@RequestParam String pateintInfo) {
        log.info("患者基本信息 : {}", pateintInfo);
        String[] split = pateintInfo.split("\\|");
        List<String> stringList = Arrays.asList(split);
        System.out.println(stringList);
    }
 
 
}