|
@@ -623,7 +623,8 @@ public class ToMaterialOutDialog extends UIDialog implements ActionListener,Bill
|
|
|
|
|
|
if(null==objbdef6 || "".equals(objbdef6.toString())) {
|
|
|
MessageDialog.showErrorDlg(mainpanel, "错误", "请检查换算率不能为空或者MA开头的现存量未查询到!");
|
|
|
- this.jlcardPanel.setBodyValueAt(null, arg0.getRow(), "bdef8");
|
|
|
+ this.jlcardPanel.setBodyValueAt(false, arg0.getRow(), "bdef4");
|
|
|
+ // this.jlcardPanel.setBodyValueAt(null, arg0.getRow(), "bdef8");
|
|
|
return;
|
|
|
}
|
|
|
|
|
@@ -1046,7 +1047,7 @@ public class ToMaterialOutDialog extends UIDialog implements ActionListener,Bill
|
|
|
public Object getHandNum(String pk_corp,String storcode,String cinvbasid,String vbatchcode, String color ,String sizing,String alloy,String standard)throws Exception {
|
|
|
StringBuffer sql = new StringBuffer();
|
|
|
sql.append("SELECT ");
|
|
|
- sql.append(" nonhandnum/nonhandastnum as hsl");
|
|
|
+ sql.append(" nonhandnum/NULLIF(nonhandastnum, 0) as hsl");
|
|
|
sql.append(" FROM");
|
|
|
sql.append(" ic_onhandnum");
|
|
|
sql.append(" WHERE");
|