Commit ebd92989 authored by huyuchen's avatar huyuchen

订单优化修改

parent db9eca18
......@@ -68,4 +68,10 @@ public class OrderListParam extends BaseEntity {
@Schema(description = "订单id集合")
private List<String> idList;
/**
* 星级
*/
@Schema(description = "星级")
private String level;
}
......@@ -37,6 +37,7 @@
a.CUSTOMER_NAME as customerName,
a.DEPT_NAME as deptName,
a.DEPT_NO as deptNo,
a.LEVEL as level,
a.ORDER_STATUS as orderStatus
from t_order a
left join t_order_handler h on h.ORDER_NO = a.ORDER_NO
......@@ -62,7 +63,7 @@
<if test="param.orderStatus != null">
and a.ORDER_STATUS = #{param.orderStatus}
</if>
<if test="param.level != null">
<if test="param.level != null and param.level.trim() != ''">
and a.LEVEL = #{param.level}
</if>
<if test="param.authSql != null and param.authSql.trim() != ''">
......@@ -124,7 +125,7 @@
<if test="param.orderStatus != null">
and a.ORDER_STATUS = #{param.orderStatus}
</if>
<if test="param.level != null">
<if test="param.level != null and param.level.trim() != ''">
and a.LEVEL = #{param.level}
</if>
<if test="param.authSql != null and param.authSql.trim() != ''">
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment