|
@@ -5,9 +5,11 @@ import com.zhongzheng.common.annotation.Excel;
|
|
|
import io.swagger.annotations.ApiModel;
|
|
|
import io.swagger.annotations.ApiModelProperty;
|
|
|
import lombok.Data;
|
|
|
+import org.springframework.util.CollectionUtils;
|
|
|
|
|
|
import java.math.BigDecimal;
|
|
|
import java.util.List;
|
|
|
+import java.util.stream.Collectors;
|
|
|
|
|
|
|
|
|
/**
|
|
@@ -120,15 +122,15 @@ public class TopOldOrderVo {
|
|
|
@ApiModelProperty("退款(元)")
|
|
|
private BigDecimal orderRefund;
|
|
|
/** 已退(元) */
|
|
|
- @Excel(name = "退款" , readConverterExp = "元=")
|
|
|
+ @Excel(name = "退款")
|
|
|
@ApiModelProperty("已退(元)")
|
|
|
private BigDecimal orderRefunded;
|
|
|
/** 未收账款(元) */
|
|
|
- @Excel(name = "未收" , readConverterExp = "元=")
|
|
|
+ @Excel(name = "未收")
|
|
|
@ApiModelProperty("未收账款(元)")
|
|
|
private BigDecimal orderUncollected;
|
|
|
/** 实收账款(元) */
|
|
|
- @Excel(name = "已收" , readConverterExp = "元=")
|
|
|
+ @Excel(name = "已收")
|
|
|
@ApiModelProperty("已收账款(元)")
|
|
|
private BigDecimal orderReceived;
|
|
|
|
|
@@ -142,6 +144,14 @@ public class TopOldOrderVo {
|
|
|
@Excel(name = "财务备注")
|
|
|
@ApiModelProperty("财务备注")
|
|
|
private String financeRemark;
|
|
|
+
|
|
|
+ public String getOrderBusiness() {
|
|
|
+ if (CollectionUtils.isEmpty(this.businessNames)){
|
|
|
+ return "";
|
|
|
+ }
|
|
|
+ return this.businessNames.stream().collect(Collectors.joining(","));
|
|
|
+ }
|
|
|
+
|
|
|
/** 业务分类 */
|
|
|
@Excel(name = "业务类型")
|
|
|
@ApiModelProperty("业务分类")
|