transient 替换为 @Transien

yun-zuoyi
yunhao.wang 7 years ago
parent e45e68824f
commit d7b4b1f7ab

@ -80,28 +80,34 @@ public abstract class BaseBean implements Serializable {
@ApiParam(value = "修改日期") @ApiParam(value = "修改日期")
public String modifyDatetime; public String modifyDatetime;
@Transient
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8") @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
@ApiParam(value="创建日期查询用,查询起始日期",example = "2018-01-01 01:00:00") @ApiParam(value="创建日期查询用,查询起始日期",example = "2018-01-01 01:00:00")
public transient String createDateTimeStart; public String createDateTimeStart;
@Transient
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8") @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
@ApiParam(value="创建日期查询用,查询结束日期",example = "2018-12-31 23:59:59") @ApiParam(value="创建日期查询用,查询结束日期",example = "2018-12-31 23:59:59")
public transient String createDateTimeEnd; public String createDateTimeEnd;
@Transient
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8") @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
@ApiParam(value="修改日期查询用,查询起始日期",example = "2018-01-01 01:00:00") @ApiParam(value="修改日期查询用,查询起始日期",example = "2018-01-01 01:00:00")
public transient String modifyDateTimeStart; public String modifyDateTimeStart;
@Transient
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8") @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
@ApiParam(value = "修改日期查询用,查询结束日期",example = "2018-12-31 23:59:59") @ApiParam(value = "修改日期查询用,查询结束日期",example = "2018-12-31 23:59:59")
public transient String modifyDateTimeEnd; public String modifyDateTimeEnd;
@Transient
@ApiParam(value = "排序属性") @ApiParam(value = "排序属性")
public transient String orderByParam = ""; public String orderByParam = "";
@Transient
@ApiParam(value = "排序类型1 正序2 倒序",example = "1") @ApiParam(value = "排序类型1 正序2 倒序",example = "1")
//CommonEnumUtil.ASC_OR_DESC 1 asc,2 desc //CommonEnumUtil.ASC_OR_DESC 1 asc,2 desc
public transient int ascOrDesc = 1; public int ascOrDesc = 1;
//排序方式 //排序方式
public String orderBy(){ public String orderBy(){

@ -13,6 +13,7 @@ import org.hibernate.annotations.DynamicUpdate;
import javax.persistence.Column; import javax.persistence.Column;
import javax.persistence.Entity; import javax.persistence.Entity;
import javax.persistence.Table; import javax.persistence.Table;
import javax.persistence.Transient;
import java.util.List; import java.util.List;
/** /**
@ -62,7 +63,8 @@ public class SysDepartment extends BaseBean {
@ApiParam(value ="排序" , example ="1" , access ="排序") @ApiParam(value ="排序" , example ="1" , access ="排序")
private Integer departmentSort; private Integer departmentSort;
@Transient
@ApiParam(value ="子集列表") @ApiParam(value ="子集列表")
private transient List<SysDepartment> childList; private List<SysDepartment> childList;
} }

@ -10,6 +10,7 @@ import lombok.EqualsAndHashCode;
import javax.persistence.Column; import javax.persistence.Column;
import javax.persistence.Entity; import javax.persistence.Entity;
import javax.persistence.Table; import javax.persistence.Table;
import javax.persistence.Transient;
/** /**
* @Description : resourceTypelanguageIdresourceKeyvalue * @Description : resourceTypelanguageIdresourceKeyvalue
@ -31,7 +32,8 @@ public class SysLocaleResource extends BaseBean {
@ApiParam(value = "资源类型",example = "1",access = "使用枚举CommonEnumUtil.SYS_LOCALE_RESOURCE_TYPE") @ApiParam(value = "资源类型",example = "1",access = "使用枚举CommonEnumUtil.SYS_LOCALE_RESOURCE_TYPE")
private Integer resourceType; private Integer resourceType;
private transient String resourceTypeTxt; @Transient
private String resourceTypeTxt;
public String getResourceTypeTxt(){ public String getResourceTypeTxt(){
if(this.resourceType != null){ if(this.resourceType != null){

@ -13,6 +13,7 @@ import org.hibernate.annotations.DynamicUpdate;
import javax.persistence.Column; import javax.persistence.Column;
import javax.persistence.Entity; import javax.persistence.Entity;
import javax.persistence.Table; import javax.persistence.Table;
import javax.persistence.Transient;
import java.util.List; import java.util.List;
/** /**
@ -85,7 +86,8 @@ public class SysMenu extends BaseBean {
@ApiParam(value ="功能状态1.正常2.禁用)" , example ="1" , access ="功能状态1.正常2.禁用)",defaultValue="1") @ApiParam(value ="功能状态1.正常2.禁用)" , example ="1" , access ="功能状态1.正常2.禁用)",defaultValue="1")
private Integer menuStatus; private Integer menuStatus;
@Transient
@ApiParam(value ="子集列表") @ApiParam(value ="子集列表")
private transient List<SysMenu> childList; private List<SysMenu> childList;
} }

@ -13,6 +13,7 @@ import org.hibernate.annotations.DynamicUpdate;
import javax.persistence.Column; import javax.persistence.Column;
import javax.persistence.Entity; import javax.persistence.Entity;
import javax.persistence.Table; import javax.persistence.Table;
import javax.persistence.Transient;
import java.text.DecimalFormat; import java.text.DecimalFormat;
import java.util.List; import java.util.List;
@ -66,7 +67,8 @@ public class SysOrganize extends BaseBean {
@ApiParam(value ="组织状态枚举1.正常2.禁用)" , example ="1") @ApiParam(value ="组织状态枚举1.正常2.禁用)" , example ="1")
private Integer organizeStatus; private Integer organizeStatus;
@Transient
@ApiParam(value ="子集列表") @ApiParam(value ="子集列表")
private transient List<SysOrganize> childList; private List<SysOrganize> childList;
} }

@ -13,6 +13,7 @@ import org.hibernate.annotations.DynamicUpdate;
import javax.persistence.Column; import javax.persistence.Column;
import javax.persistence.Entity; import javax.persistence.Entity;
import javax.persistence.Table; import javax.persistence.Table;
import javax.persistence.Transient;
import java.util.List; import java.util.List;
/** /**
@ -53,7 +54,8 @@ public class SysPosition extends BaseBean {
@ApiParam(value ="描述" , access ="描述") @ApiParam(value ="描述" , access ="描述")
private String positionDescription; private String positionDescription;
@Transient
@ApiParam(value ="子部门列表") @ApiParam(value ="子部门列表")
private transient List<SysPosition> childList; private List<SysPosition> childList;
} }

@ -13,6 +13,7 @@ import org.hibernate.annotations.DynamicUpdate;
import javax.persistence.Column; import javax.persistence.Column;
import javax.persistence.Entity; import javax.persistence.Entity;
import javax.persistence.Table; import javax.persistence.Table;
import javax.persistence.Transient;
import java.util.List; import java.util.List;
/** /**
@ -92,9 +93,11 @@ public class SysUser extends BaseBean {
@ApiParam(value ="用户类型(枚举,待定)" , example ="-1") @ApiParam(value ="用户类型(枚举,待定)" , example ="-1")
private Integer userType; private Integer userType;
@Transient
@ApiParam(value ="用户所有角色信息") @ApiParam(value ="用户所有角色信息")
private transient List<SysRole> roleList; private List<SysRole> roleList;
@Transient
@ApiParam(value ="用户所有权限信息") @ApiParam(value ="用户所有权限信息")
private transient List<SysMenu> menuList; private List<SysMenu> menuList;
} }

@ -14,6 +14,7 @@ import org.hibernate.annotations.DynamicUpdate;
import javax.persistence.Column; import javax.persistence.Column;
import javax.persistence.Entity; import javax.persistence.Entity;
import javax.persistence.Table; import javax.persistence.Table;
import javax.persistence.Transient;
import java.util.List; import java.util.List;
/** /**
@ -112,28 +113,36 @@ public class SysUserInfo extends BaseBean {
@ApiParam(value ="登录次数",example = "0") @ApiParam(value ="登录次数",example = "0")
private Integer userLoginNum; private Integer userLoginNum;
@Transient
@ApiParam(value ="用户所有部门信息") @ApiParam(value ="用户所有部门信息")
private transient List<SysDepartment> departmentList; private List<SysDepartment> departmentList;
@Transient
@ApiParam("用户的部门ID信息") @ApiParam("用户的部门ID信息")
private transient List<String> departmentIdList; private List<String> departmentIdList;
@Transient
@ApiParam(value ="用户所有岗位信息") @ApiParam(value ="用户所有岗位信息")
private transient List<SysPosition> positionList; private List<SysPosition> positionList;
@Transient
@ApiParam(value ="用户所有组织信息") @ApiParam(value ="用户所有组织信息")
private transient List<SysOrganize> organizeList; private List<SysOrganize> organizeList;
@Transient
@ApiParam(value ="用户岗位信息") @ApiParam(value ="用户岗位信息")
private transient SysDepartment department; private SysDepartment department;
@Transient
@ApiParam(value ="用户组织信息") @ApiParam(value ="用户组织信息")
private transient SysOrganize organize; private SysOrganize organize;
@Transient
@ApiParam(value = "岗位信息",access = "用户主岗位信息") @ApiParam(value = "岗位信息",access = "用户主岗位信息")
private transient SysPosition position; private SysPosition position;
@Transient
@JsonIgnore @JsonIgnore
@ApiParam(value ="用户详细信息") @ApiParam(value ="用户详细信息")
private transient SysUser user; private SysUser user;
} }

@ -45,6 +45,8 @@ public class CoreBsonPack {
bson = BsonPackTool.getNumEqualPack(logOperate.getOperateType(),"operateType",bson); bson = BsonPackTool.getNumEqualPack(logOperate.getOperateType(),"operateType",bson);
bson = BsonPackTool.getNumEqualPack(logOperate.getOperateModule(),"operateModule",bson); bson = BsonPackTool.getNumEqualPack(logOperate.getOperateModule(),"operateModule",bson);
bson = BsonPackTool.timeBuilder(logOperate.getCreateDatetime(),"createDatetime",bson,false,false); bson = BsonPackTool.timeBuilder(logOperate.getCreateDatetime(),"createDatetime",bson,false,false);
bson = BsonPackTool.getStringLikerPack(logOperate.getRemoteIp(),"remoteIp",bson);
bson = BsonPackTool.getStringLikerPack(logOperate.getOperateMessage(),"operateMessage",bson);
bson = BsonPackTool.getStringLikerPack(logOperate.getCreateUser(),"createUser",bson); bson = BsonPackTool.getStringLikerPack(logOperate.getCreateUser(),"createUser",bson);
return bson; return bson;

@ -13,6 +13,7 @@ import org.hibernate.annotations.DynamicUpdate;
import javax.persistence.Column; import javax.persistence.Column;
import javax.persistence.Entity; import javax.persistence.Entity;
import javax.persistence.Table; import javax.persistence.Table;
import javax.persistence.Transient;
/** /**
* @Description : * @Description :
@ -64,7 +65,8 @@ public class WmsActionGroupDetails extends BaseBean {
@JsonSerialize(using = ToStringSerializer.class) @JsonSerialize(using = ToStringSerializer.class)
private Long asId; private Long asId;
@Transient
@ApiParam(value = "作业步骤名称") @ApiParam(value = "作业步骤名称")
private transient String asName; private String asName;
} }

@ -14,6 +14,7 @@ import org.hibernate.annotations.DynamicUpdate;
import javax.persistence.Column; import javax.persistence.Column;
import javax.persistence.Entity; import javax.persistence.Entity;
import javax.persistence.Table; import javax.persistence.Table;
import javax.persistence.Transient;
/** /**
* @Description : * @Description :
@ -49,8 +50,9 @@ public class WmsActionLog extends BaseBean {
@ApiParam(value = "交易类型编号") @ApiParam(value = "交易类型编号")
public String transTypeCode; public String transTypeCode;
@Transient
@ApiParam(value = "交易类型名称") @ApiParam(value = "交易类型名称")
public transient String transTypeName; public String transTypeName;
@Column(name="AG_ID") @Column(name="AG_ID")
@ApiParam(value = "作业流程编号", example = "1") @ApiParam(value = "作业流程编号", example = "1")
@ -90,21 +92,25 @@ public class WmsActionLog extends BaseBean {
@ApiParam(value = "结束作业时间") @ApiParam(value = "结束作业时间")
public String endTime; public String endTime;
@Transient
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8") @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
@ApiParam(value="开始作业时间查询用,查询起始日期",example = "2018-01-01 01:00:00") @ApiParam(value="开始作业时间查询用,查询起始日期",example = "2018-01-01 01:00:00")
public transient String startTimeStart; public String startTimeStart;
@Transient
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8") @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
@ApiParam(value="开始作业时间查询用,查询结束日期",example = "2018-12-31 23:59:59") @ApiParam(value="开始作业时间查询用,查询结束日期",example = "2018-12-31 23:59:59")
public transient String startTimeEnd; public String startTimeEnd;
@Transient
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8") @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
@ApiParam(value="结束作业时间查询用,查询起始日期",example = "2018-01-01 01:00:00") @ApiParam(value="结束作业时间查询用,查询起始日期",example = "2018-01-01 01:00:00")
public transient String endTimeStart; public String endTimeStart;
@Transient
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8") @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
@ApiParam(value="结束作业时间查询用,查询结束日期",example = "2018-12-31 23:59:59") @ApiParam(value="结束作业时间查询用,查询结束日期",example = "2018-12-31 23:59:59")
public transient String endTimeEnd; public String endTimeEnd;
// 状态:1=创建,10=处理中,20=已完成 // 状态:1=创建,10=处理中,20=已完成
@Column(name="ACTION_STATUS") @Column(name="ACTION_STATUS")

@ -13,6 +13,7 @@ import org.hibernate.annotations.DynamicUpdate;
import javax.persistence.Column; import javax.persistence.Column;
import javax.persistence.Entity; import javax.persistence.Entity;
import javax.persistence.Table; import javax.persistence.Table;
import javax.persistence.Transient;
/** /**
* @Description : * @Description :
@ -44,8 +45,9 @@ public class WmsActionLogDetails extends BaseBean {
} }
} }
@Transient
@ApiParam(value = "流程名称") @ApiParam(value = "流程名称")
public transient String agNameC; public String agNameC;
@Column(name="SEQ") @Column(name="SEQ")
@ApiParam(value = "序号", example = "1") @ApiParam(value = "序号", example = "1")

@ -14,6 +14,7 @@ import org.hibernate.annotations.DynamicUpdate;
import javax.persistence.Column; import javax.persistence.Column;
import javax.persistence.Entity; import javax.persistence.Entity;
import javax.persistence.Table; import javax.persistence.Table;
import javax.persistence.Transient;
/** /**
* @Description : * @Description :
@ -45,11 +46,13 @@ public class WmsActionStepCall extends BaseBean {
@JsonSerialize(using = ToStringSerializer.class) @JsonSerialize(using = ToStringSerializer.class)
public Long amId; public Long amId;
@Transient
@ApiParam(value = "组件名称") @ApiParam(value = "组件名称")
public transient String amName; public String amName;
@Transient
@ApiParam(value = "组件描述") @ApiParam(value = "组件描述")
public transient String amDesc; public String amDesc;
@Column(name="AM_TYPE") @Column(name="AM_TYPE")
@ApiParam(value = "组件类型", example = "0") @ApiParam(value = "组件类型", example = "0")

@ -14,6 +14,7 @@ import org.hibernate.annotations.DynamicUpdate;
import javax.persistence.Column; import javax.persistence.Column;
import javax.persistence.Entity; import javax.persistence.Entity;
import javax.persistence.Table; import javax.persistence.Table;
import javax.persistence.Transient;
/** /**
* @Description : * @Description :
@ -53,7 +54,8 @@ public class WmsActionStepCallParam extends BaseBean {
@ApiParam(value = "参数值") @ApiParam(value = "参数值")
private String paramValue; private String paramValue;
@Transient
@ApiParam(value = "组件名称") @ApiParam(value = "组件名称")
private transient String amName; private String amName;
} }

@ -11,6 +11,7 @@ import org.hibernate.annotations.DynamicUpdate;
import javax.persistence.Column; import javax.persistence.Column;
import javax.persistence.Entity; import javax.persistence.Entity;
import javax.persistence.Table; import javax.persistence.Table;
import javax.persistence.Transient;
/** /**
* @Description : * @Description :
@ -60,15 +61,19 @@ public class WmsAreaOwner extends BaseBean {
@ApiParam(value = "是否预分配人员") @ApiParam(value = "是否预分配人员")
private Integer isPreAssign; private Integer isPreAssign;
@Transient
@ApiParam(value = "供应商名称") @ApiParam(value = "供应商名称")
private transient String vendorName; private String vendorName;
@Transient
@ApiParam(value = "仓库名称") @ApiParam(value = "仓库名称")
private transient String whName; private String whName;
@Transient
@ApiParam(value = "存储区名称") @ApiParam(value = "存储区名称")
private transient String zoneName; private String zoneName;
@Transient
@ApiParam(value = "库位名称") @ApiParam(value = "库位名称")
private transient String locateName; private String locateName;
} }

@ -11,6 +11,7 @@ import org.hibernate.annotations.DynamicUpdate;
import javax.persistence.Column; import javax.persistence.Column;
import javax.persistence.Entity; import javax.persistence.Entity;
import javax.persistence.Table; import javax.persistence.Table;
import javax.persistence.Transient;
/** /**
* @Description : * @Description :
@ -64,6 +65,7 @@ public class WmsCheckFactRecord extends BaseBean {
@ApiParam(value = "抽点数量", example = "0") @ApiParam(value = "抽点数量", example = "0")
public Double checkQty; public Double checkQty;
@Transient
@ApiParam(value ="供应商全称") @ApiParam(value ="供应商全称")
private transient String vendorDesc; private String vendorDesc;
} }

@ -13,6 +13,7 @@ import org.hibernate.annotations.DynamicUpdate;
import javax.persistence.Column; import javax.persistence.Column;
import javax.persistence.Entity; import javax.persistence.Entity;
import javax.persistence.Table; import javax.persistence.Table;
import javax.persistence.Transient;
/** /**
* @Description : * @Description :
@ -60,20 +61,24 @@ public class WmsIbCheckPlan extends BaseBean{
@ApiParam(value ="已抽点件数", example = "-1") @ApiParam(value ="已抽点件数", example = "-1")
private Integer checkCounter; private Integer checkCounter;
@Transient
@JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8") @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
@ApiParam(value="开始日期,查询开始日期") @ApiParam(value="开始日期,查询开始日期")
public transient String startDateStart; public String startDateStart;
@Transient
@JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8") @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
@ApiParam(value="开始日期,查询开始日期") @ApiParam(value="开始日期,查询开始日期")
public transient String startDateEnd; public String startDateEnd;
@Transient
@JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8") @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
@ApiParam(value="结束日期,查询结束日期") @ApiParam(value="结束日期,查询结束日期")
public transient String endDateStart; public String endDateStart;
@Transient
@JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8") @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
@ApiParam(value = "结束日期,查询结束日期") @ApiParam(value = "结束日期,查询结束日期")
public transient String endDateEnd; public String endDateEnd;
} }

@ -11,6 +11,7 @@ import org.hibernate.annotations.DynamicUpdate;
import javax.persistence.Column; import javax.persistence.Column;
import javax.persistence.Entity; import javax.persistence.Entity;
import javax.persistence.Table; import javax.persistence.Table;
import javax.persistence.Transient;
import java.util.List; import java.util.List;
/** /**
@ -81,10 +82,12 @@ public class WmsObject extends BaseBean {
@ApiParam("自定义业务拦截") @ApiParam("自定义业务拦截")
private String bizIntercept; private String bizIntercept;
@Transient
@ApiParam("元数据字段列表") @ApiParam("元数据字段列表")
private transient List<WmsField> fiedList; private List<WmsField> fiedList;
@Transient
@ApiParam("自定义按钮列表") @ApiParam("自定义按钮列表")
private transient List<WmsButton> btnList; private List<WmsButton> btnList;
} }

@ -11,6 +11,7 @@ import org.hibernate.annotations.DynamicUpdate;
import javax.persistence.Column; import javax.persistence.Column;
import javax.persistence.Entity; import javax.persistence.Entity;
import javax.persistence.Table; import javax.persistence.Table;
import javax.persistence.Transient;
/** /**
* @Description : PO * @Description : PO
@ -70,6 +71,7 @@ public class WmsPOMaster extends BaseBean {
/** /**
* *
*/ */
@Transient
@ApiParam("供应商名称") @ApiParam("供应商名称")
private transient String vendorName; private String vendorName;
} }

@ -11,6 +11,7 @@ import org.hibernate.annotations.DynamicUpdate;
import javax.persistence.Column; import javax.persistence.Column;
import javax.persistence.Entity; import javax.persistence.Entity;
import javax.persistence.Table; import javax.persistence.Table;
import javax.persistence.Transient;
/** /**
* @Description : * @Description :
@ -75,9 +76,11 @@ public class WmsQCMaster extends BaseBean {
@ApiParam("入库单号") @ApiParam("入库单号")
public String ibNo; public String ibNo;
@Transient
@ApiParam(value ="客户简称") @ApiParam(value ="客户简称")
private transient String custName; private String custName;
@Transient
@ApiParam(value = "供应商简称") @ApiParam(value = "供应商简称")
private transient String VendorDesc; private String VendorDesc;
} }

@ -11,6 +11,7 @@ import org.hibernate.annotations.DynamicUpdate;
import javax.persistence.Column; import javax.persistence.Column;
import javax.persistence.Entity; import javax.persistence.Entity;
import javax.persistence.Table; import javax.persistence.Table;
import javax.persistence.Transient;
/** /**
* @Description : * @Description :
@ -75,9 +76,11 @@ public class WmsShopping extends BaseBean {
@ApiParam("特殊发货标志") @ApiParam("特殊发货标志")
public String shippingFlag; public String shippingFlag;
@Transient
@ApiParam(value ="客户简称") @ApiParam(value ="客户简称")
private transient String custName; private String custName;
@Transient
@ApiParam(value = "发往地简称") @ApiParam(value = "发往地简称")
private transient String flagName; private String flagName;
} }

@ -13,6 +13,7 @@ import org.hibernate.annotations.DynamicUpdate;
import javax.persistence.Column; import javax.persistence.Column;
import javax.persistence.Entity; import javax.persistence.Entity;
import javax.persistence.Table; import javax.persistence.Table;
import javax.persistence.Transient;
/** /**
* @Description : * @Description :
@ -80,12 +81,14 @@ public class WmsTrans extends BaseBean{
@ApiParam(value ="库位代码") @ApiParam(value ="库位代码")
private String locCode; private String locCode;
@Transient
@ApiParam(value ="目标库位id",example = "-1") @ApiParam(value ="目标库位id",example = "-1")
@JsonSerialize(using = ToStringSerializer.class) @JsonSerialize(using = ToStringSerializer.class)
private transient Long targetLocId; private Long targetLocId;
@Transient
@ApiParam(value ="目标库位代码") @ApiParam(value ="目标库位代码")
private transient String targetLocCode; private String targetLocCode;
@Column(name="GROUP_ID") @Column(name="GROUP_ID")
@ApiParam(value ="分组id",example = "-1") @ApiParam(value ="分组id",example = "-1")

@ -13,6 +13,7 @@ import org.hibernate.annotations.DynamicUpdate;
import javax.persistence.Column; import javax.persistence.Column;
import javax.persistence.Entity; import javax.persistence.Entity;
import javax.persistence.Table; import javax.persistence.Table;
import javax.persistence.Transient;
/** /**
* @Description : * @Description :
@ -85,8 +86,9 @@ public class WmsTransRcd extends BaseBean{
@JsonSerialize(using = ToStringSerializer.class) @JsonSerialize(using = ToStringSerializer.class)
private Long groupId; private Long groupId;
@Transient
@ApiParam(value ="库存数", example = "0") @ApiParam(value ="库存数", example = "0")
private transient Double qit; private Double qit;
public Long getLocId() { public Long getLocId() {

Loading…
Cancel
Save