Commit 644757bc24400f5be1639df5bac42a093eba363b

Authored by 房远帅
1 parent 1ddaf0e5

楚江ERP:修改排序

1 1 package com.lframework.xingyun.sc.bo.shipments.car;
2 2
  3 +import com.baomidou.mybatisplus.annotation.TableField;
3 4 import com.fasterxml.jackson.annotation.JsonFormat;
4 5 import com.lframework.starter.common.constants.StringPool;
5 6 import com.lframework.starter.web.core.bo.BaseBo;
... ... @@ -171,6 +172,12 @@ public class GetDraftRequestCarTicketBo extends BaseBo<DraftRequestCarTicket> {
171 172 @ApiModelProperty("是否为草稿要车单创建人")
172 173 private boolean draftCreateBy;
173 174
  175 + /**
  176 + * 是否展示审核按钮
  177 + */
  178 + @TableField(exist = false)
  179 + private boolean showExamine = false;
  180 +
174 181 public GetDraftRequestCarTicketBo() {
175 182
176 183 }
... ...
... ... @@ -98,7 +98,7 @@
98 98 AND tb.purchase_order_id = #{vo.purchaseOrderId}
99 99 </if>
100 100 </where>
101   - ORDER BY tb.update_time DESC
  101 + ORDER BY tb.create_time DESC
102 102 </select>
103 103
104 104 <select id="findById" resultType="com.lframework.xingyun.sc.entity.DraftRequestCarTicket">
... ...
... ... @@ -113,7 +113,7 @@
113 113 AND tb.plan_id = #{vo.planId}
114 114 </if>
115 115 </where>
116   - ORDER BY tb.update_time DESC
  116 + ORDER BY tb.create_time DESC
117 117 </select>
118 118
119 119 <select id="findById" resultType="com.lframework.xingyun.sc.entity.RequestCarTicket">
... ...