add:大屏新增打印功能

This commit is contained in:
zhaoyf
2026-04-24 10:13:17 +08:00
parent f0816dd4ce
commit f9bf40b415
6 changed files with 169 additions and 3 deletions

View File

@@ -1042,7 +1042,9 @@ public class HandheldServiceImpl implements HandheldService {
List<Map> maps = iSchBaseVehiclematerialgroupService.selectOrdersByVehicleCode(list);
HashSet<Map> keys = new HashSet<>();
maps.stream().forEach(item -> {
keys.add(MapOf.of("material_id", item.get("material_id"), "material_path", item.get("material_path")));
keys.add(MapOf.of("material_id", item.get("material_id"), "material_path", item.get("material_path"),
"order_code",item.get("order_code"),"material_code", item.get("material_code"),
"create_time", item.get("create_time"),"material_qty", item.get("material_qty")));
});
JSONObject json = new JSONObject();
Map<String, String> map = new HashMap<>();

View File

@@ -188,8 +188,12 @@
sbv.vehicle_path,
sbv.material_path,
sbv.material_qty,
sbv.due_date
sbv.due_date,
sbv.create_time,
m.material_code
FROM sch_base_vehiclematerialgroup sbv
LEFT JOIN md_base_material m ON sbv.material_id = m.material_id
WHERE sbv.vehicle_code IN
<foreach item="code" collection="list" open="(" separator="," close=")">
#{code}