提交 34ed385d 作者: han

serviceOrderFormList 列表加一个筛选条件 publisherNumber

上级 05ed37fe
...@@ -47,6 +47,9 @@ public class ServiceOrderQO { ...@@ -47,6 +47,9 @@ public class ServiceOrderQO {
@ApiModelProperty(value = "查询指定飞手列表中飞手的订单") @ApiModelProperty(value = "查询指定飞手列表中飞手的订单")
@JsonIgnore @JsonIgnore
private List<Integer> pilotUserIdList = null; private List<Integer> pilotUserIdList = null;
@ApiModelProperty(value = "发布者订单编号", example = "R3123132132132131")
private String publisherNumber;
public void buildCurrentPage() { public void buildCurrentPage() {
this.pageNo = (pageNo - 1) * pageSize; this.pageNo = (pageNo - 1) * pageSize;
} }
......
...@@ -101,6 +101,9 @@ ...@@ -101,6 +101,9 @@
<if test=" orderAttribute != null and orderAttribute!='' "> <if test=" orderAttribute != null and orderAttribute!='' ">
and ri.order_attribute = #{orderAttribute} and ri.order_attribute = #{orderAttribute}
</if> </if>
<if test=" publisherNumber != null and publisherNumber!='' ">
and ri.publisher_number = #{publisherNumber}
</if>
order by ri.id desc order by ri.id desc
limit #{pageNo},#{pageSize} limit #{pageNo},#{pageSize}
</select> </select>
...@@ -139,6 +142,9 @@ ...@@ -139,6 +142,9 @@
<if test=" orderAttribute != null and orderAttribute!='' "> <if test=" orderAttribute != null and orderAttribute!='' ">
and ri.order_attribute = #{orderAttribute} and ri.order_attribute = #{orderAttribute}
</if> </if>
<if test=" publisherNumber != null and publisherNumber!='' ">
and ri.publisher_number = #{publisherNumber}
</if>
</select> </select>
<select id="serviceOrderFormDetails" resultMap="serviceDetails"> <select id="serviceOrderFormDetails" resultMap="serviceDetails">
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论