Commit 644757bc24400f5be1639df5bac42a093eba363b

Authored by 房远帅
1 parent 1ddaf0e5

楚江ERP:修改排序

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