Commit 12c1d688 by huluobin

成长数据数据完整度

parent af0f9914
......@@ -57,6 +57,7 @@ import org.springframework.scheduling.annotation.Scheduled;
import org.springframework.stereotype.Component;
import org.springframework.web.client.RestTemplate;
import java.math.BigDecimal;
import java.text.SimpleDateFormat;
import java.time.LocalDate;
import java.time.LocalDateTime;
......@@ -448,7 +449,7 @@ public class Schedule {
career.setMonthServeNum(monthAdminResult.getTotal_service_count());
//信息录入完整度
career.setMonthInfoPercent(monthAdminResult.getAvg_data_integrity());
career.setMonthInfoPercent(monthAdminResult.getAvg_data_integrity().divide(new BigDecimal(100), 2, BigDecimal.ROUND_HALF_UP));
//总考勤准时率
career.setTotalAttendancePercent(null);
......@@ -460,7 +461,7 @@ public class Schedule {
career.setTotalBalanceCardNum(allAdminResult.getCard_count());
//信息录入完整度
career.setTotalInfoPercent(allAdminResult.getAvg_data_integrity());
career.setTotalInfoPercent(allAdminResult.getAvg_data_integrity().divide(new BigDecimal(100), 2, BigDecimal.ROUND_HALF_UP));
//订单总数
Integer totalOrderNum = careerMapper.queryTotalOrderNum(storeTechnician.getId(), month);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment