|
@@ -2064,7 +2064,14 @@ public class OrderServiceImpl extends ServiceImpl<OrderMapper, Order> implements
|
|
if (isConfigTp) {
|
|
if (isConfigTp) {
|
|
classGrade.setClassStatus(0);
|
|
classGrade.setClassStatus(0);
|
|
classGrade.setLearningStatus(2);//待定
|
|
classGrade.setLearningStatus(2);//待定
|
|
- classGrade.setStudentUpper(ClassGrade.INIT_UPPER); //上限300
|
|
|
|
|
|
+ //七大员继教默认上限1000
|
|
|
|
+ String businessFullName = iGoodsService.getGoodsBusinessName(goodsId);
|
|
|
|
+ if (businessFullName.contains("继续教育") && businessFullName.contains("施工现场专业人员")){
|
|
|
|
+ //七大员继教
|
|
|
|
+ classGrade.setStudentUpper(ClassGrade.INIT_UPPER3); //上限1000
|
|
|
|
+ }else {
|
|
|
|
+ classGrade.setStudentUpper(ClassGrade.INIT_UPPER); //上限300
|
|
|
|
+ }
|
|
|
|
|
|
//企业ID
|
|
//企业ID
|
|
String tenant = ServletUtils.getRequest().getHeader("TenantId");
|
|
String tenant = ServletUtils.getRequest().getHeader("TenantId");
|
|
@@ -2424,7 +2431,14 @@ public class OrderServiceImpl extends ServiceImpl<OrderMapper, Order> implements
|
|
if (isConfigTp) {
|
|
if (isConfigTp) {
|
|
classGrade.setClassStatus(0);
|
|
classGrade.setClassStatus(0);
|
|
classGrade.setLearningStatus(2);//待定
|
|
classGrade.setLearningStatus(2);//待定
|
|
- classGrade.setStudentUpper(ClassGrade.INIT_UPPER); //上限300
|
|
|
|
|
|
+ //七大员继教默认上限1000
|
|
|
|
+ String businessFullName = iGoodsService.getGoodsBusinessName(goodsId);
|
|
|
|
+ if (businessFullName.contains("继续教育") && businessFullName.contains("施工现场专业人员")){
|
|
|
|
+ //七大员继教
|
|
|
|
+ classGrade.setStudentUpper(ClassGrade.INIT_UPPER3); //上限1000
|
|
|
|
+ }else {
|
|
|
|
+ classGrade.setStudentUpper(ClassGrade.INIT_UPPER); //上限300
|
|
|
|
+ }
|
|
} else {
|
|
} else {
|
|
classGrade.setLearningStatus(1);//即刻
|
|
classGrade.setLearningStatus(1);//即刻
|
|
classGrade.setStudentUpper(ClassGrade.INIT_UPPER2); //上限1000000
|
|
classGrade.setStudentUpper(ClassGrade.INIT_UPPER2); //上限1000000
|