|
@@ -66,7 +66,9 @@ import com.zhongzheng.modules.order.domain.OrderGoods;
|
|
|
import com.zhongzheng.modules.order.service.IOrderGoodsService;
|
|
|
import com.zhongzheng.modules.order.service.IOrderService;
|
|
|
import com.zhongzheng.modules.system.domain.SysOldOrg;
|
|
|
+import com.zhongzheng.modules.system.domain.SysTenant;
|
|
|
import com.zhongzheng.modules.system.service.ISysOldOrgService;
|
|
|
+import com.zhongzheng.modules.system.service.ISysTenantService;
|
|
|
import com.zhongzheng.modules.user.bo.UserStudyRecordQueryBo;
|
|
|
import com.zhongzheng.modules.user.domain.User;
|
|
|
import com.zhongzheng.modules.user.domain.UserExamGoods;
|
|
@@ -203,6 +205,9 @@ public class UserPeriodServiceImpl extends ServiceImpl<UserPeriodMapper, UserPer
|
|
|
@Autowired
|
|
|
private ICourseModuleService iCourseModuleService;
|
|
|
|
|
|
+ @Autowired
|
|
|
+ private ISysTenantService iSysTenantService;
|
|
|
+
|
|
|
@Value("${oldStudySys.syncPath}")
|
|
|
private String SYNC_PATH;
|
|
|
|
|
@@ -682,11 +687,16 @@ public class UserPeriodServiceImpl extends ServiceImpl<UserPeriodMapper, UserPer
|
|
|
return true;
|
|
|
}
|
|
|
}
|
|
|
- if(Validator.isNotEmpty(business7)&&"七大员".equals(business7.getBusinessName())){
|
|
|
+// if(Validator.isNotEmpty(business7)&&"七大员".equals(business7.getBusinessName())){
|
|
|
+// hasSeven = true;
|
|
|
+// studyRec.setCourseType(17);
|
|
|
+// //去掉七大员推送
|
|
|
+// return true;
|
|
|
+// }
|
|
|
+ SysTenant sysTenant = iSysTenantService.getById(Long.valueOf(tenant));
|
|
|
+ if (ObjectUtils.isNotNull(sysTenant) && sysTenant.getPeriodSign() == 1){
|
|
|
hasSeven = true;
|
|
|
studyRec.setCourseType(17);
|
|
|
- //去掉七大员推送
|
|
|
- return true;
|
|
|
}
|
|
|
}
|
|
|
UserVo userVo = iUserService.queryById(bo.getUserId());
|