diff --git a/src/main/resources/mybatis/datasource/eightwork/EightWorkTaskMapper.xml b/src/main/resources/mybatis/datasource/eightwork/EightWorkTaskMapper.xml
index a204f38..3f3ce9f 100644
--- a/src/main/resources/mybatis/datasource/eightwork/EightWorkTaskMapper.xml
+++ b/src/main/resources/mybatis/datasource/eightwork/EightWorkTaskMapper.xml
@@ -42,7 +42,9 @@
diff --git a/src/main/resources/mybatis/datasource/eightwork/HotWorkMapper.xml b/src/main/resources/mybatis/datasource/eightwork/HotWorkMapper.xml
index 456258e..5f6f782 100644
--- a/src/main/resources/mybatis/datasource/eightwork/HotWorkMapper.xml
+++ b/src/main/resources/mybatis/datasource/eightwork/HotWorkMapper.xml
@@ -476,6 +476,9 @@
and sign.SIGN_TIME is null
and sign.SIGN_USER_ID = #{pd.USER_ID}
and step.STEP_NAME = #{pd.STEP_NAME}
+
+ and f.STEP_ID != -1
+
)
@@ -511,8 +514,10 @@
from
bus_hotwork_sign sign
left join bus_eightwork_step step on step.STEP_ID = sign.STEP_ID
+ left join bus_hotwork a on a.HOTWORK_ID = sign.HOTWORK_ID
where
sign.SIGN_TIME is null
+ and a.STEP_ID != '-1'
and
sign.SIGN_USER_ID = #{USER_ID}
group by step.CODE
diff --git a/src/main/resources/mybatis/datasource/eightwork/HotworkSignMapper.xml b/src/main/resources/mybatis/datasource/eightwork/HotworkSignMapper.xml
index d534afc..b0d3f0f 100644
--- a/src/main/resources/mybatis/datasource/eightwork/HotworkSignMapper.xml
+++ b/src/main/resources/mybatis/datasource/eightwork/HotworkSignMapper.xml
@@ -102,7 +102,14 @@