|
|
|
@ -33,7 +33,6 @@ import java.util.Map;
|
|
|
|
@AppClientController
|
|
|
|
@AppClientController
|
|
|
|
@RequestMapping("/api/v1.0/manage/app")
|
|
|
|
@RequestMapping("/api/v1.0/manage/app")
|
|
|
|
public class ManageAppController {
|
|
|
|
public class ManageAppController {
|
|
|
|
Logger logger = LoggerFactory.getLogger(getClass());
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@Resource
|
|
|
|
@Resource
|
|
|
|
private ManageAppService manageAppService;
|
|
|
|
private ManageAppService manageAppService;
|
|
|
|
@ -159,17 +158,6 @@ public class ManageAppController {
|
|
|
|
return manageAppService.getOrgPrizeList(device);
|
|
|
|
return manageAppService.getOrgPrizeList(device);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
// @RequestMapping(value = "/org_prize/{monthStr}", method = RequestMethod.GET)
|
|
|
|
|
|
|
|
// public List<JSONObject> getOrgPrizeDetail(@ModelAttribute(CommonConsts.MANAGER_DEVICE) JSONObject device,@PathVariable String monthStr) {
|
|
|
|
|
|
|
|
// Date date;
|
|
|
|
|
|
|
|
// try {
|
|
|
|
|
|
|
|
// date = DateUtils.parseDate(monthStr, new String[] { "yyyy-MM" });
|
|
|
|
|
|
|
|
// } catch (ParseException e) {
|
|
|
|
|
|
|
|
// throw new BadRequestException("Invalid month format");
|
|
|
|
|
|
|
|
// }
|
|
|
|
|
|
|
|
// 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) {
|
|
|
|
return manageAppService.getBdConfigKpi(device);
|
|
|
|
return manageAppService.getBdConfigKpi(device);
|
|
|
|
|