Browse Source

上岗证/作业证书一览 - 修改冷区岗位作业证校验规则:移除特种作业-制冷与空调作(指定人员)

wangggziwen 3 weeks ago
parent
commit
45786e4037

+ 2 - 3
master/src/main/java/com/ruoyi/project/training/controller/TWorklicenseCertificateController.java

@@ -362,7 +362,7 @@ public class TWorklicenseCertificateController extends BaseController
             // 岗位-作业证书矩阵
             // 裂解(裂解/SUB)岗位:特种设备管理(压力容器/管道操作证书);危险化学品作业-裂解(裂化)工艺;锅炉操作证。
             // 热区(压缩)岗位:特种设备管理(压力容器/管道操作证书);危险化学品作业-加氢工艺。
-            // 冷区(分离)岗位:特种设备管理(压力容器/管道操作证书);危险化学品作业-加氢工艺;特种作业-制冷与空调(指定人员)。
+            // 冷区(分离)岗位:特种设备管理(压力容器/管道操作证书);危险化学品作业-加氢工艺;
             // 芳烃(PGU&AEU)岗位:特种设备管理(压力容器/管道操作证书);危险化学品作业-加氢工艺。
             if ("1".equals(cracking)) {
                 if (worklicenseCertificate.getContainer() == null
@@ -382,8 +382,7 @@ public class TWorklicenseCertificateController extends BaseController
             if ("1".equals(coldarea)) {
                 if (worklicenseCertificate.getContainer() == null
                         || worklicenseCertificate.getPipe() == null
-                        || worklicenseCertificate.getHydrogenation() == null
-                        || worklicenseCertificate.getRefrigeration() == null) {
+                        || worklicenseCertificate.getHydrogenation() == null) {
                     worklicenseCertificate.setIsHighlight(1);
                 }
             }