| | |
| | | public BasDevp toSqlModel(){ |
| | | BasDevp basDevp = new BasDevp(); |
| | | basDevp.setDevNo(siteId); |
| | | basDevp.setWrkNo(workNo.intValue()); |
| | | basDevp.setWrkNo(workNo); |
| | | basDevp.setAutoing(autoing?"Y":"N"); |
| | | basDevp.setLoading(loading?"Y":"N"); |
| | | basDevp.setEmptyMk(emptyMk?"Y":"N"); |
| | | if (basDevp.getLoading().equals("N") && basDevp.getAutoing().equals("Y")){ |
| | | basDevp.setReportSign(0); |
| | | } |
| | | basDevp.setInEnable(inEnable?"Y":"N"); |
| | | basDevp.setOutEnable(outEnable?"Y":"N"); |
| | | basDevp.setLocType1((short) 0); // 高低类型{0:未知,1:低库位,2:高库位} |