作者 王勇

车辆调度系统,初次提交

@@ -467,15 +467,19 @@ @@ -467,15 +467,19 @@
467 from driver_info 467 from driver_info
468 <where> 468 <where>
469 <trim suffixOverrides=","> 469 <trim suffixOverrides=",">
  470 + <!-- 驾驶员,姓名 -->
470 <if test="driverName != null and driverName != ''"> 471 <if test="driverName != null and driverName != ''">
471 driver_name = #{driverName,jdbcType=VARCHAR}, 472 driver_name = #{driverName,jdbcType=VARCHAR},
472 </if> 473 </if>
  474 + <!-- 驾驶员,联系方式 -->
473 <if test="driverMobile != null and driverMobile != ''"> 475 <if test="driverMobile != null and driverMobile != ''">
474 AND driver_mobile = #{driverMobile,jdbcType=VARCHAR}, 476 AND driver_mobile = #{driverMobile,jdbcType=VARCHAR},
475 </if> 477 </if>
  478 + <!-- 驾驶员,所属公司 -->
476 <if test="driverCompany != null and driverCompany != ''"> 479 <if test="driverCompany != null and driverCompany != ''">
477 AND driver_company = #{driverCompany,jdbcType=VARCHAR}, 480 AND driver_company = #{driverCompany,jdbcType=VARCHAR},
478 </if> 481 </if>
  482 + <!-- 驾驶员,状态 -->
479 <if test="driverStatus != null and driverStatus != ''"> 483 <if test="driverStatus != null and driverStatus != ''">
480 AND driver_status = #{driverStatus,jdbcType=VARCHAR} 484 AND driver_status = #{driverStatus,jdbcType=VARCHAR}
481 </if> 485 </if>