许鹏程
2024-01-10 d2d7c2561ea9f8a7e909588a40920c7dc3064b3f
product-server-data-center/src/main/java/com/product/data/center/service/JournalManagerService.java
@@ -43,6 +43,17 @@
   @Resource
   MesExternalService mesExternalService;
   public void timingClearDataCenterLog(){
//      select uuid from product_sys_data_center_log a
//      where created_utc_datetime<=date(date_add(now(),interval -7 day)) and (result=1 or (deal_flag=1 and deal_result=1)) and type>1
//      union all
//      select a.uuid from product_sys_data_center_log a
//      join product_sys_data_center_log b on a.uuid=b.pre_step_uuid
//      where a.type=1 and b.type=2 and (b.result=1 or (b.deal_flag=1 and b.deal_result=1))
//      and b.created_utc_datetime<=date(date_add(now(),interval -7 day))
   }
   /**
    * 日志列表
    *