소스 검색

no message

FengChaoYu 9 달 전
부모
커밋
2644353778
1개의 변경된 파일2개의 추가작업 그리고 0개의 파일을 삭제
  1. 2 0
      mall-miniapp-service/src/main/resources/mapper/MaterialMapper.xml

+ 2 - 0
mall-miniapp-service/src/main/resources/mapper/MaterialMapper.xml

@@ -963,8 +963,10 @@
             <if test="websitId != null and websitId != ''">
                 AND a.websit_id = #{websitId}
             </if>
+            HAVING distance <![CDATA[ < ]]> 50
         </where>
         order by distance asc, websit_id
+
     </select>
 
     <select id="selectNewRefundManageItemByApplyNo" resultMap="newRefundManageItemResultMap">