22 changed files with 349 additions and 84 deletions
@ -0,0 +1,38 @@
|
||||
package com.logpm.report.controller; |
||||
|
||||
|
||||
import com.logpm.report.service.BillingService; |
||||
import com.logpm.report.vo.indexCount.BillingDataVo; |
||||
import io.swagger.annotations.Api; |
||||
import io.swagger.annotations.ApiOperation; |
||||
import lombok.AllArgsConstructor; |
||||
import org.springframework.web.bind.annotation.GetMapping; |
||||
import org.springframework.web.bind.annotation.RequestMapping; |
||||
import org.springframework.web.bind.annotation.RequestParam; |
||||
import org.springframework.web.bind.annotation.RestController; |
||||
|
||||
@AllArgsConstructor |
||||
@RestController |
||||
@RequestMapping("/bill_data") |
||||
@Api(value = "首页开单数据",tags = "首页开单数据") |
||||
public class BillDataController { |
||||
|
||||
private BillingService billingService; |
||||
|
||||
/** |
||||
* 获取开单数据 |
||||
* @return |
||||
*/ |
||||
@GetMapping("/bill_data") |
||||
@ApiOperation(value = "",tags = "") |
||||
public BillingDataVo billData(){ |
||||
return billingService.BillData(); |
||||
} |
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
} |
@ -0,0 +1,100 @@
|
||||
package com.logpm.warehouse.excel; |
||||
|
||||
import com.alibaba.excel.annotation.ExcelProperty; |
||||
import com.alibaba.excel.annotation.write.style.ColumnWidth; |
||||
import com.alibaba.excel.annotation.write.style.ContentRowHeight; |
||||
import com.alibaba.excel.annotation.write.style.HeadRowHeight; |
||||
import lombok.Data; |
||||
|
||||
import java.io.Serializable; |
||||
|
||||
@Data |
||||
@ColumnWidth(25) |
||||
@HeadRowHeight(20) |
||||
@ContentRowHeight(18) |
||||
public class TaskQueryDataExcel implements Serializable { |
||||
|
||||
|
||||
|
||||
/** |
||||
* 订单自编号 |
||||
*/ |
||||
@ColumnWidth(20) |
||||
@ExcelProperty("商场名称") |
||||
private String marketName; |
||||
/** |
||||
* 订单自编号 |
||||
*/ |
||||
@ColumnWidth(20) |
||||
@ExcelProperty("订单自编号") |
||||
private String orderCode; |
||||
|
||||
|
||||
@ColumnWidth(20) |
||||
@ExcelProperty("包条码") |
||||
private String orderPackageCode; |
||||
|
||||
|
||||
@ColumnWidth(20) |
||||
@ExcelProperty("品类") |
||||
private String questTarget; |
||||
|
||||
@ColumnWidth(20) |
||||
@ExcelProperty("盘点状态") |
||||
private String questStatus; |
||||
|
||||
|
||||
@ColumnWidth(20) |
||||
@ExcelProperty("货位") |
||||
private String positionCode; |
||||
|
||||
@ColumnWidth(20) |
||||
@ExcelProperty("物料名称") |
||||
private String materialName; |
||||
|
||||
@ColumnWidth(20) |
||||
@ExcelProperty("数量") |
||||
private String stockNum; |
||||
|
||||
|
||||
@ColumnWidth(20) |
||||
@ExcelProperty("托盘名称") |
||||
private String trayName; |
||||
|
||||
/** |
||||
* 一级名称 |
||||
*/ |
||||
@ColumnWidth(20) |
||||
@ExcelProperty("一级名称") |
||||
private String oneProduct; |
||||
/** |
||||
* 二级名称 |
||||
*/ |
||||
@ColumnWidth(20) |
||||
@ExcelProperty("二级名称") |
||||
private String twoProduct; |
||||
/** |
||||
* 三级名称 |
||||
*/ |
||||
@ColumnWidth(20) |
||||
@ExcelProperty("三级名称") |
||||
private String thirdProduct; |
||||
|
||||
/** |
||||
* 产品名称 |
||||
*/ |
||||
@ColumnWidth(20) |
||||
@ExcelProperty("产品名称") |
||||
private String categoryName; |
||||
|
||||
/** |
||||
* 物料编码 |
||||
*/ |
||||
@ColumnWidth(20) |
||||
@ExcelProperty("物料编码") |
||||
private String materialCode; |
||||
|
||||
@ColumnWidth(20) |
||||
@ExcelProperty("品牌名称") |
||||
private String brandName; |
||||
} |
Loading…
Reference in new issue