郎学彬 пре 4 година
родитељ
комит
6af630fe9b
1 измењених фајлова са 2 додато и 1 уклоњено
  1. 2 1
      sc-service/src/main/resources/mapper/common/FinanceInfMapper.xml

+ 2 - 1
sc-service/src/main/resources/mapper/common/FinanceInfMapper.xml

@@ -49,6 +49,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
         <if test="paramMap.zfiId == null  or paramMap.zfiId == ''">
             and zfi_status = '02'
         </if>
+        group by zfi_id
         order by flag asc , zc_finance_inf.create_time desc
     </select>
-</mapper>
+</mapper>