edit
This commit is contained in:
parent
3cfcbce9ec
commit
786829be80
@ -62,7 +62,7 @@
|
||||
<if test="orderDTO.cardId!=null">
|
||||
AND c.id = #{orderDTO.cardId}
|
||||
</if>
|
||||
<if test="orderDTO.userIdList!=null and order3DTO.userIdList.size() > 0 ">
|
||||
<if test="orderDTO.userIdList!=null and orderDTO.userIdList.size() > 0 ">
|
||||
AND c.user_id in
|
||||
<foreach collection="orderDTO.userIdList" item="id" separator="," open="(" close=")">
|
||||
#{id}
|
||||
|
@ -19,12 +19,11 @@ class OrderServiceTest {
|
||||
private OrderService orderService;
|
||||
|
||||
/**
|
||||
* @MethodName: getOrder1List
|
||||
* @Description:
|
||||
* @Param: []
|
||||
* @Return: void
|
||||
* @Author: geoffrey
|
||||
* @Date: 2021/12/25
|
||||
* 一版分页(普通分页)
|
||||
* @methodName: getOrder1List
|
||||
* @return: void
|
||||
* @author: geoffrey
|
||||
* @date: 2022/2/7
|
||||
**/
|
||||
@Test
|
||||
public void getOrder1List() {
|
||||
@ -42,13 +41,12 @@ class OrderServiceTest {
|
||||
|
||||
|
||||
/**
|
||||
* @return void
|
||||
* @throws
|
||||
* @description
|
||||
* @author ybwei
|
||||
* @date 2022/1/7 17:26
|
||||
* @params []
|
||||
*/
|
||||
* 二版分页-SQL优化(通过id分页)
|
||||
* @methodName: getOrder2List
|
||||
* @return: void
|
||||
* @author: geoffrey
|
||||
* @date: 2022/2/7
|
||||
**/
|
||||
@Test
|
||||
public void getOrder2List() {
|
||||
OrderReq orderReq = OrderReq
|
||||
|
Loading…
Reference in New Issue
Block a user