6 changed files with 339 additions and 0 deletions
-
20src/main/java/com/spring/modules/quote/controller/QuoteDetailController.java
-
5src/main/java/com/spring/modules/quote/mapper/QuoteDetailMapper.java
-
7src/main/java/com/spring/modules/quote/service/QuoteDetailService.java
-
30src/main/java/com/spring/modules/quote/service/impl/QuoteDetailServiceImpl.java
-
121src/main/java/com/spring/modules/quote/vo/QuoteDetailReportVo.java
-
156src/main/resources/mapper/quote/QuoteDetailMapper.xml
@ -0,0 +1,121 @@ |
|||
package com.spring.modules.quote.vo; |
|||
|
|||
import com.alibaba.excel.annotation.ExcelIgnore; |
|||
import com.alibaba.excel.annotation.ExcelProperty; |
|||
import lombok.Data; |
|||
|
|||
import java.math.BigDecimal; |
|||
|
|||
@Data |
|||
public class QuoteDetailReportVo { |
|||
@ExcelProperty("Site") |
|||
private String site; |
|||
|
|||
@ExcelProperty("BU") |
|||
private String buNo; |
|||
|
|||
@ExcelProperty("报价单号") |
|||
private String quoteVersionNo; |
|||
|
|||
@ExcelProperty("客户编码") |
|||
private String customerNo; |
|||
|
|||
@ExcelProperty("客户名称") |
|||
private String customerDesc; |
|||
|
|||
@ExcelProperty("项目号") |
|||
private String projectNo; |
|||
|
|||
@ExcelProperty("项目名称") |
|||
private String projectDesc; |
|||
|
|||
@ExcelProperty("状态") |
|||
private String status; |
|||
|
|||
@ExcelProperty("PLM物料编码") |
|||
private String plmPartNo; |
|||
|
|||
@ExcelProperty("IFS物料编码") |
|||
private String ifsPartNo; |
|||
|
|||
@ExcelProperty("物料名称") |
|||
private String partDesc; |
|||
|
|||
@ExcelProperty("MOQ") |
|||
private BigDecimal qty; |
|||
|
|||
@ExcelProperty("材料成本") |
|||
private BigDecimal adjustPartCost; |
|||
|
|||
@ExcelProperty("人工成本") |
|||
private BigDecimal adjustLabourCost; |
|||
|
|||
@ExcelProperty("机器成本") |
|||
private BigDecimal adjustMachineCost; |
|||
|
|||
@ExcelProperty("工具成本") |
|||
private BigDecimal adjustToolCost; |
|||
|
|||
@ExcelProperty("测试成本") |
|||
private BigDecimal adjustTestCost; |
|||
|
|||
@ExcelProperty("包装成本") |
|||
private BigDecimal packCost; |
|||
|
|||
@ExcelProperty("运输成本") |
|||
private BigDecimal shippingCost; |
|||
|
|||
@ExcelProperty("其他成本") |
|||
private BigDecimal adjustElseCost; |
|||
|
|||
@ExcelProperty("总成本") |
|||
private BigDecimal totalCost; |
|||
|
|||
@ExcelProperty("最终交易价") |
|||
private BigDecimal finalTransactionPrice; |
|||
|
|||
@ExcelProperty("VA%") |
|||
private BigDecimal quoteProfitRate; |
|||
|
|||
@ExcelProperty("Contribution%") |
|||
private BigDecimal quoteProfitAmount; |
|||
|
|||
@ExcelProperty("Margin%") |
|||
private BigDecimal quoteTaxRate; |
|||
|
|||
@ExcelProperty("Price ¥(ex VAT)") |
|||
private BigDecimal quoteTaxTotalPrice; |
|||
|
|||
@ExcelProperty("未税单价") |
|||
private BigDecimal unitPrice; |
|||
|
|||
@ExcelProperty("税率") |
|||
private BigDecimal taxRate; |
|||
|
|||
@ExcelProperty("含税单价(CNY)") |
|||
private BigDecimal taxUnitPrice; |
|||
|
|||
// 查询条件参数(不显示在Excel中) |
|||
@ExcelIgnore |
|||
private String quoter; |
|||
|
|||
@ExcelIgnore |
|||
private String insideInquiryNo; |
|||
|
|||
@ExcelIgnore |
|||
private String startDate; |
|||
|
|||
@ExcelIgnore |
|||
private String endDate; |
|||
|
|||
@ExcelIgnore |
|||
private String partNo; |
|||
|
|||
// 分页参数 |
|||
@ExcelIgnore |
|||
private Integer page; |
|||
|
|||
@ExcelIgnore |
|||
private Integer limit; |
|||
} |
|||
|
|||
Write
Preview
Loading…
Cancel
Save
Reference in new issue