puzhibing
2023-06-09 514d6e462e610cd7067c6555e1ea804748a7eb9a
修改bug
1个文件已修改
16 ■■■■ 已修改文件
management/guns-admin/src/main/java/com/stylefeng/guns/modular/system/util/TaskUtil.java 16 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
management/guns-admin/src/main/java/com/stylefeng/guns/modular/system/util/TaskUtil.java
@@ -55,7 +55,9 @@
                userToCoupon.setExpireCount(validCount);
                userToCoupon.setValidCount(0);
            }
            userToCouponService.updateBatchById(collect2);
            if(collect2.size() > 0){
                userToCouponService.updateBatchById(collect2);
            }
        } catch (Exception e) {
            e.printStackTrace();
        }
@@ -107,7 +109,9 @@
                    tAppUser.setIsException(2);
                }
            }
            appUserService.updateBatchById(appUserList);
            if(appUserList.size() > 0){
                appUserService.updateBatchById(appUserList);
            }
        }catch (Exception e){
            e.printStackTrace();
        }
@@ -154,7 +158,9 @@
                    }
                }
            }
            driverService.updateBatchById(driverList);
            if(driverList.size() > 0){
                driverService.updateBatchById(driverList);
            }
        }catch (Exception e){
            e.printStackTrace();
        }
@@ -178,7 +184,9 @@
                    driver.setIsException(1);
                }
            }
            driverService.updateBatchById(driverList);
            if(driverList.size() > 0){
                driverService.updateBatchById(driverList);
            }
        }catch (Exception e){
            e.printStackTrace();
        }