opt: 代码整理,出窑口校验,入窑口校验,布料信息,对接记录筛选功能

This commit is contained in:
2023-11-20 10:05:12 +08:00
parent 019d5cf4aa
commit 0a31f770ca
40 changed files with 339 additions and 186 deletions

View File

@@ -232,4 +232,28 @@ public class PointCreate {
}
pointService.saveBatch(pointList);
}
@Test
void BLJ() {
List<SchBasePoint> pointList = new ArrayList<>();
for (int i = 1; i <= 8; i++) {
String pointName = "布料机0";
String pointCode = "BLJ0";
pointName = pointName + i;
pointCode = pointCode + i;
SchBasePoint point = new SchBasePoint();
point.setPoint_code(pointCode);
point.setPoint_name(pointName);
point.setRegion_code("YZ");
point.setRegion_name("压制区域");
point.setParent_point_code("YJ0" + i);
point.setIs_has_workder(false);
point.setIs_auto(false);
point.setCreate_id("1");
point.setCreate_name("管理员");
point.setCreate_time(DateUtil.now());
pointList.add(point);
}
pointService.saveBatch(pointList);
}
}