作者 王勇

车辆调度系统,初次提交

... ... @@ -467,15 +467,19 @@
from driver_info
<where>
<trim suffixOverrides=",">
<!-- 驾驶员,姓名 -->
<if test="driverName != null and driverName != ''">
driver_name = #{driverName,jdbcType=VARCHAR},
</if>
<!-- 驾驶员,联系方式 -->
<if test="driverMobile != null and driverMobile != ''">
AND driver_mobile = #{driverMobile,jdbcType=VARCHAR},
</if>
<!-- 驾驶员,所属公司 -->
<if test="driverCompany != null and driverCompany != ''">
AND driver_company = #{driverCompany,jdbcType=VARCHAR},
</if>
<!-- 驾驶员,状态 -->
<if test="driverStatus != null and driverStatus != ''">
AND driver_status = #{driverStatus,jdbcType=VARCHAR}
</if>
... ...