|
|
@ -159,16 +159,16 @@ public class ManageAppController {
|
|
|
|
return manageAppService.getOrgPrizeList(device);
|
|
|
|
return manageAppService.getOrgPrizeList(device);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
@RequestMapping(value = "/org_prize/{monthStr}", method = RequestMethod.GET)
|
|
|
|
// @RequestMapping(value = "/org_prize/{monthStr}", method = RequestMethod.GET)
|
|
|
|
public List<JSONObject> getOrgPrizeDetail(@ModelAttribute(CommonConsts.MANAGER_DEVICE) JSONObject device,@PathVariable String monthStr) {
|
|
|
|
// public List<JSONObject> getOrgPrizeDetail(@ModelAttribute(CommonConsts.MANAGER_DEVICE) JSONObject device,@PathVariable String monthStr) {
|
|
|
|
Date date;
|
|
|
|
// Date date;
|
|
|
|
try {
|
|
|
|
// try {
|
|
|
|
date = DateUtils.parseDate(monthStr, new String[] { "yyyy-MM" });
|
|
|
|
// date = DateUtils.parseDate(monthStr, new String[] { "yyyy-MM" });
|
|
|
|
} catch (ParseException e) {
|
|
|
|
// } catch (ParseException e) {
|
|
|
|
throw new BadRequestException("Invalid month format");
|
|
|
|
// throw new BadRequestException("Invalid month format");
|
|
|
|
}
|
|
|
|
// }
|
|
|
|
return manageAppService.getOrgPrizeDetail(device, date);
|
|
|
|
// return manageAppService.getOrgPrizeDetail(device, date);
|
|
|
|
}
|
|
|
|
// }
|
|
|
|
|
|
|
|
|
|
|
|
@RequestMapping(value = "/bd/kpi", method = RequestMethod.GET)
|
|
|
|
@RequestMapping(value = "/bd/kpi", method = RequestMethod.GET)
|
|
|
|
public JSONObject getBdConfigKpi(@ModelAttribute(CommonConsts.MANAGER_DEVICE) JSONObject device) {
|
|
|
|
public JSONObject getBdConfigKpi(@ModelAttribute(CommonConsts.MANAGER_DEVICE) JSONObject device) {
|
|
|
|