仓库的新增和编辑添加了是否启用储位管理的功能
This commit is contained in:
parent
af5f6c2dd4
commit
1a12fb5028
|
|
@ -55,4 +55,10 @@ public class WarehouseAddQO {
|
||||||
*/
|
*/
|
||||||
@NotNull
|
@NotNull
|
||||||
private Long factoryId;
|
private Long factoryId;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 是否启储位管理
|
||||||
|
*/
|
||||||
|
@NotNull
|
||||||
|
private Boolean isDisableLocation;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -2,6 +2,7 @@ package com.nflg.wms.repository.entity;
|
||||||
|
|
||||||
import com.baomidou.mybatisplus.annotation.IdType;
|
import com.baomidou.mybatisplus.annotation.IdType;
|
||||||
import com.baomidou.mybatisplus.annotation.TableId;
|
import com.baomidou.mybatisplus.annotation.TableId;
|
||||||
|
import com.baomidou.mybatisplus.annotation.TableName;
|
||||||
import lombok.Getter;
|
import lombok.Getter;
|
||||||
import lombok.Setter;
|
import lombok.Setter;
|
||||||
import lombok.ToString;
|
import lombok.ToString;
|
||||||
|
|
@ -16,12 +17,13 @@ import java.time.LocalDateTime;
|
||||||
* </p>
|
* </p>
|
||||||
*
|
*
|
||||||
* @author 代码生成器生成
|
* @author 代码生成器生成
|
||||||
* @since 2025
|
* @since 2026
|
||||||
*/
|
*/
|
||||||
@Getter
|
@Getter
|
||||||
@Setter
|
@Setter
|
||||||
@ToString
|
@ToString
|
||||||
@Accessors(chain = true)
|
@Accessors(chain = true)
|
||||||
|
@TableName("wms_warehouse")
|
||||||
public class WmsWarehouse implements Serializable {
|
public class WmsWarehouse implements Serializable {
|
||||||
|
|
||||||
private static final long serialVersionUID = 1L;
|
private static final long serialVersionUID = 1L;
|
||||||
|
|
@ -90,7 +92,7 @@ public class WmsWarehouse implements Serializable {
|
||||||
private LocalDateTime updateTime;
|
private LocalDateTime updateTime;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* SAP同步状态
|
* SAP同步状态,0:未导入;1:导入成功;2:导入失败
|
||||||
*/
|
*/
|
||||||
private Short sapState;
|
private Short sapState;
|
||||||
|
|
||||||
|
|
@ -103,4 +105,9 @@ public class WmsWarehouse implements Serializable {
|
||||||
* 所属工厂
|
* 所属工厂
|
||||||
*/
|
*/
|
||||||
private Long factoryId;
|
private Long factoryId;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 是否启储位管理
|
||||||
|
*/
|
||||||
|
private Boolean isDisableLocation;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -33,7 +33,7 @@ public class CodeGeneratorTest {
|
||||||
)
|
)
|
||||||
.strategyConfig(builder -> {
|
.strategyConfig(builder -> {
|
||||||
builder
|
builder
|
||||||
.addInclude("wms_return_request_item") //只生成指定表
|
.addInclude("wms_warehouse") //只生成指定表
|
||||||
.entityBuilder().idType(IdType.ASSIGN_ID)
|
.entityBuilder().idType(IdType.ASSIGN_ID)
|
||||||
.enableLombok()
|
.enableLombok()
|
||||||
.enableChainModel()
|
.enableChainModel()
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue