人员定位新模块
parent
ba98786e94
commit
7136bb9a37
|
@ -51,4 +51,9 @@ public class DwController extends BaseController {
|
|||
AlarmManageDto mapGet = JSONObject.parseObject(JSONObject.toJSONString(pd), AlarmManageDto.class);
|
||||
return dwService.manageAlarm(mapGet);
|
||||
}
|
||||
|
||||
@RequestMapping(value = "getDictionary")
|
||||
public Object getDictionary() throws Exception {
|
||||
return dwService.getDictionary();
|
||||
}
|
||||
}
|
||||
|
|
|
@ -9,4 +9,5 @@ public interface DwService {
|
|||
Object getTrace(TraceGet param) throws Exception;
|
||||
Object getAlarmList(AlarmGet param) throws Exception;
|
||||
Object manageAlarm(AlarmManageDto param) throws Exception;
|
||||
Object getDictionary() throws Exception;
|
||||
}
|
||||
|
|
|
@ -37,4 +37,9 @@ public class DwServiceImpl implements DwService {
|
|||
public Object manageAlarm(AlarmManageDto param) throws Exception {
|
||||
return HttpUtil.post(url + "dw/manageAlarm", param);
|
||||
}
|
||||
|
||||
@Override
|
||||
public Object getDictionary() throws Exception {
|
||||
return HttpUtil.post(url + "dw/getDictionary", "");
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue