ty
4 months ago
18 changed files with 523 additions and 25 deletions
@ -0,0 +1,42 @@
|
||||
package com.hnac.hzims.spare.vo; |
||||
|
||||
import com.alibaba.excel.annotation.ExcelIgnoreUnannotated; |
||||
import com.alibaba.excel.annotation.ExcelProperty; |
||||
import io.swagger.annotations.ApiModelProperty; |
||||
import lombok.Data; |
||||
|
||||
import java.util.Date; |
||||
|
||||
/** |
||||
* 入库单导出VO类 |
||||
* |
||||
* @author liwen |
||||
*/ |
||||
@Data |
||||
@ExcelIgnoreUnannotated |
||||
public class SpWarehouseInExportVO { |
||||
|
||||
@ExcelProperty(value = "单据号", index = 0) |
||||
@ApiModelProperty(value = "单据号") |
||||
private String code; |
||||
|
||||
@ExcelProperty(value = "仓库名称", index = 1) |
||||
@ApiModelProperty(value = "仓库名称") |
||||
private String warehouseName; |
||||
|
||||
@ApiModelProperty(value = "入库类型") |
||||
private Long type; |
||||
|
||||
@ExcelProperty(value = "入库类型名", index = 2) |
||||
@ApiModelProperty(value = "入库类型名") |
||||
private String typeName; |
||||
|
||||
|
||||
@ExcelProperty(value = "入库人", index = 3) |
||||
@ApiModelProperty(value = "入库人") |
||||
private String userName; |
||||
|
||||
@ExcelProperty(value = "创建时间", index = 4) |
||||
@ApiModelProperty(value = "创建时间") |
||||
private Date createTime; |
||||
} |
@ -0,0 +1,32 @@
|
||||
package com.hnac.hzims.spare.dto; |
||||
|
||||
import com.hnac.hzinfo.api.annotation.ApiInterface; |
||||
import io.swagger.annotations.ApiModel; |
||||
import io.swagger.annotations.ApiModelProperty; |
||||
import lombok.Data; |
||||
import lombok.EqualsAndHashCode; |
||||
|
||||
import java.io.Serializable; |
||||
|
||||
/** |
||||
* @Author: huangxing |
||||
* @Date: 2024/08/05 18:48 |
||||
*/ |
||||
@Data |
||||
@ApiModel(value = "工具台账查询DTO",description = "工具台账查询DTO") |
||||
@EqualsAndHashCode |
||||
public class WtSpBasicDto implements Serializable { |
||||
|
||||
@ApiModelProperty(value = "仓库ID") |
||||
private Long warehouseId; |
||||
|
||||
@ApiModelProperty(value = "工具名称") |
||||
private String nameQuery; |
||||
|
||||
@ApiModelProperty(value = "制单时间查询开始时间") |
||||
private String startDate; |
||||
|
||||
@ApiModelProperty(value = "制单时间查询结束时间") |
||||
private String endDate; |
||||
|
||||
} |
@ -0,0 +1,36 @@
|
||||
package com.hnac.hzims.spare.vo; |
||||
|
||||
import com.alibaba.excel.annotation.ExcelProperty; |
||||
import io.swagger.annotations.ApiModelProperty; |
||||
import lombok.Data; |
||||
import lombok.EqualsAndHashCode; |
||||
|
||||
import java.io.Serializable; |
||||
|
||||
/** |
||||
* @Author: huangxing |
||||
* @Date: 2024/08/05 19:44 |
||||
*/ |
||||
@Data |
||||
@EqualsAndHashCode |
||||
public class WtSpBasicExportVO implements Serializable { |
||||
|
||||
@ExcelProperty(value = "物品编码",index = 0) |
||||
@ApiModelProperty(value = "编码") |
||||
private String code; |
||||
|
||||
@ExcelProperty(value = "工具名称",index = 1 ) |
||||
@ApiModelProperty(value = "名称") |
||||
private String name; |
||||
|
||||
@ExcelProperty(value = "规格/型号",index = 2 ) |
||||
@ApiModelProperty(value = "规格") |
||||
private String specifications; |
||||
|
||||
@ExcelProperty(value = "单位",index = 3) |
||||
@ApiModelProperty(value = "单位") |
||||
private String unit; |
||||
|
||||
|
||||
|
||||
} |
@ -0,0 +1,83 @@
|
||||
package com.hnac.hzims.spare.vo; |
||||
|
||||
import com.alibaba.excel.annotation.ExcelProperty; |
||||
import com.alibaba.excel.annotation.write.style.ColumnWidth; |
||||
import io.swagger.annotations.ApiModelProperty; |
||||
import lombok.Data; |
||||
import lombok.EqualsAndHashCode; |
||||
|
||||
import java.io.Serializable; |
||||
|
||||
/** |
||||
* @Author: huangxing |
||||
* @Date: 2024/08/05 20:50 |
||||
*/ |
||||
@Data |
||||
@EqualsAndHashCode |
||||
public class WtSpToolBasicExportVO implements Serializable { |
||||
/** |
||||
* 名称 |
||||
*/ |
||||
@ApiModelProperty(value = "名称") |
||||
@ExcelProperty(value = "工具名称",index = 1) |
||||
@ColumnWidth(15) |
||||
private String name; |
||||
/** |
||||
* 编码 |
||||
*/ |
||||
@ApiModelProperty(value = "编码") |
||||
@ExcelProperty(value = "工具台账",index = 0) |
||||
@ColumnWidth(15) |
||||
private String code; |
||||
/** |
||||
* 规格 |
||||
*/ |
||||
@ApiModelProperty(value = "规格") |
||||
@ExcelProperty(value = "规格/型号",index = 2) |
||||
@ColumnWidth(20) |
||||
private String specifications; |
||||
/** |
||||
* 单位 |
||||
*/ |
||||
@ApiModelProperty(value = "单位") |
||||
@ExcelProperty(value = "单位",index = 3) |
||||
private String unit; |
||||
/** |
||||
* 总数量 |
||||
*/ |
||||
@ApiModelProperty(value = "总数量") |
||||
@ExcelProperty(value = "总数量",index = 4) |
||||
private Long totalAmount; |
||||
/** |
||||
* 在库数量 |
||||
*/ |
||||
@ApiModelProperty(value = "在库数量") |
||||
@ExcelProperty(value = "在库数量",index = 5) |
||||
@ColumnWidth(15) |
||||
private Integer notUseAmount; |
||||
/** |
||||
* 已领数量 |
||||
*/ |
||||
@ApiModelProperty(value = "已领数量") |
||||
@ColumnWidth(15) |
||||
@ExcelProperty(value = "已领数量",index = 6) |
||||
private Integer useAmount; |
||||
/** |
||||
* 所属仓库 |
||||
*/ |
||||
@ApiModelProperty(value = "所属仓库") |
||||
@ExcelProperty(value = "仓库",index = 9) |
||||
@ColumnWidth(15) |
||||
private String warehouseName; |
||||
/** |
||||
* 入库人 |
||||
*/ |
||||
@ApiModelProperty(value = "入库人") |
||||
@ExcelProperty(value = "领用人",index = 8) |
||||
private String userName; |
||||
|
||||
@ApiModelProperty(value = "最近领用时间") |
||||
@ExcelProperty(value = "最近领用时间",index = 7) |
||||
@ColumnWidth(20) |
||||
private String lastNeckTime; |
||||
} |
Loading…
Reference in new issue