|
@ -64,10 +64,10 @@ public class EmergencyAssistanceEndpoint extends EnvelopRestEndpoint {
|
|
){
|
|
){
|
|
try {
|
|
try {
|
|
JSONObject param = new JSONObject();
|
|
JSONObject param = new JSONObject();
|
|
param.put("doctorId",doctor);
|
|
|
|
if(permissionService.noPermission(1,param)){
|
|
|
|
return ObjEnvelop.getError("该操作没有权限");
|
|
|
|
}
|
|
|
|
|
|
// param.put("doctorId",doctor);
|
|
|
|
// if(permissionService.noPermission(1,param)){
|
|
|
|
// return ObjEnvelop.getError("该操作没有权限");
|
|
|
|
// }
|
|
JSONObject result = assistanceService.doctorGetOrderDetail(orderId,doctor);
|
|
JSONObject result = assistanceService.doctorGetOrderDetail(orderId,doctor);
|
|
if (result.getIntValue(ResponseContant.resultFlag) == ResponseContant.fail) {
|
|
if (result.getIntValue(ResponseContant.resultFlag) == ResponseContant.fail) {
|
|
return ObjEnvelop.getError(result.getString(ResponseContant.resultMsg));
|
|
return ObjEnvelop.getError(result.getString(ResponseContant.resultMsg));
|