|
@@ -29,6 +29,7 @@ import com.hc.openapi.tool.util.StringUtils;
|
|
|
import lombok.extern.slf4j.Slf4j;
|
|
import lombok.extern.slf4j.Slf4j;
|
|
|
import org.apache.http.util.Asserts;
|
|
import org.apache.http.util.Asserts;
|
|
|
import org.springframework.beans.factory.annotation.Autowired;
|
|
import org.springframework.beans.factory.annotation.Autowired;
|
|
|
|
|
+import org.springframework.beans.factory.annotation.Value;
|
|
|
import org.springframework.stereotype.Service;
|
|
import org.springframework.stereotype.Service;
|
|
|
|
|
|
|
|
import java.math.BigDecimal;
|
|
import java.math.BigDecimal;
|
|
@@ -83,6 +84,9 @@ public class StatisticsCompanyServiceImpl implements IStatisticsCompanyService {
|
|
|
|
|
|
|
|
@Autowired
|
|
@Autowired
|
|
|
private QwUserMapper qwUserMapper;
|
|
private QwUserMapper qwUserMapper;
|
|
|
|
|
+
|
|
|
|
|
+ @Value("${cloud_host.company_name}")
|
|
|
|
|
+ private String signProjectName;
|
|
|
@Override
|
|
@Override
|
|
|
public void dataOverviewTask() {
|
|
public void dataOverviewTask() {
|
|
|
List<OptionsVO> optionsVOS = companyService.selectAllCompanyList(null);
|
|
List<OptionsVO> optionsVOS = companyService.selectAllCompanyList(null);
|
|
@@ -882,7 +886,12 @@ public class StatisticsCompanyServiceImpl implements IStatisticsCompanyService {
|
|
|
dto.setCompletedRate("0");
|
|
dto.setCompletedRate("0");
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
- Long watchCount = consumptionBalanceMapper.queryWatchCount(param);
|
|
|
|
|
|
|
+ Long watchCount = null;
|
|
|
|
|
+ if("泽林文化".equals(signProjectName)){
|
|
|
|
|
+ watchCount = consumptionBalanceMapper.selectFsCourseTrafficLogCount(param);
|
|
|
|
|
+ }else {
|
|
|
|
|
+ watchCount = consumptionBalanceMapper.queryWatchCount(param);
|
|
|
|
|
+ }
|
|
|
Long completedCount = consumptionBalanceMapper.queryCompletedCount(param);
|
|
Long completedCount = consumptionBalanceMapper.queryCompletedCount(param);
|
|
|
|
|
|
|
|
if(watchCount == null){
|
|
if(watchCount == null){
|