Merge remote-tracking branch 'origin/dev' into dev

yun-zuoyi
wei.peng 6 years ago
commit 30bed57c04

@ -43,6 +43,14 @@ public class SysFile extends BaseBean {
@ApiParam(value ="文件所属模块") @ApiParam(value ="文件所属模块")
private Integer fileSoftType; private Integer fileSoftType;
public int getFileSoftTypeVal(){
if(fileSoftType == null){
return 0;
}
return fileSoftType.intValue();
}
@Column(name="USER_ID") @Column(name="USER_ID")
@ApiParam(value ="用户ID" , example = "-1") @ApiParam(value ="用户ID" , example = "-1")
@JsonSerialize(using = ToStringSerializer.class) @JsonSerialize(using = ToStringSerializer.class)
@ -83,5 +91,4 @@ public class SysFile extends BaseBean {
@Column(name="DOWNLOAD_NUM") @Column(name="DOWNLOAD_NUM")
@ApiParam(value ="下载次数" , example ="0") @ApiParam(value ="下载次数" , example ="0")
private Integer downloadNum; private Integer downloadNum;
} }

@ -1,6 +1,7 @@
package cn.estsh.i3plus.pojo.wms.bean; package cn.estsh.i3plus.pojo.wms.bean;
import cn.estsh.i3plus.pojo.base.bean.BaseBean; import cn.estsh.i3plus.pojo.base.bean.BaseBean;
import cn.estsh.i3plus.pojo.base.enumutil.CommonEnumUtil;
import io.swagger.annotations.Api; import io.swagger.annotations.Api;
import io.swagger.annotations.ApiParam; import io.swagger.annotations.ApiParam;
import lombok.Data; import lombok.Data;
@ -148,9 +149,9 @@ public class WmsMoveToERP extends BaseBean {
@ApiParam("交易类型") @ApiParam("交易类型")
public Integer busiTypeCode; public Integer busiTypeCode;
@Column(name = "IS_SYNC") @Column(name = "IS_SYNC", nullable = false)
@ApiParam("是否同步") @ApiParam("是否同步")
public Integer isSync; public Integer isSync = CommonEnumUtil.FALSE;
@ApiParam(value = "待出库数量", example = "0") @ApiParam(value = "待出库数量", example = "0")
@Transient @Transient

Loading…
Cancel
Save