|
@@ -163,7 +163,15 @@ func (this *SealApprovalCommon) List() {
|
|
|
return
|
|
|
}
|
|
|
|
|
|
- tmpList, err := contract_approval.GetSealApprovalListV2(childCondition, condition, childPars, pars, startSize, pageSize)
|
|
|
+ orderBy := ` modify_time desc `
|
|
|
+ switch status {
|
|
|
+ case "已撤回":
|
|
|
+ orderBy = ` c.modify_time desc `
|
|
|
+ case "已作废":
|
|
|
+ orderBy = ` c.invalid_time desc `
|
|
|
+ }
|
|
|
+
|
|
|
+ tmpList, err := contract_approval.GetSealApprovalListV2(childCondition, condition, orderBy, childPars, pars, startSize, pageSize)
|
|
|
if err != nil {
|
|
|
this.FailWithMessage("获取审批列表失败!", "获取审批列表失败,Err:"+err.Error())
|
|
|
return
|