修改二级车辆查询语句别名错误

koumen
lishiwei 2026-05-14 17:08:12 +08:00
parent f2b0ea637a
commit a84d04a9bc
1 changed files with 2 additions and 2 deletions

View File

@ -88,7 +88,7 @@
AND caca.visit_start_time <= DATE_FORMAT( now(), '%Y-%m-%d' )
and caca.audit_flag = 2
<if test="licenceNo != null and licenceNo != ''">
AND c.licence_no = #{licenceNo}
AND caca.licence_no = #{licenceNo}
</if>
GROUP BY
caca.licence_no,
@ -125,7 +125,7 @@
AND caca.visit_start_time &lt;= DATE_FORMAT( now(), '%Y-%m-%d' )
and caca.audit_flag = 2
<if test="licenceNo != null and licenceNo != ''">
AND c.licence_no = #{licenceNo}
AND caca.licence_no = #{licenceNo}
</if>
GROUP BY
caca.licence_no,