|
@@ -100,6 +100,8 @@ public class DataDashboardService {
|
|
|
|
|
|
@ApolloJsonValue("${export.account.ghId:[]}")
|
|
|
private static List<String> ghIdList;
|
|
|
+ @ApolloJsonValue("${audit.producePlan.list:[]}")
|
|
|
+ private static List<String> auditProducePlanList;
|
|
|
private static final String dailyDetailSheetToken = "M0pLs3uF6hfL0htn2dMcB9eFn8e";
|
|
|
private static final String dailySafeSheetToken = "Xoass3ZGYhi9BVtZDoMclGFpnYe";
|
|
|
|
|
@@ -1822,10 +1824,8 @@ public class DataDashboardService {
|
|
|
private List<ProducePlanAuditExport> buildProducePlanAuditExport(String dateStr,
|
|
|
Map<String, ProducePlanAuditExport> yesterdayMap) {
|
|
|
Long timeStamp = DateUtils.getStartOfDay(dateStr, "yyyyMMdd") * 1000;
|
|
|
- List<String> planIds = Arrays.asList("20240802143345289374071", "20240802171417146947657",
|
|
|
- "20240804003153130851174", "20241030070010871546586", "20240802080355355308981",
|
|
|
- "20240802021606053813696");
|
|
|
- List<ProducePlan> producePlans = producePlanRepository.findByIdIn(planIds);
|
|
|
+ List<String> planIds = auditProducePlanList;
|
|
|
+ List<ProducePlan> producePlans = producePlanRepository.findByIdIn(auditProducePlanList);
|
|
|
Map<String, String> producePlanMap = producePlans.stream().collect(Collectors.toMap(ProducePlan::getId, ProducePlan::getName));
|
|
|
List<ProducePlanAuditCheckDTO> producePlanAudtiList = aigcBaseMapper.getProducePlanAudit(
|
|
|
timeStamp, timeStamp + 86400000, planIds);
|