소스 검색

fix: 解决小程序航线接口数据缺少的问题

luofeiyun 2 주 전
부모
커밋
fb8a66ba77
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      ship-module-resource/ship-module-resource-biz/src/main/resources/mapper/resourceroute/ResourceRouteMapper.xml

+ 1 - 1
ship-module-resource/ship-module-resource-biz/src/main/resources/mapper/resourceroute/ResourceRouteMapper.xml

@@ -52,7 +52,7 @@
            ) t2 ON pv.id = t2.voyage_id
         where rr.deleted = 0 and rd.deleted = 0 and rp.deleted = 0 and pv.deleted = 0 and rs.deleted = 0
        GROUP BY
-           rs.id
+        rr.id, rs.id
       ) t3 where 1=1 and t3.price is not null
      <if test="reqVo.shipId != null">
       and t3.ship_id = #{reqVo.shipId}