Sfoglia il codice sorgente

1.回退恒春来sop处理

jzp 2 giorni fa
parent
commit
851623c9f8

+ 3 - 3
fs-service/src/main/java/com/fs/sop/service/impl/QwSopServiceImpl.java

@@ -541,6 +541,9 @@ public class QwSopServiceImpl implements IQwSopService {
     @Override
     public void checkSopRuleTime() {
 
+        if("恒春来".equals(cloudHostProper.getCompanyName())){
+            return;
+        }
 
         List<QwSopRuleTimeVO> qwSopList = qwSopMapper.checkSopRuleTime();
 
@@ -557,9 +560,6 @@ public class QwSopServiceImpl implements IQwSopService {
         try {
             qwSopList.forEach(ruleTimeVO->{
 
-                if("恒春来".equals(cloudHostProper.getCompanyName()) && ruleTimeVO.getStatus() == 1L){
-                    return;
-                }
                 //如果当前模板停用了,则不运行了
                 if (ruleTimeVO.getTempStatus().equals("0")){
                     QwSop qwSop=new QwSop();