Commit a88a4061 by zhouhaibao

[+]新增参数

1 parent 4f7b8873
......@@ -531,6 +531,7 @@ public class MonitoringService {
queryParams.setDateType(4);
queryParams.setBizs(request.getBusinessType());
queryParams.setMerchantIds(request.getMerchantId()+"");
queryParams.setBrandIds(env.getProperty("check.param.brandIds")==null?"-1,-2,-4,3454":env.getProperty("check.param.brandIds"));
queryParams.setStaffIds(request.getStaffId());
List<ItemDetail> itemDetail = dateService.getItemDetail(queryParams, DateService.DATE);
if (CollectionUtils.isNotEmpty(itemDetail)){
......@@ -591,11 +592,11 @@ public class MonitoringService {
.setScale(2, RoundingMode.HALF_UP));
break;
case "A0102":
monMetricsDTO.setBatteryPenetration(item.getItemValue().multiply(BigDecimal.valueOf(100))
monMetricsDTO.setTirePenetration(item.getItemValue().multiply(BigDecimal.valueOf(100))
.setScale(2, RoundingMode.HALF_UP));
break;
case "A0103":
monMetricsDTO.setTirePenetration(item.getItemValue().multiply(BigDecimal.valueOf(100))
monMetricsDTO.setBatteryPenetration(item.getItemValue().multiply(BigDecimal.valueOf(100))
.setScale(2, RoundingMode.HALF_UP));
break;
}
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!