|
@@ -50,14 +50,8 @@ import com.zhongzheng.modules.grade.bo.ClassGradeListBo;
|
|
|
import com.zhongzheng.modules.grade.bo.ClassGradeQueryBo;
|
|
|
import com.zhongzheng.modules.grade.bo.ClassGradeSortBo;
|
|
|
import com.zhongzheng.modules.grade.bo.ClassGradeUserTempQueryBo;
|
|
|
-import com.zhongzheng.modules.grade.domain.ClassGrade;
|
|
|
-import com.zhongzheng.modules.grade.domain.ClassGradeGoods;
|
|
|
-import com.zhongzheng.modules.grade.domain.ClassGradeUser;
|
|
|
-import com.zhongzheng.modules.grade.domain.ClassGradeUserTemp;
|
|
|
-import com.zhongzheng.modules.grade.service.IClassGradeGoodsService;
|
|
|
-import com.zhongzheng.modules.grade.service.IClassGradeService;
|
|
|
-import com.zhongzheng.modules.grade.service.IClassGradeUserService;
|
|
|
-import com.zhongzheng.modules.grade.service.IClassGradeUserTempService;
|
|
|
+import com.zhongzheng.modules.grade.domain.*;
|
|
|
+import com.zhongzheng.modules.grade.service.*;
|
|
|
import com.zhongzheng.modules.grade.vo.ClassGradeUserTempVo;
|
|
|
import com.zhongzheng.modules.grade.vo.ClassGradeVo;
|
|
|
import com.zhongzheng.modules.order.bo.*;
|
|
@@ -121,6 +115,8 @@ public class OrderServiceImpl extends ServiceImpl<OrderMapper, Order> implements
|
|
|
@Autowired
|
|
|
private IClassGradeUserService iClassGradeUserService;
|
|
|
@Autowired
|
|
|
+ private IClassGradeInterfaceService iClassGradeInterfaceService;
|
|
|
+ @Autowired
|
|
|
private IClassGradeGoodsService iClassGradeGoodsService;
|
|
|
@Autowired
|
|
|
private IOrderBillSheetService iOrderBillSheetService;
|
|
@@ -2125,6 +2121,19 @@ public class OrderServiceImpl extends ServiceImpl<OrderMapper, Order> implements
|
|
|
if (businessFullName.contains("继续教育") && businessFullName.contains("施工现场专业人员")){
|
|
|
//七大员继教
|
|
|
classGrade.setStudentUpper(ClassGrade.INIT_UPPER3); //上限1000
|
|
|
+ //班级绑定学员资料推送和学时推送
|
|
|
+ List<ClassGradeInterface> list = iClassGradeInterfaceService.list(new LambdaQueryWrapper<ClassGradeInterface>()
|
|
|
+ .eq(ClassGradeInterface::getStatus, 1)
|
|
|
+ .in(ClassGradeInterface::getType, Arrays.asList(1, 3)));
|
|
|
+ if (CollectionUtils.isNotEmpty(list)){
|
|
|
+ list.forEach(item -> {
|
|
|
+ if (item.getType() == 1){
|
|
|
+ classGrade.setInterfacePushId(item.getId());
|
|
|
+ }else if(item.getType() == 3){
|
|
|
+ classGrade.setInterfacePeriodId(item.getId());
|
|
|
+ }
|
|
|
+ });
|
|
|
+ }
|
|
|
}else {
|
|
|
classGrade.setStudentUpper(ClassGrade.INIT_UPPER); //上限300
|
|
|
}
|