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 stringList = Arrays.asList(split); System.out.println(stringList); } }