|
|
@@ -413,13 +413,13 @@ public class MESHelperServiceImpl implements MESHelperService {
|
|
|
}
|
|
|
|
|
|
rmap.put("message","卡通箱["+iSN+"]重量为"+weight+",符合重量范围"+obj[0]+"-"+obj[1]+",称重通过");
|
|
|
- Object pa_id=baseDao.getFieldDataByCondition(Master+".package","max(pa_id)","pa_outboxcode='"+iSN+"'");
|
|
|
- if(pa_id==null){
|
|
|
- rmap.put("code",-1);
|
|
|
- rmap.put("message","卡通箱["+iSN+"]不存在");
|
|
|
- return rmap;
|
|
|
- }
|
|
|
- baseDao.execute("update "+Master+".package set PA_WEIGHT ='"+weight+"' where pa_outboxcode='"+iSN+"'");
|
|
|
+// Object pa_id=baseDao.getFieldDataByCondition(Master+".package","max(pa_id)","pa_outboxcode='"+iSN+"'");
|
|
|
+// if(pa_id==null){
|
|
|
+// rmap.put("code",-1);
|
|
|
+// rmap.put("message","卡通箱["+iSN+"]不存在");
|
|
|
+// return rmap;
|
|
|
+// }
|
|
|
+// baseDao.execute("update "+Master+".package set PA_WEIGHT ='"+weight+"' where pa_outboxcode='"+iSN+"'");
|
|
|
|
|
|
Map<String, String> rmap1 = new HashMap<String, String>();
|
|
|
rmap1.put("minWeight",obj[0].toString());
|