瀏覽代碼

项目数量调整

chenendian 1 月之前
父節點
當前提交
dcb84bcdc8
共有 1 個文件被更改,包括 2 次插入15 次删除
  1. 2 15
      siwei-modules/siwei-apply/src/main/resources/mapper/ProjectMapper.xml

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

@@ -509,21 +509,8 @@
         SELECT COUNT(*)
         SELECT COUNT(*)
         FROM (
         FROM (
                 SELECT
                 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
                 FROM  PUBLIC.t_project P
                 <where>
                 <where>
                     <if test="keyWords != null and keyWords.size() > 0">
                     <if test="keyWords != null and keyWords.size() > 0">