localizer
ljw 2025-09-29 14:14:04 +08:00
parent 6f26e0acb8
commit 55098d18c8
3 changed files with 6 additions and 6 deletions

View File

@ -24,7 +24,7 @@
d.driving_licence_no,
c.company_name
FROM biz_driver d
LEFT JOIN biz_company c ON d.company_id = c.id AND c.deleted = 0
LEFT JOIN biz_company c ON d.company_id = c.id
<if test="ew.customSqlSegment != null and ew.customSqlSegment != ''">
${ew.customSqlSegment}
</if>

View File

@ -41,10 +41,10 @@
d.nickname,
e.nickname other_nickname
FROM biz_project a
INNER JOIN biz_company b ON b.id = a.other_company_id AND b.deleted = 0
INNER JOIN biz_company c ON c.user_id = a.user_id AND b.deleted = 0
INNER JOIN sys_user d ON a.user_id = d.id AND b.deleted = 0
INNER JOIN sys_user e ON a.other_user_id = e.id AND b.deleted = 0
Left JOIN biz_company b ON b.id = a.other_company_id
Left JOIN biz_company c ON c.user_id = a.user_id
Left JOIN sys_user d ON a.user_id = d.id
Left JOIN sys_user e ON a.other_user_id = e.id
<if test="ew.customSqlSegment != null and ew.customSqlSegment != ''">
${ew.customSqlSegment}
</if>

View File

@ -35,7 +35,7 @@
a.truck_category,
a.disabled
FROM biz_truck a
INNER JOIN biz_company b ON b.id = a.company_id AND b.deleted = 0
INNER JOIN biz_company b ON b.id = a.company_id
<if test="ew.customSqlSegment != null and ew.customSqlSegment != ''">
${ew.customSqlSegment}
</if>