1
0
chenendian 4 روز پیش
والد
کامیت
935dc2e404
1فایلهای تغییر یافته به همراه1 افزوده شده و 1 حذف شده
  1. 1 1
      siwei-modules/siwei-apply/src/main/resources/mapper/ProjectWorkflowMapper.xml

+ 1 - 1
siwei-modules/siwei-apply/src/main/resources/mapper/ProjectWorkflowMapper.xml

@@ -80,7 +80,7 @@
         SELECT COALESCE((SELECT has_onchain
                          FROM ${tableName}
                          WHERE id = #{id}
-                        <if test="projectId != null">
+                        <if test="projectId != null and tableName!='t_ydbp_data'">
                             AND project_id = #{projectId}
                         </if>
                         LIMIT 1 ), false) AS has_onchain