|
@@ -87,7 +87,7 @@ public class ReportSettlementServiceImpl implements IReportSettlementService {
|
|
List<String> accountIdList = reportSettlementMapper.getAccountIdBytedance(paramsVo);
|
|
List<String> accountIdList = reportSettlementMapper.getAccountIdBytedance(paramsVo);
|
|
|
|
|
|
if (Check.isNull(accountIdList)){
|
|
if (Check.isNull(accountIdList)){
|
|
- return Result.errorMsg("该广告主和产品下无法查询到绑定的账户信息。");
|
|
|
|
|
|
+ return Result.errorMsg("该广告主和产品下无法查询到绑定的账户信息");
|
|
}
|
|
}
|
|
|
|
|
|
int num = 0;
|
|
int num = 0;
|
|
@@ -226,7 +226,7 @@ public class ReportSettlementServiceImpl implements IReportSettlementService {
|
|
}
|
|
}
|
|
|
|
|
|
if(accountIdList.size() == num){
|
|
if(accountIdList.size() == num){
|
|
- return Result.errorMsg("暂无账户流水数据。");
|
|
|
|
|
|
+ return Result.errorMsg("暂无账户流水数据");
|
|
}
|
|
}
|
|
|
|
|
|
response.setCharacterEncoding("UTF-8");
|
|
response.setCharacterEncoding("UTF-8");
|
|
@@ -273,7 +273,7 @@ public class ReportSettlementServiceImpl implements IReportSettlementService {
|
|
List<String> accountIdList = reportSettlementMapper.getAccountIdBytedance(paramsVo);
|
|
List<String> accountIdList = reportSettlementMapper.getAccountIdBytedance(paramsVo);
|
|
|
|
|
|
if (Check.isNull(accountIdList)){
|
|
if (Check.isNull(accountIdList)){
|
|
- return Result.errorMsg("该广告主和产品下无法查询到绑定的快手账户信息。");
|
|
|
|
|
|
+ return Result.errorMsg("该广告主和产品下无法查询到绑定的快手账户信息");
|
|
}
|
|
}
|
|
|
|
|
|
int num = 0;
|
|
int num = 0;
|
|
@@ -413,7 +413,7 @@ public class ReportSettlementServiceImpl implements IReportSettlementService {
|
|
}
|
|
}
|
|
|
|
|
|
if(accountIdList.size() == num){
|
|
if(accountIdList.size() == num){
|
|
- return Result.errorMsg("暂无数据。");
|
|
|
|
|
|
+ return Result.errorMsg("暂无数据");
|
|
}
|
|
}
|
|
|
|
|
|
response.setCharacterEncoding("UTF-8");
|
|
response.setCharacterEncoding("UTF-8");
|
|
@@ -455,7 +455,7 @@ public class ReportSettlementServiceImpl implements IReportSettlementService {
|
|
//查询 头条利润表 时间段内 所有 账户
|
|
//查询 头条利润表 时间段内 所有 账户
|
|
List<Map<String,Object>> list = reportSettlementMapper.getProfitBytedanceAccountCost(null,paramsVo.getStartTime(),paramsVo.getEndTime());
|
|
List<Map<String,Object>> list = reportSettlementMapper.getProfitBytedanceAccountCost(null,paramsVo.getStartTime(),paramsVo.getEndTime());
|
|
if (Check.isNull(list)){
|
|
if (Check.isNull(list)){
|
|
- return Result.errorMsg("暂无数据。");
|
|
|
|
|
|
+ return Result.errorMsg("暂无数据");
|
|
}
|
|
}
|
|
List<ProfitReportBytedanceVo> resultList = new ArrayList<>(list.size());
|
|
List<ProfitReportBytedanceVo> resultList = new ArrayList<>(list.size());
|
|
for (Map<String, Object> map : list) {
|
|
for (Map<String, Object> map : list) {
|
|
@@ -584,7 +584,7 @@ public class ReportSettlementServiceImpl implements IReportSettlementService {
|
|
//查询 快手利润表 时间段内的 所有账户
|
|
//查询 快手利润表 时间段内的 所有账户
|
|
List<Map<String,Object>> list = reportSettlementMapper.getProfitKuaiShouAccountCost(null,paramsVo.getStartTime(),paramsVo.getEndTime());
|
|
List<Map<String,Object>> list = reportSettlementMapper.getProfitKuaiShouAccountCost(null,paramsVo.getStartTime(),paramsVo.getEndTime());
|
|
if (Check.isNull(list)){
|
|
if (Check.isNull(list)){
|
|
- return Result.errorMsg("暂无数据。");
|
|
|
|
|
|
+ return Result.errorMsg("暂无数据");
|
|
}
|
|
}
|
|
List<ProfitReportKuaiShouVo> resultList = new ArrayList<>(list.size());
|
|
List<ProfitReportKuaiShouVo> resultList = new ArrayList<>(list.size());
|
|
for (Map<String, Object> map : list) {
|
|
for (Map<String, Object> map : list) {
|
|
@@ -741,7 +741,7 @@ public class ReportSettlementServiceImpl implements IReportSettlementService {
|
|
String msg = MessageFormat.format(message,userMap.get("userName").toString(),month,productNum,accountNum,productInfo);
|
|
String msg = MessageFormat.format(message,userMap.get("userName").toString(),month,productNum,accountNum,productInfo);
|
|
corpWexinUtils.sendMessageByWeChatId(jsonObject,msg);
|
|
corpWexinUtils.sendMessageByWeChatId(jsonObject,msg);
|
|
}
|
|
}
|
|
- return Result.successMsg("成功。",null);
|
|
|
|
|
|
+ return Result.successMsg("成功",null);
|
|
}
|
|
}
|
|
|
|
|
|
|
|
|