Commit bd5dbb85 by jianshuqin

费用单审核日志增加费用金额

parent 48b034b5
......@@ -5,6 +5,7 @@ import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import java.math.BigDecimal;
import java.time.LocalDateTime;
/**
......@@ -44,4 +45,7 @@ public class ApprovalHistoryVo {
@ApiModelProperty("费用类型")
private String typeName;
@ApiModelProperty("金额")
private BigDecimal amount;
}
......@@ -6,7 +6,7 @@
<select id="getApprovalHistoryList"
resultType="com.blt.other.module.cost.vo.ApprovalHistoryVo">
select ah.id, ah.cost_no as costNo ,c.cost_form as costFrom,c.is_lend as isLend, s2.statusvalue as costStatus
,ah.is_passed as isPassed ,ah.approval_time as approvalTime ,c.type_name as typeName,u.username
,ah.is_passed as isPassed ,ah.approval_time as approvalTime ,c.type_name as typeName,u.username,c.amount as amount
from approval_history ah
left join cost c on c.cost_no = ah.cost_no
left join `user` u on u.userid = ah.approval_user_id
......
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