|
|
@@ -42,7 +42,7 @@ public class SampleDataGenerator implements ServletContextListener {
|
|
42
|
42
|
{UUID.randomUUID().toString().getBytes(), new Timestamp(100), new Timestamp(101), "UNLOAD", 2, "CAR_005", "XYZ"},
|
|
43
|
43
|
{UUID.randomUUID().toString().getBytes(), new Timestamp(110), new Timestamp(111), "CLAIM", 2, null, "XYZ"},
|
|
44
|
44
|
|
|
45
|
|
- //ZYX (AUMEL - USCHI - DEHAM - SESTO)
|
|
|
45
|
+ //ZYX (AUMEL - USCHI - DEHAM -)
|
|
46
|
46
|
{UUID.randomUUID().toString().getBytes(), new Timestamp(0), new Timestamp(1), "RECEIVE", 2, null, "ZYX"},
|
|
47
|
47
|
{UUID.randomUUID().toString().getBytes(), new Timestamp(10), new Timestamp(11), "LOAD", 2, "CAR_007", "ZYX"},
|
|
48
|
48
|
{UUID.randomUUID().toString().getBytes(), new Timestamp(20), new Timestamp(21), "UNLOAD", 7, "CAR_007", "ZYX"},
|
|
|
@@ -52,6 +52,8 @@ public class SampleDataGenerator implements ServletContextListener {
|
|
52
|
52
|
|
|
53
|
53
|
//ABC
|
|
54
|
54
|
{UUID.randomUUID().toString().getBytes(), new Timestamp(20), new Timestamp(21), "CLAIM", 2, null, "ABC"}
|
|
|
55
|
+
|
|
|
56
|
+ //CBA
|
|
55
|
57
|
};
|
|
56
|
58
|
for (Object[] handlingEventArg : handlingEventArgs) {
|
|
57
|
59
|
jdbcTemplate.update(handlingEventSql, handlingEventArg);
|