|
|
@@ -348,11 +348,14 @@ public class OrderServer { |
|
|
|
List<GyAction> gyActions= new Json<List<GyAction>>().jsonToListobject(GyAction.class,((String)actions.ActionJson)); |
|
|
|
for (GyAction a:gyActions) |
|
|
|
{ |
|
|
|
da.id=java.util.UUID.randomUUID().toString(); |
|
|
|
da.materialID = a.BatchingId; |
|
|
|
da.value = a.ActionValue; |
|
|
|
da.sort =Integer.parseInt(actions.Sort); |
|
|
|
QueryDB.AddGoodsSrecipe(da); |
|
|
|
if(!a.BatchingId.isEmpty()) |
|
|
|
{ |
|
|
|
da.id=java.util.UUID.randomUUID().toString(); |
|
|
|
da.materialID = a.BatchingId; |
|
|
|
da.value = Integer.valueOf(a.ActionValue) ; |
|
|
|
da.sort =Integer.parseInt(actions.Sort); |
|
|
|
QueryDB.AddGoodsSrecipe(da); |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|