diff --git a/src/main/resources/mybatis/datasource/keyProjects/KeyprojectPunishMapper.xml b/src/main/resources/mybatis/datasource/keyProjects/KeyprojectPunishMapper.xml
index 86f09deb..40d427f6 100644
--- a/src/main/resources/mybatis/datasource/keyProjects/KeyprojectPunishMapper.xml
+++ b/src/main/resources/mybatis/datasource/keyProjects/KeyprojectPunishMapper.xml
@@ -185,7 +185,7 @@
)
- and k.OUTSOURCED_ID = #{pd.OUTSOURCED_ID}
+ and (k.OUTSOURCED_ID = #{pd.OUTSOURCED_ID} or f.KEYPROJECTCHECK_ID = #{pd.OUTSOURCED_ID})
and f.HANDLED = 0