Forráskód Böngészése

fix 同步公共课程

he2802 2 éve
szülő
commit
719084e1e0

+ 4 - 0
zhongzheng-system/src/main/java/com/zhongzheng/modules/goods/service/impl/GoodsServiceImpl.java

@@ -953,10 +953,14 @@ public class GoodsServiceImpl extends ServiceImpl<GoodsMapper, Goods> implements
         queryBo.setId(goodsVo.getBusinessId());
         String fullName = iCourseBusinessService.queryFullName(queryBo);
         goodsVo.setErJianErZao(false);
+        goodsVo.setJjShiGongYuan(false);
         if(Validator.isNotEmpty(fullName)){
             if(fullName.equals("继续教育二级建造师")||fullName.equals("继续教育二级造价师")){
                 goodsVo.setErJianErZao(true);
             }
+            if(fullName.contains("继续教育")&&fullName.contains("施工现场专业人员")){
+                goodsVo.setJjShiGongYuan(true);
+            }
         }
         return goodsVo;
     }

+ 2 - 0
zhongzheng-system/src/main/java/com/zhongzheng/modules/goods/vo/GoodsVo.java

@@ -369,4 +369,6 @@ public class GoodsVo {
 	/** 七大员继教可选年份 */
 	@ApiModelProperty("七大员继教可选年份")
 	private String sevenYear;
+	@ApiModelProperty("是否是继教施工员")
+	private Boolean jjShiGongYuan;
 }