From d05fb296608b77c8b8b2303e79a89560d5f03c0b Mon Sep 17 00:00:00 2001 From: zch Date: Fri, 24 Apr 2026 16:13:19 +0800 Subject: [PATCH] =?UTF-8?q?change(=E8=BD=AE=E8=83=8E=E8=AF=A6=E6=83=85?= =?UTF-8?q?=E9=A1=B5=E7=AD=BE):=20=E8=BD=AE=E8=83=8E=E7=AE=A1=E7=90=86?= =?UTF-8?q?=E4=B8=AD=E6=B7=BB=E5=8A=A0=E5=85=A5=E5=BA=93=E7=BC=96=E7=A0=81?= =?UTF-8?q?=E5=8A=9F=E8=83=BD=E5=B9=B6=E4=BC=98=E5=8C=96=E8=BD=AE=E8=83=8E?= =?UTF-8?q?=E8=AF=A6=E6=83=85=E9=A1=B5=E7=AD=BE=E5=B1=95=E7=A4=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 在轮胎管理中新增入库编码字段,支持导入时填写和展示 - 优化轮胎详情页的组织架构信息展示,区分公司、修理厂和车队 - 修改轮胎类型显示为字典标签,提升可读性 - 添加入库编码相关查询接口,支持按编码筛选轮胎 - 在导入模板中添加入库编码填写说明 --- .../templates/tyre/tyre/typreDetill2.html | 10 +++--- .../resources/templates/tyre/tyre/tyre.html | 27 +++++++++----- .../resources/mapper/tyre/BaseTyreMapper.xml | 36 ++++++++++++++++--- 3 files changed, 56 insertions(+), 17 deletions(-) diff --git a/ruoyi-admin/src/main/resources/templates/tyre/tyre/typreDetill2.html b/ruoyi-admin/src/main/resources/templates/tyre/tyre/typreDetill2.html index 8cc81c0b..f4bfa38c 100644 --- a/ruoyi-admin/src/main/resources/templates/tyre/tyre/typreDetill2.html +++ b/ruoyi-admin/src/main/resources/templates/tyre/tyre/typreDetill2.html @@ -185,8 +185,10 @@
胎号:-
-
所属场站:-
-
所属车队:-
+
所在车辆:-
+
所属公司:-
+
所属修理厂:-
+
所属车队:-
-
@@ -244,8 +246,8 @@ - 轮胎类型 - - + 轮胎类别 + - 初始花纹深度(mm) - diff --git a/ruoyi-admin/src/main/resources/templates/tyre/tyre/tyre.html b/ruoyi-admin/src/main/resources/templates/tyre/tyre/tyre.html index 7a612228..993dd142 100644 --- a/ruoyi-admin/src/main/resources/templates/tyre/tyre/tyre.html +++ b/ruoyi-admin/src/main/resources/templates/tyre/tyre/tyre.html @@ -22,6 +22,10 @@

轮胎芯片:

+
  • +

    入库编码:

    + +
  • 轮胎品牌: -
    - 是否更新已经存在的轮胎数据 -   下载模板 -
    - - 提示:仅允许导入“xls”或“xlsx”格式文件! - +
    + 是否更新已经存在的轮胎数据 +   下载模板 +
    +
    + 入库编码填写说明:Excel 第一行必须填写默认入库编码,后续空行自动沿用最近一次出现的编码;如中途填写新编码,则从该行开始切换为新批次,直到再次填写其他编码。 +
    + + 提示:仅允许导入“xls”或“xlsx”格式文件! + - \ No newline at end of file + diff --git a/ruoyi-system/src/main/resources/mapper/tyre/BaseTyreMapper.xml b/ruoyi-system/src/main/resources/mapper/tyre/BaseTyreMapper.xml index 6a416277..94e546d0 100644 --- a/ruoyi-system/src/main/resources/mapper/tyre/BaseTyreMapper.xml +++ b/ruoyi-system/src/main/resources/mapper/tyre/BaseTyreMapper.xml @@ -9,6 +9,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" + @@ -32,10 +33,16 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" select d.tyre_id, d.tyre_no, d.self_no, d.tyre_epc, d.tyre_brand, d.tyre_model, d.tyre_level, d.tyre_pattern, - d.grooves, d.pattern_depth, d.tyre_type, d.team, d.create_by, d.create_time, d.update_by, d.update_time, - d.remark, d.car_no, d.wheel_postion, d.dept_id, sd.dept_name + d.grooves, d.pattern_depth, d.tyre_type, d.team, d.inbound_code, d.create_by, d.create_time, d.update_by, d.update_time, + d.remark, d.car_no, d.wheel_postion, d.dept_id, tyre_dept.dept_name, + company_dept.dept_name as company, car_dept.dept_name as carTeam from base_tyre d - left join sys_dept sd on sd.dept_id = d.dept_id + + left join base_car bc on bc.car_no = d.car_no + left join sys_dept car_dept on car_dept.dept_id = bc.dept_id + left join sys_dept repair_dept on repair_dept.dept_id = car_dept.parent_id + left join sys_dept company_dept on company_dept.dept_id = repair_dept.parent_id + left join sys_dept tyre_dept on tyre_dept.dept_id = d.dept_id + + + where d.inbound_code = #{inboundCode} + and d.tyre_epc is not null + and d.tyre_epc <> '' + order by d.tyre_id + + + +