Commit 08684fde by wangli

修改

1 parent a87f4757
......@@ -3,7 +3,19 @@ package com.dituhui.pea.order.dao;
import com.dituhui.pea.order.entity.OrderRequest;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;
import java.util.List;
@Mapper
public interface OrderRequestMPDao extends BaseMapper<OrderRequest> {
}
@Select("select * from order_request where order_id = #{orderId}")
OrderRequest getByOrderId(String orderId);
@Select("select * from order_request where order_id = #{orderId}")
List<OrderRequest> selectByOrderId(String orderId);
@Select("select * from order_request where order_id in #{orderIds}")
List<OrderRequest> selectByOrderIds(List<String> orderIds);
}
\ No newline at end of file
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!