You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
51 lines
1.7 KiB
Java
51 lines
1.7 KiB
Java
1 year ago
|
package com.glxp.api.controller.inout;
|
||
|
|
||
|
import com.github.pagehelper.PageInfo;
|
||
|
import com.glxp.api.common.res.BaseResponse;
|
||
|
import com.glxp.api.common.util.ResultVOUtils;
|
||
|
import com.glxp.api.controller.BaseController;
|
||
|
import com.glxp.api.entity.basic.BasicSkSickerEntity;
|
||
|
import com.glxp.api.req.inout.FilterSkSiackerListRequest;
|
||
|
import com.glxp.api.res.inout.IoOrderResponse;
|
||
|
import com.glxp.api.service.inout.IoDepartmentOrderService;
|
||
|
import org.springframework.web.bind.annotation.GetMapping;
|
||
|
import org.springframework.web.bind.annotation.PostMapping;
|
||
|
import org.springframework.web.bind.annotation.RequestBody;
|
||
|
import org.springframework.web.bind.annotation.RestController;
|
||
|
|
||
|
import javax.annotation.Resource;
|
||
|
import java.util.List;
|
||
|
|
||
|
@RestController
|
||
|
public class IoDepartmentOrderController extends BaseController {
|
||
|
|
||
|
@Resource
|
||
|
IoDepartmentOrderService ioDepartmentOrderService;
|
||
|
|
||
|
/**
|
||
|
* 查询患者列表
|
||
|
*
|
||
|
* @param
|
||
|
* @return
|
||
|
*/
|
||
|
@PostMapping("/udiwms/inout/ioDepartmentOrder/getSkSickerList")
|
||
|
public BaseResponse getSkSickerList(@RequestBody FilterSkSiackerListRequest filterSkSiackerListRequest) {
|
||
|
List<BasicSkSickerEntity> list = ioDepartmentOrderService.getSkSickerList(filterSkSiackerListRequest);
|
||
|
PageInfo<BasicSkSickerEntity> pageInfo = new PageInfo<>(list);
|
||
|
return ResultVOUtils.page(pageInfo);
|
||
|
}
|
||
|
|
||
|
/**
|
||
|
* 通过患者code 获取草稿单据列表
|
||
|
*
|
||
|
* @param
|
||
|
* @return
|
||
|
*/
|
||
|
@GetMapping("/udiwms/inout/ioDepartmentOrder/getOrderListbyCode")
|
||
|
public BaseResponse getOrderListbyCode(String adNum) {
|
||
|
List<IoOrderResponse>list = ioDepartmentOrderService.getOrderListbyCode(adNum);
|
||
|
return ResultVOUtils.success(list);
|
||
|
}
|
||
|
|
||
|
}
|