📄 warehousemonthbean.java
字号:
package net.intuitsoft.xeon.table.warehouse.month;import intuitsoft.eclipse.table.common.DatabaseConnection;import intuitsoft.eclipse.table.common.WriteLog;import java.sql.Connection;import java.sql.PreparedStatement;import java.sql.ResultSet;/** * author: kent */public class WarehouseMonthBean implements WarehouseMonthModel, java.lang.Cloneable { public WarehouseMonthBean(String jndi) { this.jndiName = jndi; } String jndiName = ""; public String getJndiName() { return this.jndiName; } public void setJndiName(String sV) { if (sV != null) { this.jndiName = sV; } } private String warehouseMonthCode = ""; private int computer = 0; private int operator = 0; private String sYear = ""; private String sMonth = ""; private String title = ""; private int type = 0; private boolean isFill = false; private boolean isAcc = false; private boolean isEnd = false; private boolean isExt = false; private boolean isExtAcc = false; private boolean isBack = false; private String createDate = ""; private String currency = ""; private int quab = 0; private double amob = 0; private int quaf = 0; private double amof = 0; private double recAmo = 0; private int qua = 0; private double amo = 0; private double kaoAmo = 0; private double shortAmo = 0; private int examQua = 0; private int other = 0; private String remark = ""; private double recRate = 0; private int warehouseCode = 0; private String warehouseNo = ""; private String warehouseName = ""; private String userName = ""; private String crdateDate = ""; private String opTime = ""; public String getWarehouseMonthCode() { return this.warehouseMonthCode; } public void setWarehouseMonthCode(String sV) { if (sV != null) { this.warehouseMonthCode = sV; } } public int getComputer() { return this.computer; } public void setComputer(String sV) { if (sV != null && !"".equals(sV)) { this.computer = Integer.parseInt(sV); } } public void setComputer(int nV) { this.computer = nV; } public int getOperator() { return this.operator; } public void setOperator(String sV) { if (sV != null && !"".equals(sV)) { this.operator = Integer.parseInt(sV); } } public void setOperator(int nV) { this.operator = nV; } public String getSYear() { return this.sYear; } public void setSYear(String sV) { if (sV != null) { this.sYear = sV; } } public String getSMonth() { return this.sMonth; } public void setSMonth(String sV) { if (sV != null) { this.sMonth = sV; } } public String getTitle() { return this.title; } public void setTitle(String sV) { if (sV != null) { this.title = sV; } } public int getType() { return this.type; } public void setType(String sV) { if (sV != null && !"".equals(sV)) { this.type = Integer.parseInt(sV); } } public void setType(int nV) { this.type = nV; } public boolean getIsFill() { return this.isFill; } public void setIsFill(String b) { if (b == null) { return; } if ("1".equals(b)) { this.isFill = true; } else { this.isFill = false; } } public void setIsFill(boolean b) { this.isFill = b; } public boolean getIsAcc() { return this.isAcc; } public void setIsAcc(String b) { if (b == null) { return; } if ("1".equals(b)) { this.isAcc = true; } else { this.isAcc = false; } } public void setIsAcc(boolean b) { this.isAcc = b; } public boolean getIsEnd() { return this.isEnd; } public void setIsEnd(String b) { if (b == null) { return; } if ("1".equals(b)) { this.isEnd = true; } else { this.isEnd = false; } } public void setIsEnd(boolean b) { this.isEnd = b; } public boolean getIsExt() { return this.isExt; } public void setIsExt(String b) { if (b == null) { return; } if ("1".equals(b)) { this.isExt = true; } else { this.isExt = false; } } public void setIsExt(boolean b) { this.isExt = b; } public boolean getIsExtAcc() { return this.isExtAcc; } public void setIsExtAcc(String b) { if (b == null) { return; } if ("1".equals(b)) { this.isExtAcc = true; } else { this.isExtAcc = false; } } public void setIsExtAcc(boolean b) { this.isExtAcc = b; } public boolean getIsBack() { return this.isBack; } public void setIsBack(String b) { if (b == null) { return; } if ("1".equals(b)) { this.isBack = true; } else { this.isBack = false; } } public void setIsBack(boolean b) { this.isBack = b; } public String getCreateDate() { return this.createDate; } public void setCreateDate(String sV) { if (sV != null) { this.createDate = sV.substring(0, (sV.length() > 10) ? 10 : sV .length()); } } public String getCurrency() { return this.currency; } public void setCurrency(String sV) { if (sV != null) { this.currency = sV; } } public int getQuab() { return this.quab; } public void setQuab(String sV) { if (sV != null && !"".equals(sV)) { this.quab = Integer.parseInt(sV); } } public void setQuab(int nV) { this.quab = nV; } public double getAmob() { return this.amob; } public void setAmob(String sV) { if (sV != null && !"".equals(sV)) { this.amob = Double.parseDouble(sV); } } public void setAmob(double nV) { this.amob = nV; } public int getQuaf() { return this.quaf; } public void setQuaf(String sV) { if (sV != null && !"".equals(sV)) { this.quaf = Integer.parseInt(sV); } } public void setQuaf(int nV) { this.quaf = nV; } public double getAmof() { return this.amof; } public void setAmof(String sV) { if (sV != null && !"".equals(sV)) { this.amof = Double.parseDouble(sV); } } public void setAmof(double nV) { this.amof = nV; } public double getRecAmo() { return this.recAmo; } public void setRecAmo(String sV) { if (sV != null && !"".equals(sV)) { this.recAmo = Double.parseDouble(sV); } } public void setRecAmo(double nV) { this.recAmo = nV; } public int getQua() { return this.qua; } public void setQua(String sV) { if (sV != null && !"".equals(sV)) { this.qua = Integer.parseInt(sV); } } public void setQua(int nV) { this.qua = nV; } public double getAmo() { return this.amo; } public void setAmo(String sV) { if (sV != null && !"".equals(sV)) { this.amo = Double.parseDouble(sV); } } public void setAmo(double nV) { this.amo = nV; } public double getKaoAmo() { return this.kaoAmo; } public void setKaoAmo(String sV) { if (sV != null && !"".equals(sV)) { this.kaoAmo = Double.parseDouble(sV); } } public void setKaoAmo(double nV) { this.kaoAmo = nV; }
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -