|
@ -438,11 +438,14 @@ public class PatientDeviceController extends BaseController {
|
|
|
@RequestParam(value = "patient")String patient,
|
|
|
@ApiParam(name="deviceSN")
|
|
|
@RequestParam(value = "deviceSN")String deviceSn,
|
|
|
@ApiParam(name = "orderId", required = false,value = "对应工单的id")
|
|
|
@RequestParam(value = "orderId", required = false) String orderId,
|
|
|
@ApiParam(name="day",value = "yyyy-mm-dd")
|
|
|
@RequestParam(value = "day",required = false)String day){
|
|
|
|
|
|
try {
|
|
|
JSONObject result = patientDeviceService.getPatientDeviceDetail(patient,deviceSn,day,null,null);
|
|
|
String uid = permissionService.getUID();
|
|
|
JSONObject result = patientDeviceService.getPatientDeviceDetail(patient,deviceSn,day,uid,orderId);
|
|
|
if (result.getInt(ResponseContant.resultFlag)==ResponseContant.success){
|
|
|
return write(200,"获取成功","data", JSON.parseObject(result.getString(ResponseContant.resultMsg)));
|
|
|
}else {
|