修复小数点,开启审核
This commit is contained in:
@ -5,11 +5,12 @@ import com.ruoyi.common.constant.HttpStatus;
|
||||
import com.ruoyi.common.core.controller.BaseController;
|
||||
import com.ruoyi.custom.page.OrderTableDataInfo;
|
||||
|
||||
import java.math.BigDecimal;
|
||||
import java.util.List;
|
||||
|
||||
public class OrderBaseController extends BaseController {
|
||||
|
||||
protected OrderTableDataInfo getOrderDataTable(List<?> list, long totalAmount) {
|
||||
protected OrderTableDataInfo getOrderDataTable(List<?> list, BigDecimal totalAmount) {
|
||||
OrderTableDataInfo rspData = new OrderTableDataInfo();
|
||||
rspData.setCode(HttpStatus.SUCCESS);
|
||||
rspData.setMsg("查询成功");
|
||||
|
@ -2,6 +2,7 @@ package com.ruoyi.custom.page;
|
||||
|
||||
|
||||
import java.io.Serializable;
|
||||
import java.math.BigDecimal;
|
||||
import java.util.List;
|
||||
|
||||
public class OrderTableDataInfo implements Serializable {
|
||||
@ -30,7 +31,7 @@ public class OrderTableDataInfo implements Serializable {
|
||||
/**
|
||||
* 金额总数
|
||||
*/
|
||||
private long totalAmount;
|
||||
private BigDecimal totalAmount;
|
||||
|
||||
/**
|
||||
* 表格数据对象
|
||||
@ -81,11 +82,11 @@ public class OrderTableDataInfo implements Serializable {
|
||||
this.msg = msg;
|
||||
}
|
||||
|
||||
public void setTotalAmount(long totalAmount) {
|
||||
public void setTotalAmount(BigDecimal totalAmount) {
|
||||
this.totalAmount = totalAmount;
|
||||
}
|
||||
|
||||
public long getTotalAmount() {
|
||||
public BigDecimal getTotalAmount() {
|
||||
return totalAmount;
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user