|
|
|
@ -5,6 +5,7 @@ import com.ccsens.tcm.bean.dto.PatientDto; |
|
|
|
import com.ccsens.tcm.bean.vo.PatientVo; |
|
|
|
import com.ccsens.tcm.bean.vo.QuestionVo; |
|
|
|
import com.ccsens.tcm.service.IPatientService; |
|
|
|
import com.ccsens.tcm.uitl.Constant; |
|
|
|
import com.ccsens.util.JsonResponse; |
|
|
|
import com.ccsens.util.bean.dto.QueryDto; |
|
|
|
import com.github.pagehelper.PageInfo; |
|
|
|
@ -12,6 +13,7 @@ import io.swagger.annotations.Api; |
|
|
|
import io.swagger.annotations.ApiOperation; |
|
|
|
import io.swagger.annotations.ApiParam; |
|
|
|
import lombok.extern.slf4j.Slf4j; |
|
|
|
import org.springframework.beans.BeanUtils; |
|
|
|
import org.springframework.validation.annotation.Validated; |
|
|
|
import org.springframework.web.bind.annotation.RequestBody; |
|
|
|
import org.springframework.web.bind.annotation.RequestMapping; |
|
|
|
@ -52,7 +54,7 @@ public class PatientController { |
|
|
|
return JsonResponse.newInstance().ok(); |
|
|
|
} |
|
|
|
@MustLogin |
|
|
|
@ApiOperation(value = "查询患者基本信息", notes = "w:查询患者基本信息") |
|
|
|
@ApiOperation(value = "查询患者信息", notes = "w:查询患者信息") |
|
|
|
@RequestMapping(value = "/selPatientMes", method = RequestMethod.POST, produces = {"application/json;charset=UTF-8"}) |
|
|
|
public JsonResponse<PageInfo<PatientVo.SelPatient>> selPatientInformationList(@ApiParam @Validated @RequestBody QueryDto<PatientDto.SelPatientList> params) { |
|
|
|
log.info("查询患者基本信息:{}",params); |
|
|
|
@ -62,6 +64,8 @@ public class PatientController { |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@MustLogin |
|
|
|
@ApiOperation(value = "保存患者病例信息", notes = "w:提交患者的相关病例信息") |
|
|
|
@RequestMapping(value = "/saveCaseMes", method = RequestMethod.POST, produces = {"application/json;charset=UTF-8"}) |
|
|
|
|