rev: 与ACS对接的接口与实体的对应
This commit is contained in:
@@ -108,9 +108,9 @@ public class PointCreate {
|
||||
void test04() { // 缓存库位区域
|
||||
List<SchBasePoint> pointList = new ArrayList<>();
|
||||
int count = 1;
|
||||
for (int i = 1; i <= 2; i++) {
|
||||
for (int j = 1; j <= 29; j++) {
|
||||
for (int k = 1; k <= 3; k++) {
|
||||
for (int i = 1; i <= 2; i++) { // 排
|
||||
for (int j = 1; j <= 3; j++) { // 层
|
||||
for (int k = 1; k <= 29; k++) { // 列
|
||||
String code = "HCHJ";
|
||||
String name = "缓存货架";
|
||||
if (count < 10) {
|
||||
@@ -124,6 +124,11 @@ public class PointCreate {
|
||||
name = name + count;
|
||||
}
|
||||
SchBasePoint point = new SchBasePoint();
|
||||
if (j == 3) {
|
||||
point.setPoint_type("1");
|
||||
} else {
|
||||
point.setPoint_type("2");
|
||||
}
|
||||
point.setPoint_code(code);
|
||||
point.setPoint_name(name);
|
||||
point.setRegion_code("GTPHC");
|
||||
@@ -133,8 +138,8 @@ public class PointCreate {
|
||||
point.setVehicle_max_qty(1);
|
||||
point.setBlock_num(1);
|
||||
point.setRow_num(i);
|
||||
point.setCol_num(j);
|
||||
point.setLayer_num(k);
|
||||
point.setCol_num(k);
|
||||
point.setLayer_num(j);
|
||||
point.setIn_order_seq(count);
|
||||
point.setOut_order_seq(count);
|
||||
point.setIn_empty_seq(count);
|
||||
|
||||
Reference in New Issue
Block a user