he2802 3 سال پیش
والد
کامیت
66d438ab97

+ 3 - 3
zhongzheng-admin/src/main/java/com/zhongzheng/controller/common/CommonController.java

@@ -183,11 +183,11 @@ public class CommonController
         return AjaxResult.success();
     }
 
-   /* @ApiOperation("测试分班")
+   @ApiOperation("测试分班")
     @GetMapping("common/jzs/grade")
     public AjaxResult<Void> testGrade()
     {
-        iOrderService.arrangeGrade("安管继续教育网络班B类",905L,123L,null,114L,"",174L);
+        iOrderService.arrangeGrade("安管继续教育网络班B类",890L,3097L,null,114L,"",174L);
         return AjaxResult.success();
-    }*/
+    }
 }

+ 2 - 2
zhongzheng-system/src/main/java/com/zhongzheng/modules/grade/service/impl/UserPeriodServiceImpl.java

@@ -433,7 +433,7 @@ public class UserPeriodServiceImpl extends ServiceImpl<UserPeriodMapper, UserPer
         bo.setStatus(1);
         sendPeriodSMS(bo);
         sendPeriodSevenSMS(bo);
-   //     syncStudyLogToOld(bo);
+        syncStudyLogToOld(bo);
         return true;
     }
 
@@ -556,7 +556,7 @@ public class UserPeriodServiceImpl extends ServiceImpl<UserPeriodMapper, UserPer
         try {
             respone = HttpUtils.postFormBody(SYNC_PATH, params);
         } catch (IOException e) {
-            throw new CustomException("请求错误");
+            throw new CustomException("同步请求错误");
         }
         return studyRec;
     }