|
@ -200,6 +200,7 @@ public class SignPatientLabelInfoController extends BaseController {
|
|
|
|
|
|
return write(200, "查询成功", "data", result);
|
|
return write(200, "查询成功", "data", result);
|
|
} catch (Exception e) {
|
|
} catch (Exception e) {
|
|
|
|
e.printStackTrace();
|
|
return error(-1, "查询失败");
|
|
return error(-1, "查询失败");
|
|
}
|
|
}
|
|
}
|
|
}
|
|
@ -260,7 +261,7 @@ public class SignPatientLabelInfoController extends BaseController {
|
|
}
|
|
}
|
|
|
|
|
|
if(labelType.equals("1")){
|
|
if(labelType.equals("1")){
|
|
JSONArray r= patientService.getSignByDoctorCodeGpbyServer(getUID());
|
|
|
|
|
|
JSONArray r= patientService.getSignByDoctorCodeGpbyServer(getUID(),teamCode+"");
|
|
return write(200, "查询成功", "data", r);
|
|
return write(200, "查询成功", "data", r);
|
|
}
|
|
}
|
|
|
|
|
|
@ -268,6 +269,7 @@ public class SignPatientLabelInfoController extends BaseController {
|
|
|
|
|
|
return write(200, "查询成功", "data", result);
|
|
return write(200, "查询成功", "data", result);
|
|
} catch (Exception e) {
|
|
} catch (Exception e) {
|
|
|
|
e.printStackTrace();
|
|
error(e);
|
|
error(e);
|
|
return error(-1, "查询失败");
|
|
return error(-1, "查询失败");
|
|
}
|
|
}
|
|
@ -345,7 +347,7 @@ public class SignPatientLabelInfoController extends BaseController {
|
|
}
|
|
}
|
|
//xh1D201703150222
|
|
//xh1D201703150222
|
|
int result = labelInfoService.setPatientLabels(patient, "", "", health, disease, custom, getUID(), getUID());
|
|
int result = labelInfoService.setPatientLabels(patient, "", "", health, disease, custom, getUID(), getUID());
|
|
//int result = labelInfoService.setPatientLabels(patient, "", "", health, disease, custom, "xh1D201703150222", "xh1D201703150222");
|
|
|
|
|
|
// int result = labelInfoService.setPatientLabels(patient, "", "", health, disease, custom, "xh1D201703150222", "xh1D201703150222");
|
|
|
|
|
|
if (result == 0) {
|
|
if (result == 0) {
|
|
return error(-1, "查不到患者信息");
|
|
return error(-1, "查不到患者信息");
|
|
@ -368,6 +370,7 @@ public class SignPatientLabelInfoController extends BaseController {
|
|
return error(-1, "更新失败");
|
|
return error(-1, "更新失败");
|
|
}
|
|
}
|
|
} catch (Exception e) {
|
|
} catch (Exception e) {
|
|
|
|
e.printStackTrace();
|
|
error(e);
|
|
error(e);
|
|
return error(-1, "更新失败");
|
|
return error(-1, "更新失败");
|
|
}
|
|
}
|