Explorar el Código

fix: 解析总数参数增加注解

chenjianhua hace 7 meses
padre
commit
1443f984c6
Se han modificado 1 ficheros con 2 adiciones y 2 borrados
  1. 2 2
      service-base/src/main/resources/mapper/EmailFundNavMapper.xml

+ 2 - 2
service-base/src/main/resources/mapper/EmailFundNavMapper.xml

@@ -31,7 +31,7 @@
         </foreach>
     </insert>
     <select id="searchNavDetail" resultMap="BaseResultMap">
-        SELECT distinct
+        SELECT distinct nav.id,
             nav.fund_id,
             nav.fund_name,
             nav.register_number,
@@ -71,7 +71,7 @@
     <select id="countNavDetail" resultType="java.lang.Long"
             parameterType="com.simuwang.base.pojo.dto.query.ParseDetailPageQuery">
         select count(1) from (
-            SELECT distinct
+            SELECT distinct nav.id,
             nav.fund_id,
             nav.fund_name,
             nav.register_number,