소스 검색

userId参数

hr~ 3 주 전
부모
커밋
a5af7320f4
1개의 변경된 파일3개의 추가작업 그리고 0개의 파일을 삭제
  1. 3 0
      py-order/src/main/resources/mapper/LotOrderMapper.xml

+ 3 - 0
py-order/src/main/resources/mapper/LotOrderMapper.xml

@@ -112,6 +112,9 @@
             <if test="lotOrder.merchantId != null">
                 and lo.merchant_id = #{lotOrder.merchantId}
             </if>
+            <if test="lotOrder.userId != null">
+                and lo.user_id= #{lotOrder.userId}
+            </if>
         </where>
         order by lo.create_time desc
     </select>