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 + + + +