|
@@ -72,8 +72,15 @@ public class MESHelperServiceImpl implements MESHelperService {
|
|
|
List<Map<Object, Object>> maps = BaseUtil.parseGridStoreToMaps(data);
|
|
|
List<Map<Object, Object>> relist = new ArrayList<>();
|
|
|
for (Map<Object, Object> map : maps) {
|
|
|
- Map<Object, Object> remap = new HashMap<>();
|
|
|
String remark = "";
|
|
|
+ Map<Object, Object> remap = new HashMap<>();
|
|
|
+ if(map.size()==0){
|
|
|
+ remark = "参数不完整,请检查";
|
|
|
+ remap.put("remark",remark);
|
|
|
+ relist.add(remap);
|
|
|
+ continue;
|
|
|
+ }
|
|
|
+
|
|
|
SqlRowList rs=baseDao.queryForRowSet("select ban_id from baracceptnotify where ban_barcode='"+map.get("ban_barcode")+"'");
|
|
|
map.put("ban_id",baseDao.getSeqId("baracceptnotify_seq"));
|
|
|
if(rs.next()){
|