temp commit

master
luoyang 6 years ago
parent 3c19d2ae93
commit cffd93f282

@ -64,4 +64,6 @@ public interface ManageAppService {
JSONObject getBdConfigKpi(JSONObject device);
List<JSONObject> getBdPrizeList(JSONObject device);
}

@ -367,4 +367,10 @@ public class ManageAppServiceImp implements ManageAppService {
JSONObject manager = managerMapper.findById(device.getString("manager_id"));
return financialBDConfigMapper.getBDConfigById(manager.getString("manager_id"));
}
@Override
public List<JSONObject> getBdPrizeList(JSONObject device) {
//todo 获取BD提成列表
return null;
}
}

@ -174,4 +174,10 @@ public class ManageAppController {
public JSONObject getBdConfigKpi(@ModelAttribute(CommonConsts.MANAGER_DEVICE) JSONObject device) {
return manageAppService.getBdConfigKpi(device);
}
@RequestMapping(value = "/bd/list", method = RequestMethod.GET)
public List<JSONObject> getBdPrizeList(@ModelAttribute(CommonConsts.MANAGER_DEVICE) JSONObject device) {
return manageAppService.getBdPrizeList(device);
}
}

Loading…
Cancel
Save