Forráskód Böngészése

项目数量调整

chenendian 1 hónapja
szülő
commit
dcb84bcdc8

+ 2 - 15
siwei-modules/siwei-apply/src/main/resources/mapper/ProjectMapper.xml

@@ -509,21 +509,8 @@
         SELECT COUNT(*)
         FROM (
                 SELECT
-                P."id" AS ID,
-                P."name" AS NAME,
-                P."code" AS code,
-                P."company" AS company,
-                P."created_at" AS createAt,
-                P."updated_at" AS updateAt,
-                P."project_type" AS projectType,
-                P."on_chain_num" AS onChainNum,
-                P."creator_id" AS creatorId,
-                P."updated_at" AS updatedAt,
-                '1'  AS selectType,
-                '' AS attachmentId,
-                '' AS nodeId  ,
-                '' AS fileName,
-                '' AS  filePath
+                distinct
+                P."id" AS ID
                 FROM  PUBLIC.t_project P
                 <where>
                     <if test="keyWords != null and keyWords.size() > 0">