forked from sfms3.0/sfms3.0
107 changed files with 4036 additions and 757 deletions
@ -1,14 +0,0 @@ |
|||
package com.win.module.wms.enums.location; |
|||
|
|||
import com.win.framework.common.exception.ErrorCode; |
|||
|
|||
/** |
|||
* System 错误码枚举类 |
|||
* |
|||
* system 系统,使用 1-002-000-000 段 |
|||
*/ |
|||
public interface ErrorCodeConstants { |
|||
|
|||
ErrorCode LOCATION_NOT_EXISTS = new ErrorCode(1_037_000_000, "库位不存在"); |
|||
|
|||
} |
@ -1,14 +0,0 @@ |
|||
package com.win.module.wms.enums.locationgroup; |
|||
|
|||
import com.win.framework.common.exception.ErrorCode; |
|||
|
|||
/** |
|||
* System 错误码枚举类 |
|||
* |
|||
* system 系统,使用 1-002-000-000 段 |
|||
*/ |
|||
public interface ErrorCodeConstants { |
|||
|
|||
ErrorCode LOCATIONGROUP_NOT_EXISTS = new ErrorCode(1_036_000_000, "库位组不存在"); |
|||
|
|||
} |
@ -1,14 +0,0 @@ |
|||
package com.win.module.wms.enums.process; |
|||
|
|||
import com.win.framework.common.exception.ErrorCode; |
|||
|
|||
/** |
|||
* System 错误码枚举类 |
|||
* |
|||
* system 系统,使用 1-002-000-000 段 |
|||
*/ |
|||
public interface ErrorCodeConstants { |
|||
|
|||
ErrorCode PROCESS_NOT_EXISTS = new ErrorCode(1_041_000_000, "工序不存在"); |
|||
|
|||
} |
@ -1,14 +0,0 @@ |
|||
package com.win.module.wms.enums.productionline; |
|||
|
|||
import com.win.framework.common.exception.ErrorCode; |
|||
|
|||
/** |
|||
* System 错误码枚举类 |
|||
* |
|||
* system 系统,使用 1-002-000-000 段 |
|||
*/ |
|||
public interface ErrorCodeConstants { |
|||
|
|||
ErrorCode PRODUCTIONLINE_NOT_EXISTS = new ErrorCode(1_039_000_000, "生产线不存在"); |
|||
|
|||
} |
@ -1,14 +0,0 @@ |
|||
package com.win.module.wms.enums.productionlineitem; |
|||
|
|||
import com.win.framework.common.exception.ErrorCode; |
|||
|
|||
/** |
|||
* System 错误码枚举类 |
|||
* |
|||
* system 系统,使用 1-002-000-000 段 |
|||
*/ |
|||
public interface ErrorCodeConstants { |
|||
|
|||
ErrorCode PRODUCTIONLINEITEM_NOT_EXISTS = new ErrorCode(1_024_000_000, "生产线物料关系不存在"); |
|||
|
|||
} |
@ -1,14 +0,0 @@ |
|||
package com.win.module.wms.enums.project; |
|||
|
|||
import com.win.framework.common.exception.ErrorCode; |
|||
|
|||
/** |
|||
* System 错误码枚举类 |
|||
* |
|||
* system 系统,使用 1-002-000-000 段 |
|||
*/ |
|||
public interface ErrorCodeConstants { |
|||
|
|||
ErrorCode PROJECT_NOT_EXISTS = new ErrorCode(1_031_000_000, "项目不存在"); |
|||
|
|||
} |
@ -1,14 +0,0 @@ |
|||
package com.win.module.wms.enums.purchaseprice; |
|||
|
|||
import com.win.framework.common.exception.ErrorCode; |
|||
|
|||
/** |
|||
* System 错误码枚举类 |
|||
* |
|||
* system 系统,使用 1-002-000-000 段 |
|||
*/ |
|||
public interface ErrorCodeConstants { |
|||
|
|||
ErrorCode PURCHASEPRICE_NOT_EXISTS = new ErrorCode(1_027_000_000, "采购价格单不存在"); |
|||
|
|||
} |
@ -0,0 +1,78 @@ |
|||
package com.win.module.wms.controller.customeritem.vo; |
|||
|
|||
import com.alibaba.excel.annotation.ExcelProperty; |
|||
import com.alibaba.excel.annotation.write.style.ColumnWidth; |
|||
import com.win.framework.excel.core.annotations.DictFormat; |
|||
import com.win.framework.excel.core.convert.DictConvert; |
|||
import com.win.module.wms.enums.DictTypeConstants; |
|||
import lombok.AllArgsConstructor; |
|||
import lombok.Builder; |
|||
import lombok.Data; |
|||
import lombok.NoArgsConstructor; |
|||
import lombok.experimental.Accessors; |
|||
|
|||
import java.math.BigDecimal; |
|||
import java.time.LocalDateTime; |
|||
|
|||
@Data |
|||
@Builder |
|||
@AllArgsConstructor |
|||
@NoArgsConstructor |
|||
@Accessors(chain = false) // 设置 chain = false,避免用户导入有问题
|
|||
public class CustomeritemImportExcelVO { |
|||
|
|||
@ExcelProperty("客户代码") |
|||
private String customerCode; |
|||
|
|||
@ExcelProperty("物料代码") |
|||
private String itemCode; |
|||
|
|||
@ExcelProperty("客户物料代码") |
|||
private String customerItemCode; |
|||
|
|||
@ExcelProperty(value = "客户计量单位", converter = DictConvert.class) |
|||
@DictFormat(DictTypeConstants.UOM) |
|||
private String cusotmerUom; |
|||
|
|||
@ExcelProperty("转换率") |
|||
private String convertRate; |
|||
|
|||
@ExcelProperty(value = "客户包装单位", converter = DictConvert.class) |
|||
@DictFormat(DictTypeConstants.PACK_UNIT) |
|||
private String packUnit; |
|||
|
|||
@ExcelProperty("客户包装量") |
|||
private BigDecimal packQty; |
|||
|
|||
@ExcelProperty(value = "客户替代包装单位", converter = DictConvert.class) |
|||
@DictFormat(DictTypeConstants.PACK_UNIT) |
|||
private String altPackUnit; |
|||
|
|||
@ExcelProperty("客户替代包装量") |
|||
private String altPackQty; |
|||
|
|||
@ExcelProperty("每器具包装数") |
|||
private Integer packQtyOfContainer; |
|||
|
|||
@ExcelProperty(value = "是否可用", converter = DictConvert.class) |
|||
@DictFormat(DictTypeConstants.TRUE_FALSE) |
|||
private String available; |
|||
|
|||
@ExcelProperty(value = "生效时间") |
|||
@ColumnWidth(value = 16) |
|||
private LocalDateTime activeTime; |
|||
|
|||
@ExcelProperty(value = "失效时间") |
|||
@ColumnWidth(value = 16) |
|||
private LocalDateTime expireTime; |
|||
|
|||
@ExcelProperty(value = "备注") |
|||
private String remark; |
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
} |
@ -0,0 +1,75 @@ |
|||
package com.win.module.wms.controller.dock.vo; |
|||
|
|||
import com.alibaba.excel.annotation.ExcelProperty; |
|||
import com.alibaba.excel.annotation.write.style.ColumnWidth; |
|||
import com.win.framework.excel.core.annotations.DictFormat; |
|||
import com.win.framework.excel.core.convert.DictConvert; |
|||
import com.win.module.wms.enums.DictTypeConstants; |
|||
import lombok.AllArgsConstructor; |
|||
import lombok.Builder; |
|||
import lombok.Data; |
|||
import lombok.NoArgsConstructor; |
|||
import lombok.experimental.Accessors; |
|||
|
|||
import java.time.LocalDateTime; |
|||
|
|||
@Data |
|||
@Builder |
|||
@AllArgsConstructor |
|||
@NoArgsConstructor |
|||
@Accessors(chain = false) // 设置 chain = false,避免用户导入有问题
|
|||
public class DockImportExcelVO { |
|||
|
|||
@ExcelProperty("代码") |
|||
private String code; |
|||
|
|||
@ExcelProperty("名称") |
|||
private String name; |
|||
|
|||
@ExcelProperty("描述") |
|||
private String description; |
|||
|
|||
@ExcelProperty("城市") |
|||
private String city; |
|||
|
|||
@ExcelProperty("地址") |
|||
private String address; |
|||
|
|||
@ExcelProperty(value = "类型", converter = DictConvert.class) |
|||
@DictFormat(DictTypeConstants.DOCK_TYPE) |
|||
private String type; |
|||
|
|||
@ExcelProperty("仓库代码") |
|||
private String warehouseCode; |
|||
|
|||
@ExcelProperty("默认库位代码") |
|||
private String defaultLocationCode; |
|||
|
|||
@ExcelProperty("联系人姓名") |
|||
private String contactPerson; |
|||
|
|||
@ExcelProperty("联系人电话") |
|||
private String contactPhone; |
|||
|
|||
@ExcelProperty(value = "是否可用", converter = DictConvert.class) |
|||
@DictFormat(DictTypeConstants.TRUE_FALSE) |
|||
private String available; |
|||
|
|||
@ExcelProperty(value = "生效时间") |
|||
@ColumnWidth(value = 16) |
|||
private LocalDateTime activeTime; |
|||
|
|||
@ExcelProperty(value = "失效时间") |
|||
@ColumnWidth(value = 16) |
|||
private LocalDateTime expireTime; |
|||
|
|||
@ExcelProperty(value = "备注") |
|||
private String remark; |
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
} |
@ -0,0 +1,69 @@ |
|||
package com.win.module.wms.controller.documentsetting.vo; |
|||
|
|||
import com.alibaba.excel.annotation.ExcelProperty; |
|||
import com.alibaba.excel.annotation.write.style.ColumnWidth; |
|||
import com.win.framework.excel.core.annotations.DictFormat; |
|||
import com.win.framework.excel.core.convert.DictConvert; |
|||
import com.win.module.wms.enums.DictTypeConstants; |
|||
import lombok.AllArgsConstructor; |
|||
import lombok.Builder; |
|||
import lombok.Data; |
|||
import lombok.NoArgsConstructor; |
|||
import lombok.experimental.Accessors; |
|||
|
|||
import java.time.LocalDateTime; |
|||
|
|||
@Data |
|||
@Builder |
|||
@AllArgsConstructor |
|||
@NoArgsConstructor |
|||
@Accessors(chain = false) // 设置 chain = false,避免用户导入有问题
|
|||
public class DocumentsettingImportExcelVO { |
|||
|
|||
@ExcelProperty("代码") |
|||
private String code; |
|||
|
|||
@ExcelProperty("名称") |
|||
private String name; |
|||
|
|||
@ExcelProperty("描述") |
|||
private String description; |
|||
|
|||
@ExcelProperty(value = "单据类型", converter = DictConvert.class) |
|||
@DictFormat(DictTypeConstants.DOCUMENT_TYPE) |
|||
private String type; |
|||
|
|||
@ExcelProperty("业务类型") |
|||
// TODO 可能是字典 有带商榷
|
|||
private String businessType; |
|||
|
|||
@ExcelProperty("号码前缀") |
|||
private String numberPrefix; |
|||
|
|||
@ExcelProperty("号码时间格式") |
|||
private String dateFormat; |
|||
|
|||
@ExcelProperty("号码流水长度") |
|||
private Integer serialLength; |
|||
|
|||
@ExcelProperty("号码分隔符") |
|||
private String separatorStr; |
|||
|
|||
@ExcelProperty("流水重置周期") |
|||
private String resetPeriod; |
|||
|
|||
@ExcelProperty(value = "是否可用", converter = DictConvert.class) |
|||
@DictFormat(DictTypeConstants.TRUE_FALSE) |
|||
private String available; |
|||
|
|||
@ExcelProperty(value = "生效时间") |
|||
@ColumnWidth(value = 16) |
|||
private LocalDateTime activeTime; |
|||
|
|||
@ExcelProperty(value = "失效时间") |
|||
@ColumnWidth(value = 16) |
|||
private LocalDateTime expireTime; |
|||
|
|||
@ExcelProperty(value = "备注") |
|||
private String remark; |
|||
} |
@ -0,0 +1,83 @@ |
|||
package com.win.module.wms.controller.itempackaging.vo; |
|||
|
|||
import com.alibaba.excel.annotation.ExcelProperty; |
|||
import com.alibaba.excel.annotation.write.style.ColumnWidth; |
|||
import com.win.framework.excel.core.annotations.DictFormat; |
|||
import com.win.framework.excel.core.convert.DictConvert; |
|||
import com.win.module.wms.enums.DictTypeConstants; |
|||
import lombok.AllArgsConstructor; |
|||
import lombok.Builder; |
|||
import lombok.Data; |
|||
import lombok.NoArgsConstructor; |
|||
import lombok.experimental.Accessors; |
|||
|
|||
import java.math.BigDecimal; |
|||
import java.time.LocalDateTime; |
|||
|
|||
@Data |
|||
@Builder |
|||
@AllArgsConstructor |
|||
@NoArgsConstructor |
|||
@Accessors(chain = false) // 设置 chain = false,避免用户导入有问题
|
|||
public class ItempackagingImportExcelVO { |
|||
|
|||
@ExcelProperty("物品代码") |
|||
private String itemCode; |
|||
|
|||
@ExcelProperty(value = "计量单位", converter = DictConvert.class) |
|||
@DictFormat(DictTypeConstants.UOM) |
|||
private String uom; |
|||
|
|||
@ExcelProperty(value = "包装单位", converter = DictConvert.class) |
|||
@DictFormat(DictTypeConstants.UOM) |
|||
private String description; |
|||
|
|||
@ExcelProperty("包装单位") |
|||
private String stdPackUnit; |
|||
|
|||
@ExcelProperty("包装数量") |
|||
private BigDecimal stdPackQty; |
|||
|
|||
@ExcelProperty(value = "替代包装单位", converter = DictConvert.class) |
|||
@DictFormat(DictTypeConstants.UOM) |
|||
private String altPackUnit1; |
|||
|
|||
@ExcelProperty("替代包装量") |
|||
private String altPackQty1; |
|||
|
|||
@ExcelProperty(value = "替代包装单位", converter = DictConvert.class) |
|||
@DictFormat(DictTypeConstants.UOM) |
|||
private String altPackUnit2; |
|||
|
|||
@ExcelProperty("替代包装量") |
|||
private String altPackQty2; |
|||
|
|||
@ExcelProperty(value = "替代包装单位", converter = DictConvert.class) |
|||
@DictFormat(DictTypeConstants.UOM) |
|||
private String altPackUnit3; |
|||
|
|||
@ExcelProperty("替代包装量") |
|||
private String altPackQty3; |
|||
|
|||
@ExcelProperty(value = "替代包装单位", converter = DictConvert.class) |
|||
@DictFormat(DictTypeConstants.UOM) |
|||
private String altPackUnit4; |
|||
|
|||
@ExcelProperty("替代包装量") |
|||
private String altPackQty4; |
|||
|
|||
@ExcelProperty(value = "是否可用", converter = DictConvert.class) |
|||
@DictFormat(DictTypeConstants.TRUE_FALSE) |
|||
private String available; |
|||
|
|||
@ExcelProperty(value = "生效时间") |
|||
@ColumnWidth(value = 16) |
|||
private LocalDateTime activeTime; |
|||
|
|||
@ExcelProperty(value = "失效时间") |
|||
@ColumnWidth(value = 16) |
|||
private LocalDateTime expireTime; |
|||
|
|||
@ExcelProperty(value = "备注") |
|||
private String remark; |
|||
} |
@ -0,0 +1,83 @@ |
|||
package com.win.module.wms.controller.jobsetting.vo; |
|||
|
|||
import com.alibaba.excel.annotation.ExcelProperty; |
|||
import com.alibaba.excel.annotation.write.style.ColumnWidth; |
|||
import com.win.framework.excel.core.annotations.DictFormat; |
|||
import com.win.framework.excel.core.convert.DictConvert; |
|||
import com.win.module.wms.enums.DictTypeConstants; |
|||
import lombok.AllArgsConstructor; |
|||
import lombok.Builder; |
|||
import lombok.Data; |
|||
import lombok.NoArgsConstructor; |
|||
import lombok.experimental.Accessors; |
|||
|
|||
import java.time.LocalDateTime; |
|||
|
|||
@Data |
|||
@Builder |
|||
@AllArgsConstructor |
|||
@NoArgsConstructor |
|||
@Accessors(chain = false) // 设置 chain = false,避免用户导入有问题
|
|||
public class JobsettingImportExcelVO { |
|||
|
|||
@ExcelProperty("代码") |
|||
private String code; |
|||
|
|||
@ExcelProperty("有效分钟") |
|||
private Integer validMinutes; |
|||
|
|||
@ExcelProperty(value = "自动完成", converter = DictConvert.class) |
|||
@DictFormat(DictTypeConstants.TRUE_FALSE) |
|||
private String autoComplete; |
|||
|
|||
@ExcelProperty(value = "允许修改库位", converter = DictConvert.class) |
|||
@DictFormat(DictTypeConstants.TRUE_FALSE) |
|||
private String allowModifyLocation; |
|||
|
|||
@ExcelProperty(value = "允许修改数量", converter = DictConvert.class) |
|||
@DictFormat(DictTypeConstants.TRUE_FALSE) |
|||
private String allowModifyQty; |
|||
|
|||
@ExcelProperty(value = "允许大于推荐数量", converter = DictConvert.class) |
|||
@DictFormat(DictTypeConstants.TRUE_FALSE) |
|||
private String allowBiggerQty; |
|||
|
|||
@ExcelProperty(value = "允许小于推荐数量", converter = DictConvert.class) |
|||
@DictFormat(DictTypeConstants.TRUE_FALSE) |
|||
private String allowSmallerQty; |
|||
|
|||
@ExcelProperty(value = "允许修改库存状态", converter = DictConvert.class) |
|||
@DictFormat(DictTypeConstants.TRUE_FALSE) |
|||
private String allowModifyInventoryStatus; |
|||
|
|||
@ExcelProperty(value = "允许连续扫描", converter = DictConvert.class) |
|||
@DictFormat(DictTypeConstants.TRUE_FALSE) |
|||
private String allowContinuousScanning; |
|||
|
|||
@ExcelProperty(value = "允许部分完成", converter = DictConvert.class) |
|||
@DictFormat(DictTypeConstants.TRUE_FALSE) |
|||
private String allowPartialComplete; |
|||
|
|||
@ExcelProperty(value = "允许修改批次", converter = DictConvert.class) |
|||
@DictFormat(DictTypeConstants.TRUE_FALSE) |
|||
private String allowModifyBach; |
|||
|
|||
@ExcelProperty(value = "允许修改包装号", converter = DictConvert.class) |
|||
@DictFormat(DictTypeConstants.TRUE_FALSE) |
|||
private String allowModifyPackingNumber; |
|||
|
|||
@ExcelProperty(value = "是否可用", converter = DictConvert.class) |
|||
@DictFormat(DictTypeConstants.TRUE_FALSE) |
|||
private String available; |
|||
|
|||
@ExcelProperty(value = "生效时间") |
|||
@ColumnWidth(value = 16) |
|||
private LocalDateTime activeTime; |
|||
|
|||
@ExcelProperty(value = "失效时间") |
|||
@ColumnWidth(value = 16) |
|||
private LocalDateTime expireTime; |
|||
|
|||
@ExcelProperty(value = "备注") |
|||
private String remark; |
|||
} |
@ -0,0 +1,89 @@ |
|||
package com.win.module.wms.controller.location.vo; |
|||
|
|||
import com.alibaba.excel.annotation.ExcelProperty; |
|||
import com.alibaba.excel.annotation.write.style.ColumnWidth; |
|||
import com.win.framework.excel.core.annotations.DictFormat; |
|||
import com.win.framework.excel.core.convert.DictConvert; |
|||
import com.win.module.wms.enums.DictTypeConstants; |
|||
import lombok.AllArgsConstructor; |
|||
import lombok.Builder; |
|||
import lombok.Data; |
|||
import lombok.NoArgsConstructor; |
|||
import lombok.experimental.Accessors; |
|||
|
|||
import java.time.LocalDateTime; |
|||
|
|||
@Data |
|||
@Builder |
|||
@AllArgsConstructor |
|||
@NoArgsConstructor |
|||
@Accessors(chain = false) // 设置 chain = false,避免用户导入有问题
|
|||
public class LocationImportExcelVO { |
|||
|
|||
@ExcelProperty("代码") |
|||
private String code; |
|||
|
|||
@ExcelProperty("名称") |
|||
private String name; |
|||
|
|||
@ExcelProperty("描述") |
|||
private String description; |
|||
|
|||
@ExcelProperty("仓库代码") |
|||
private String warehouseCode; |
|||
|
|||
@ExcelProperty("区域代码") |
|||
private String areaCode; |
|||
|
|||
@ExcelProperty("库位组代码") |
|||
private String locationGroupCode; |
|||
|
|||
@ExcelProperty("ERP库位代码") |
|||
private String erpLocationCode; |
|||
|
|||
@ExcelProperty(value = "类型", converter = DictConvert.class) |
|||
@DictFormat(DictTypeConstants.LOCATION_TYPE) |
|||
private String type; |
|||
|
|||
@ExcelProperty("巷道") |
|||
private String aisle; |
|||
|
|||
@ExcelProperty("货架") |
|||
private String shelf; |
|||
|
|||
@ExcelProperty("行") |
|||
private String locationRow; |
|||
|
|||
@ExcelProperty("列") |
|||
private String locationColum; |
|||
|
|||
@ExcelProperty("拣料优先级") |
|||
private Integer pickPriority; |
|||
|
|||
@ExcelProperty("最大承重") |
|||
private String maxWeight; |
|||
|
|||
@ExcelProperty("最大面积") |
|||
private String maxArea; |
|||
|
|||
@ExcelProperty("最大体积") |
|||
private String maxVolume; |
|||
|
|||
@ExcelProperty("用户组代码") |
|||
private String userGroupCode; |
|||
|
|||
@ExcelProperty(value = "是否可用", converter = DictConvert.class) |
|||
@DictFormat(DictTypeConstants.LOCATION_TYPE) |
|||
private String available; |
|||
|
|||
@ExcelProperty(value = "生效时间") |
|||
@ColumnWidth(value = 16) |
|||
private LocalDateTime activeTime; |
|||
|
|||
@ExcelProperty(value = "失效时间") |
|||
@ColumnWidth(value = 16) |
|||
private LocalDateTime expireTime; |
|||
|
|||
@ExcelProperty(value = "备注") |
|||
private String remark; |
|||
} |
@ -0,0 +1,52 @@ |
|||
package com.win.module.wms.controller.locationgroup.vo; |
|||
|
|||
import com.alibaba.excel.annotation.ExcelProperty; |
|||
import com.alibaba.excel.annotation.write.style.ColumnWidth; |
|||
import com.win.framework.excel.core.annotations.DictFormat; |
|||
import com.win.framework.excel.core.convert.DictConvert; |
|||
import com.win.module.wms.enums.DictTypeConstants; |
|||
import lombok.AllArgsConstructor; |
|||
import lombok.Builder; |
|||
import lombok.Data; |
|||
import lombok.NoArgsConstructor; |
|||
import lombok.experimental.Accessors; |
|||
|
|||
import java.time.LocalDateTime; |
|||
|
|||
@Data |
|||
@Builder |
|||
@AllArgsConstructor |
|||
@NoArgsConstructor |
|||
@Accessors(chain = false) // 设置 chain = false,避免用户导入有问题
|
|||
public class LocationGroupImportExcelVO { |
|||
|
|||
@ExcelProperty("代码") |
|||
private String code; |
|||
|
|||
@ExcelProperty("名称") |
|||
private String name; |
|||
|
|||
@ExcelProperty("描述") |
|||
private String description; |
|||
|
|||
@ExcelProperty("仓库代码") |
|||
private String warehouseCode; |
|||
|
|||
@ExcelProperty("区域代码") |
|||
private String areaCode; |
|||
|
|||
@ExcelProperty(value = "是否可用", converter = DictConvert.class) |
|||
@DictFormat(DictTypeConstants.LOCATION_TYPE) |
|||
private String available; |
|||
|
|||
@ExcelProperty(value = "生效时间") |
|||
@ColumnWidth(value = 16) |
|||
private LocalDateTime activeTime; |
|||
|
|||
@ExcelProperty(value = "失效时间") |
|||
@ColumnWidth(value = 16) |
|||
private LocalDateTime expireTime; |
|||
|
|||
@ExcelProperty(value = "备注") |
|||
private String remark; |
|||
} |
@ -0,0 +1,82 @@ |
|||
package com.win.module.wms.controller.owner.vo; |
|||
|
|||
import com.alibaba.excel.annotation.ExcelProperty; |
|||
import com.alibaba.excel.annotation.write.style.ColumnWidth; |
|||
import com.win.framework.excel.core.annotations.DictFormat; |
|||
import com.win.framework.excel.core.convert.DictConvert; |
|||
import com.win.module.wms.enums.DictTypeConstants; |
|||
import lombok.AllArgsConstructor; |
|||
import lombok.Builder; |
|||
import lombok.Data; |
|||
import lombok.NoArgsConstructor; |
|||
import lombok.experimental.Accessors; |
|||
|
|||
import java.math.BigDecimal; |
|||
import java.time.LocalDateTime; |
|||
|
|||
@Data |
|||
@Builder |
|||
@AllArgsConstructor |
|||
@NoArgsConstructor |
|||
@Accessors(chain = false) // 设置 chain = false,避免用户导入有问题
|
|||
public class OwnerImportExcelVO { |
|||
|
|||
@ExcelProperty("代码") |
|||
private String code; |
|||
|
|||
@ExcelProperty("名称") |
|||
private String name; |
|||
|
|||
@ExcelProperty("简称") |
|||
private String shortName; |
|||
|
|||
@ExcelProperty("地址") |
|||
private String address; |
|||
|
|||
@ExcelProperty("国家") |
|||
private String country; |
|||
|
|||
@ExcelProperty("城市") |
|||
private String city; |
|||
|
|||
@ExcelProperty("电话") |
|||
private String phone; |
|||
|
|||
@ExcelProperty("传真") |
|||
private String fax; |
|||
|
|||
@ExcelProperty("邮编") |
|||
private String postId; |
|||
|
|||
@ExcelProperty("联系人") |
|||
private String contacts; |
|||
|
|||
@ExcelProperty("银行") |
|||
private String bank; |
|||
|
|||
@ExcelProperty(value = "币种", converter = DictConvert.class) |
|||
@DictFormat(DictTypeConstants.CURRENCY) |
|||
private String currency; |
|||
|
|||
@ExcelProperty("税率") |
|||
private BigDecimal taxRate; |
|||
|
|||
@ExcelProperty(value = "类型", converter = DictConvert.class) |
|||
@DictFormat(DictTypeConstants.OWNER_TYPE) |
|||
private String type; |
|||
|
|||
@ExcelProperty(value = "是否可用", converter = DictConvert.class) |
|||
@DictFormat(DictTypeConstants.TRUE_FALSE) |
|||
private String available; |
|||
|
|||
@ExcelProperty(value = "生效时间") |
|||
@ColumnWidth(value = 16) |
|||
private LocalDateTime activeTime; |
|||
|
|||
@ExcelProperty(value = "失效时间") |
|||
@ColumnWidth(value = 16) |
|||
private LocalDateTime expireTime; |
|||
|
|||
@ExcelProperty(value = "备注") |
|||
private String remark; |
|||
} |
@ -0,0 +1,50 @@ |
|||
package com.win.module.wms.controller.paramsetting.vo; |
|||
|
|||
import com.alibaba.excel.annotation.ExcelProperty; |
|||
import com.win.framework.excel.core.annotations.DictFormat; |
|||
import com.win.framework.excel.core.convert.DictConvert; |
|||
import com.win.module.wms.enums.DictTypeConstants; |
|||
import lombok.AllArgsConstructor; |
|||
import lombok.Builder; |
|||
import lombok.Data; |
|||
import lombok.NoArgsConstructor; |
|||
import lombok.experimental.Accessors; |
|||
|
|||
@Data |
|||
@Builder |
|||
@AllArgsConstructor |
|||
@NoArgsConstructor |
|||
@Accessors(chain = false) // 设置 chain = false,避免用户导入有问题
|
|||
public class ParamsettingImportExcelVO { |
|||
|
|||
@ExcelProperty("策略代码") |
|||
private String strategyType; |
|||
|
|||
@ExcelProperty("参数代码") |
|||
private String paramCode; |
|||
|
|||
@ExcelProperty("参数名称") |
|||
private String paramName; |
|||
|
|||
@ExcelProperty("可用操作符") |
|||
//TODO 可能是字典类但是没查到 需确认
|
|||
private String usableOpeartors; |
|||
|
|||
@ExcelProperty(value = "数据类型", converter = DictConvert.class) |
|||
@DictFormat(DictTypeConstants.DATA_TYPE) |
|||
private String dataType; |
|||
|
|||
@ExcelProperty("值范围") |
|||
private String valueScope; |
|||
|
|||
@ExcelProperty("关联到") |
|||
private String relatedTo; |
|||
|
|||
@ExcelProperty("描述") |
|||
private String description; |
|||
|
|||
@ExcelProperty(value = "必填", converter = DictConvert.class) |
|||
@DictFormat(DictTypeConstants.TRUE_FALSE) |
|||
private String isRequired; |
|||
|
|||
} |
@ -0,0 +1,57 @@ |
|||
package com.win.module.wms.controller.process.vo; |
|||
|
|||
import com.alibaba.excel.annotation.ExcelProperty; |
|||
import com.alibaba.excel.annotation.write.style.ColumnWidth; |
|||
import com.win.framework.excel.core.annotations.DictFormat; |
|||
import com.win.framework.excel.core.convert.DictConvert; |
|||
import com.win.module.wms.enums.DictTypeConstants; |
|||
import lombok.AllArgsConstructor; |
|||
import lombok.Builder; |
|||
import lombok.Data; |
|||
import lombok.NoArgsConstructor; |
|||
import lombok.experimental.Accessors; |
|||
|
|||
import java.time.LocalDateTime; |
|||
|
|||
@Data |
|||
@Builder |
|||
@AllArgsConstructor |
|||
@NoArgsConstructor |
|||
@Accessors(chain = false) // 设置 chain = false,避免用户导入有问题
|
|||
public class ProcessImportExcelVO { |
|||
|
|||
@ExcelProperty("代码") |
|||
private String code; |
|||
|
|||
@ExcelProperty("名称") |
|||
private String name; |
|||
|
|||
@ExcelProperty("描述") |
|||
private String description; |
|||
|
|||
@ExcelProperty(value = "类型", converter = DictConvert.class) |
|||
@DictFormat(DictTypeConstants.PROCESS_TYPE) |
|||
private String type; |
|||
|
|||
@ExcelProperty("车间代码") |
|||
private String workshopCode; |
|||
|
|||
@ExcelProperty("生产线代码") |
|||
private String productionLineCode; |
|||
|
|||
@ExcelProperty(value = "是否可用", converter = DictConvert.class) |
|||
@DictFormat(DictTypeConstants.TRUE_FALSE) |
|||
private String available; |
|||
|
|||
@ExcelProperty(value = "生效时间") |
|||
@ColumnWidth(value = 16) |
|||
private LocalDateTime activeTime; |
|||
|
|||
@ExcelProperty(value = "失效时间") |
|||
@ColumnWidth(value = 16) |
|||
private LocalDateTime expireTime; |
|||
|
|||
@ExcelProperty("备注") |
|||
private String remark; |
|||
|
|||
} |
@ -0,0 +1,60 @@ |
|||
package com.win.module.wms.controller.productionline.vo; |
|||
|
|||
import com.alibaba.excel.annotation.ExcelProperty; |
|||
import com.alibaba.excel.annotation.write.style.ColumnWidth; |
|||
import com.win.framework.excel.core.annotations.DictFormat; |
|||
import com.win.framework.excel.core.convert.DictConvert; |
|||
import com.win.module.wms.enums.DictTypeConstants; |
|||
import lombok.AllArgsConstructor; |
|||
import lombok.Builder; |
|||
import lombok.Data; |
|||
import lombok.NoArgsConstructor; |
|||
import lombok.experimental.Accessors; |
|||
|
|||
import java.time.LocalDateTime; |
|||
|
|||
@Data |
|||
@Builder |
|||
@AllArgsConstructor |
|||
@NoArgsConstructor |
|||
@Accessors(chain = false) // 设置 chain = false,避免用户导入有问题
|
|||
public class ProductionlineImportExcelVO { |
|||
|
|||
@ExcelProperty("代码") |
|||
private String code; |
|||
|
|||
@ExcelProperty("名称") |
|||
private String name; |
|||
|
|||
@ExcelProperty("描述") |
|||
private String description; |
|||
|
|||
@ExcelProperty(value = "类型", converter = DictConvert.class) |
|||
@DictFormat(DictTypeConstants.PROCESS_TYPE) |
|||
private String type; |
|||
|
|||
@ExcelProperty("车间代码") |
|||
private String workshopCode; |
|||
|
|||
@ExcelProperty("原料库位") |
|||
private String rawLocationCode; |
|||
|
|||
@ExcelProperty("成品库位") |
|||
private String fgLocationCode; |
|||
|
|||
@ExcelProperty(value = "是否可用", converter = DictConvert.class) |
|||
@DictFormat(DictTypeConstants.TRUE_FALSE) |
|||
private String available; |
|||
|
|||
@ExcelProperty(value = "生效时间") |
|||
@ColumnWidth(value = 16) |
|||
private LocalDateTime activeTime; |
|||
|
|||
@ExcelProperty(value = "失效时间") |
|||
@ColumnWidth(value = 16) |
|||
private LocalDateTime expireTime; |
|||
|
|||
@ExcelProperty("备注") |
|||
private String remark; |
|||
|
|||
} |
@ -0,0 +1,47 @@ |
|||
package com.win.module.wms.controller.productionlineitem.vo; |
|||
|
|||
import com.alibaba.excel.annotation.ExcelProperty; |
|||
import com.alibaba.excel.annotation.write.style.ColumnWidth; |
|||
import com.win.framework.excel.core.annotations.DictFormat; |
|||
import com.win.framework.excel.core.convert.DictConvert; |
|||
import com.win.module.wms.enums.DictTypeConstants; |
|||
import lombok.AllArgsConstructor; |
|||
import lombok.Builder; |
|||
import lombok.Data; |
|||
import lombok.NoArgsConstructor; |
|||
import lombok.experimental.Accessors; |
|||
|
|||
import java.time.LocalDateTime; |
|||
|
|||
@Data |
|||
@Builder |
|||
@AllArgsConstructor |
|||
@NoArgsConstructor |
|||
@Accessors(chain = false) // 设置 chain = false,避免用户导入有问题
|
|||
public class ProductionlineItemImportExcelVO { |
|||
|
|||
@ExcelProperty("完工收货库位") |
|||
private String fgLocationCode; |
|||
|
|||
@ExcelProperty("产线代码") |
|||
private String productionLineCode; |
|||
|
|||
@ExcelProperty("物品代码") |
|||
private String itemCode; |
|||
|
|||
@ExcelProperty(value = "是否可用", converter = DictConvert.class) |
|||
@DictFormat(DictTypeConstants.TRUE_FALSE) |
|||
private String available; |
|||
|
|||
@ExcelProperty(value = "生效时间") |
|||
@ColumnWidth(value = 16) |
|||
private LocalDateTime activeTime; |
|||
|
|||
@ExcelProperty(value = "失效时间") |
|||
@ColumnWidth(value = 16) |
|||
private LocalDateTime expireTime; |
|||
|
|||
@ExcelProperty("备注") |
|||
private String remark; |
|||
|
|||
} |
@ -0,0 +1,50 @@ |
|||
package com.win.module.wms.controller.project.vo; |
|||
|
|||
import com.alibaba.excel.annotation.ExcelProperty; |
|||
import com.alibaba.excel.annotation.write.style.ColumnWidth; |
|||
import com.win.framework.excel.core.annotations.DictFormat; |
|||
import com.win.framework.excel.core.convert.DictConvert; |
|||
import com.win.module.wms.enums.DictTypeConstants; |
|||
import lombok.AllArgsConstructor; |
|||
import lombok.Builder; |
|||
import lombok.Data; |
|||
import lombok.NoArgsConstructor; |
|||
import lombok.experimental.Accessors; |
|||
|
|||
import java.time.LocalDateTime; |
|||
|
|||
@Data |
|||
@Builder |
|||
@AllArgsConstructor |
|||
@NoArgsConstructor |
|||
@Accessors(chain = false) // 设置 chain = false,避免用户导入有问题
|
|||
public class ProjectImportExcelVO { |
|||
|
|||
@ExcelProperty("代码") |
|||
private String code; |
|||
|
|||
@ExcelProperty("名称") |
|||
private String name; |
|||
|
|||
@ExcelProperty("描述") |
|||
private String description; |
|||
|
|||
@ExcelProperty("客户代码") |
|||
private String customerCode; |
|||
|
|||
@ExcelProperty(value = "是否可用", converter = DictConvert.class) |
|||
@DictFormat(DictTypeConstants.TRUE_FALSE) |
|||
private String available; |
|||
|
|||
@ExcelProperty(value = "生效时间") |
|||
@ColumnWidth(value = 16) |
|||
private LocalDateTime activeTime; |
|||
|
|||
@ExcelProperty(value = "失效时间") |
|||
@ColumnWidth(value = 16) |
|||
private LocalDateTime expireTime; |
|||
|
|||
@ExcelProperty("备注") |
|||
private String remark; |
|||
|
|||
} |
@ -0,0 +1,52 @@ |
|||
package com.win.module.wms.controller.purchaseprice.vo; |
|||
|
|||
import com.alibaba.excel.annotation.ExcelProperty; |
|||
import com.alibaba.excel.annotation.write.style.ColumnWidth; |
|||
import com.win.framework.excel.core.annotations.DictFormat; |
|||
import com.win.framework.excel.core.convert.DictConvert; |
|||
import com.win.module.wms.enums.DictTypeConstants; |
|||
import lombok.AllArgsConstructor; |
|||
import lombok.Builder; |
|||
import lombok.Data; |
|||
import lombok.NoArgsConstructor; |
|||
import lombok.experimental.Accessors; |
|||
|
|||
import java.math.BigDecimal; |
|||
import java.time.LocalDateTime; |
|||
|
|||
@Data |
|||
@Builder |
|||
@AllArgsConstructor |
|||
@NoArgsConstructor |
|||
@Accessors(chain = false) // 设置 chain = false,避免用户导入有问题
|
|||
public class PurchasepriceImportExcelVO { |
|||
|
|||
@ExcelProperty("供应商代码") |
|||
private String supplierCode; |
|||
|
|||
@ExcelProperty("物料代码") |
|||
private String itemCode; |
|||
|
|||
@ExcelProperty(value = "货币", converter = DictConvert.class) |
|||
@DictFormat(DictTypeConstants.CURRENCY) |
|||
private String currency; |
|||
|
|||
@ExcelProperty("价格") |
|||
private BigDecimal price; |
|||
|
|||
@ExcelProperty(value = "是否可用", converter = DictConvert.class) |
|||
@DictFormat(DictTypeConstants.TRUE_FALSE) |
|||
private String available; |
|||
|
|||
@ExcelProperty(value = "生效时间") |
|||
@ColumnWidth(value = 16) |
|||
private LocalDateTime activeTime; |
|||
|
|||
@ExcelProperty(value = "失效时间") |
|||
@ColumnWidth(value = 16) |
|||
private LocalDateTime expireTime; |
|||
|
|||
@ExcelProperty("备注") |
|||
private String remark; |
|||
|
|||
} |
@ -0,0 +1,45 @@ |
|||
package com.win.module.wms.controller.recordsetting.vo; |
|||
|
|||
import com.alibaba.excel.annotation.ExcelProperty; |
|||
import com.alibaba.excel.annotation.write.style.ColumnWidth; |
|||
import com.win.framework.excel.core.annotations.DictFormat; |
|||
import com.win.framework.excel.core.convert.DictConvert; |
|||
import com.win.module.wms.enums.DictTypeConstants; |
|||
import lombok.AllArgsConstructor; |
|||
import lombok.Builder; |
|||
import lombok.Data; |
|||
import lombok.NoArgsConstructor; |
|||
import lombok.experimental.Accessors; |
|||
|
|||
import java.time.LocalDateTime; |
|||
|
|||
@Data |
|||
@Builder |
|||
@AllArgsConstructor |
|||
@NoArgsConstructor |
|||
@Accessors(chain = false) // 设置 chain = false,避免用户导入有问题
|
|||
public class RecordsettingImportExcelVO { |
|||
|
|||
@ExcelProperty("代码") |
|||
private String code; |
|||
|
|||
@ExcelProperty(value = "接口类型", converter = DictConvert.class) |
|||
@DictFormat(DictTypeConstants.INTERFACE_TYPE) |
|||
private String interfaceType; |
|||
|
|||
@ExcelProperty(value = "是否可用", converter = DictConvert.class) |
|||
@DictFormat(DictTypeConstants.TRUE_FALSE) |
|||
private String available; |
|||
|
|||
@ExcelProperty(value = "生效时间") |
|||
@ColumnWidth(value = 16) |
|||
private LocalDateTime activeTime; |
|||
|
|||
@ExcelProperty(value = "失效时间") |
|||
@ColumnWidth(value = 16) |
|||
private LocalDateTime expireTime; |
|||
|
|||
@ExcelProperty("备注") |
|||
private String remark; |
|||
|
|||
} |
@ -0,0 +1,61 @@ |
|||
package com.win.module.wms.controller.requestsetting.vo; |
|||
|
|||
import com.alibaba.excel.annotation.ExcelProperty; |
|||
import com.alibaba.excel.annotation.write.style.ColumnWidth; |
|||
import com.win.framework.excel.core.annotations.DictFormat; |
|||
import com.win.framework.excel.core.convert.DictConvert; |
|||
import com.win.module.wms.enums.DictTypeConstants; |
|||
import lombok.AllArgsConstructor; |
|||
import lombok.Builder; |
|||
import lombok.Data; |
|||
import lombok.NoArgsConstructor; |
|||
import lombok.experimental.Accessors; |
|||
|
|||
import java.time.LocalDateTime; |
|||
|
|||
@Data |
|||
@Builder |
|||
@AllArgsConstructor |
|||
@NoArgsConstructor |
|||
@Accessors(chain = false) // 设置 chain = false,避免用户导入有问题
|
|||
public class RequestsettingImportExcelVO { |
|||
|
|||
@ExcelProperty("代码") |
|||
private String code; |
|||
|
|||
@ExcelProperty(value = "申请模式", converter = DictConvert.class) |
|||
@DictFormat(DictTypeConstants.REQUEST_MODE) |
|||
private String requestMode; |
|||
|
|||
@ExcelProperty(value = "自动提交", converter = DictConvert.class) |
|||
@DictFormat(DictTypeConstants.TRUE_FALSE) |
|||
private String autoCommit; |
|||
|
|||
@ExcelProperty(value = "自动通过", converter = DictConvert.class) |
|||
@DictFormat(DictTypeConstants.TRUE_FALSE) |
|||
private String autoAgree; |
|||
|
|||
@ExcelProperty(value = "自动执行", converter = DictConvert.class) |
|||
@DictFormat(DictTypeConstants.TRUE_FALSE) |
|||
private String autoExecute; |
|||
|
|||
@ExcelProperty(value = "跳过任务直接生成记录", converter = DictConvert.class) |
|||
@DictFormat(DictTypeConstants.TRUE_FALSE) |
|||
private String directCreateRecord; |
|||
|
|||
@ExcelProperty(value = "是否可用", converter = DictConvert.class) |
|||
@DictFormat(DictTypeConstants.TRUE_FALSE) |
|||
private String available; |
|||
|
|||
@ExcelProperty(value = "生效时间") |
|||
@ColumnWidth(value = 16) |
|||
private LocalDateTime activeTime; |
|||
|
|||
@ExcelProperty(value = "失效时间") |
|||
@ColumnWidth(value = 16) |
|||
private LocalDateTime expireTime; |
|||
|
|||
@ExcelProperty("备注") |
|||
private String remark; |
|||
|
|||
} |
Some files were not shown because too many files changed in this diff
Loading…
Reference in new issue