数据权限增加角色名称

库存条码数量封装
yun-zuoyi
陈思洁 6 years ago
parent 02734d33f9
commit 8e8cafc6d8

@ -56,4 +56,8 @@ public class WmsDataAuth extends BaseBean {
@ApiParam(value = "查询操作", example = "0")
private Integer queryOp;
@Column(name = "ROLE_NAME_RDD")
@ApiParam(value = "角色名称")
private String roleNameRdd;
}

@ -11,6 +11,7 @@ import org.hibernate.annotations.DynamicUpdate;
import org.springframework.format.annotation.DateTimeFormat;
import javax.persistence.*;
import java.math.BigDecimal;
import java.util.Date;
/**
@ -110,6 +111,7 @@ public class WmsStockSn extends BaseBean {
@ColumnDefault("0")
@ApiParam(value = "数量", example = "0")
private Double qty;
/**
* :10=,20=,30=
*/
@ -206,7 +208,9 @@ public class WmsStockSn extends BaseBean {
this.partNo = partNo;
}
public Double getQty() {return qty == null ? 0L : this.qty.doubleValue(); }
public Double getQty() {
return qty == null ? 0L : qty.doubleValue();
}
public Double getInputNCQty(){return inputNCQty == null ? 0L : this.inputNCQty.doubleValue();}
}

@ -66,4 +66,7 @@ public class WmsDataAuthModel extends BaseBean {
example = "0"
)
private Integer queryOp;
@ApiParam("角色名称")
private String roleNameRdd;
}

Loading…
Cancel
Save