|
|
|
@ -352,14 +352,6 @@ public class ManageAppServiceImp implements ManageAppService {
|
|
|
|
|
return orgPrizeList;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
@Override
|
|
|
|
|
public List<JSONObject> getOrgPrizeDetail(JSONObject device, Date month) {
|
|
|
|
|
String clientType = device.getString("client_type");
|
|
|
|
|
manageDeviceSupport.findRegister(clientType);
|
|
|
|
|
JSONObject manager = managerMapper.findById(device.getString("manager_id"));
|
|
|
|
|
return financialPartnerCommissionMapper.getOrgPrizeDetail(manager.getString("org_id"), month);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
@Override
|
|
|
|
|
public JSONObject getBdConfigKpi(JSONObject device) {
|
|
|
|
|
String clientType = device.getString("client_type");
|
|
|
|
@ -371,6 +363,13 @@ public class ManageAppServiceImp implements ManageAppService {
|
|
|
|
|
@Override
|
|
|
|
|
public List<JSONObject> getBdPrizeList(JSONObject device) {
|
|
|
|
|
//todo 获取BD提成列表
|
|
|
|
|
return null;
|
|
|
|
|
String clientType = device.getString("client_type");
|
|
|
|
|
manageDeviceSupport.findRegister(clientType);
|
|
|
|
|
JSONObject manager = managerMapper.findById(device.getString("manager_id"));
|
|
|
|
|
List<JSONObject> listBdPrizeLogByOne = financialBDPrizeLogMapper.listBdPrizeLogByOne(manager.getString("manager_id"));
|
|
|
|
|
for (JSONObject log : listBdPrizeLogByOne) {
|
|
|
|
|
log.put("data", financialBDPrizeLogMapper.findReportByOne(log.getString("record_id"), manager.getString("manager_id")));
|
|
|
|
|
}
|
|
|
|
|
return listBdPrizeLogByOne;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|