Browse Source

fix: 解决用车记录查询存在重复字段的问题

zhongwei
liwen 7 months ago
parent
commit
74ad13695d
  1. 2
      hzims-service/safeproduct/src/main/java/com/hnac/hzims/safeproduct/mapper/CarUsedRecordMapper.xml

2
hzims-service/safeproduct/src/main/java/com/hnac/hzims/safeproduct/mapper/CarUsedRecordMapper.xml

@ -19,7 +19,7 @@
<select id="getCarUsedRecordPage" resultType="com.hnac.hzims.safeproduct.vo.CarUsedRecordPageVO"> <select id="getCarUsedRecordPage" resultType="com.hnac.hzims.safeproduct.vo.CarUsedRecordPageVO">
SELECT SELECT
t1.id, t2.unit, t1.start_time, t1.user, t1.remark, t1.start_miles, t1.end_miles, t1.miles,t2.car_brand, t1.id, t2.unit, t1.start_time, t1.user, t1.remark, t1.start_miles, t1.end_miles, t1.miles,t2.car_brand,
t2.plate_number, t1.used_location, t1.confirmation_time, t1.used_location, t1.create_user, t1.create_dept t2.plate_number, t1.used_location, t1.confirmation_time, t1.create_user, t1.create_dept
FROM FROM
hzims_car_used_record t1 hzims_car_used_record t1
LEFT JOIN hzims_car t2 ON t1.car_id = t2.id LEFT JOIN hzims_car t2 ON t1.car_id = t2.id

Loading…
Cancel
Save