Browse Source

取消订单优化

xiongzhu 4 năm trước cách đây
mục cha
commit
b775207820

+ 1 - 1
src/main/java/com/izouma/nineth/service/SysConfigService.java

@@ -101,7 +101,7 @@ public class SysConfigService {
                     .value("FALSE")
                     .value("FALSE")
                     .build());
                     .build());
         }
         }
-        if (list.stream().noneMatch(i -> i.getName().equals("order_cancel_interval"))) {
+        if (list.stream().noneMatch(i -> i.getName().equals("order_cancel_time"))) {
             sysConfigRepo.save(SysConfig.builder()
             sysConfigRepo.save(SysConfig.builder()
                     .name("order_cancel_time")
                     .name("order_cancel_time")
                     .desc("订单自动取消间隔(S)")
                     .desc("订单自动取消间隔(S)")