opt: 代码整理,出窑口校验,入窑口校验,布料信息,对接记录筛选功能
This commit is contained in:
@@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user