|
|
@ -9,6 +9,7 @@ import com.ccsens.ht.bean.vo.PatientReportVo; |
|
|
|
import com.ccsens.ht.service.IPatientReportService; |
|
|
|
import com.ccsens.util.JsonResponse; |
|
|
|
import com.ccsens.util.bean.dto.QueryDto; |
|
|
|
import com.github.pagehelper.PageInfo; |
|
|
|
import io.swagger.annotations.*; |
|
|
|
import lombok.extern.slf4j.Slf4j; |
|
|
|
import org.springframework.web.bind.annotation.RequestBody; |
|
|
@ -56,7 +57,7 @@ public class PatientReportSearchController { |
|
|
|
@RequestMapping(value="/search", method = RequestMethod.POST) |
|
|
|
public JsonResponse<PatientReportSearchVo.Search> search(@RequestBody @ApiParam @Valid QueryDto<PatientReportSearchDto.SearchList> dto){ |
|
|
|
log.info("搜索报告单:{}", dto); |
|
|
|
List<PatientReportSearchVo.Search> params = patientReportService.search(dto.getParam()); |
|
|
|
PageInfo<PatientReportSearchVo.Search> params = patientReportService.search(dto.getParam()); |
|
|
|
log.info("搜索报告单已完成"); |
|
|
|
return JsonResponse.newInstance().ok(params); |
|
|
|
} |
|
|
|