Browse Source

处理安全检查保存时会生成问题

jiawuxian 2 năm trước cách đây
mục cha
commit
34e844c7a0

+ 1 - 1
soc-modules/soc-modules-core/src/main/java/com/xunmei/core/safetyCheck/service/impl/SafetyCheckRegisterSericeImpl.java

@@ -347,7 +347,7 @@ public class SafetyCheckRegisterSericeImpl extends ServiceImpl<CoreSafetyTaskMap
                 }
             }
 
-            if (ObjectUtil.equal(point.getValue(), 1)) {
+            if (ObjectUtil.equal(data.getIsSubmit(),1) && ObjectUtil.equal(point.getValue(), 1)) {
                 Question question = dataVoToQuestion(data, org, point, pointVo,user);
                 questions.add(question);
             }