订单业务模块
parent
8892c4f90b
commit
8ba0adb3ff
|
@ -16,6 +16,15 @@ import java.util.Date;
|
||||||
@Tag(name = "订单列表请求对象")
|
@Tag(name = "订单列表请求对象")
|
||||||
public class OrdersListReq {
|
public class OrdersListReq {
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 产品名称
|
||||||
|
*/
|
||||||
|
@Schema(
|
||||||
|
description = "产品名称",
|
||||||
|
type = "String"
|
||||||
|
)
|
||||||
|
private String productName;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 订单编号
|
* 订单编号
|
||||||
*/
|
*/
|
||||||
|
|
|
@ -44,6 +44,7 @@
|
||||||
LEFT JOIN `product` ON `orders`.orders_product = `product`.product_id
|
LEFT JOIN `product` ON `orders`.orders_product = `product`.product_id
|
||||||
LEFT JOIN `sys_user` ON `orders`.orders_user = `sys_user`.user_id
|
LEFT JOIN `sys_user` ON `orders`.orders_user = `sys_user`.user_id
|
||||||
<where>
|
<where>
|
||||||
|
<if test="productName != null and productName != ''">AND product_name = #{productName}</if>
|
||||||
<if test=" ordersNum != null and ordersNum !='' "> AND orders_num = #{ordersNum} </if>
|
<if test=" ordersNum != null and ordersNum !='' "> AND orders_num = #{ordersNum} </if>
|
||||||
<if test=" ordersState != null "> AND orders_state = #{ordersState} </if>
|
<if test=" ordersState != null "> AND orders_state = #{ordersState} </if>
|
||||||
<if test="startDate!=null and startDate!=''"> AND orders_launchdate >=#{startDate} </if>
|
<if test="startDate!=null and startDate!=''"> AND orders_launchdate >=#{startDate} </if>
|
||||||
|
|
Loading…
Reference in New Issue