提交 15172700 作者: 张小凤

PilotCertificationDao.xml(update)

上级 33a94cf6
...@@ -164,7 +164,9 @@ ...@@ -164,7 +164,9 @@
LEFT JOIN user_account ua ON pc.user_account_id = ua.id LEFT JOIN user_account ua ON pc.user_account_id = ua.id
LEFT JOIN pilot_reason pr ON pc.reason_id = pr.id LEFT JOIN pilot_reason pr ON pc.reason_id = pr.id
WHERE WHERE
1 =1 1 = 1
AND ua.`disable` = 0
AND rna.is_deleted =0
<if test=" areaNumber != null and areaNumber != '' "> <if test=" areaNumber != null and areaNumber != '' ">
and pc.area_number =#{areaNumber} and pc.area_number =#{areaNumber}
</if> </if>
...@@ -174,7 +176,7 @@ ...@@ -174,7 +176,7 @@
<if test=" licenseType != null and licenseType != '' "> <if test=" licenseType != null and licenseType != '' ">
and pc.license_type =#{licenseType} and pc.license_type =#{licenseType}
</if> </if>
<if test=" auditStatus != null and auditStatus != '' "> <if test=" auditStatus != null ">
and pc.audit_status =#{auditStatus} and pc.audit_status =#{auditStatus}
</if> </if>
<if test="accountNumber != null and accountNumber != '' "> <if test="accountNumber != null and accountNumber != '' ">
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论