| | |
| | | <result property="seamlessNumber" column="seamless_number" /> |
| | | <result property="seamlessSupplierId" column="seamless_supplier_id" /> |
| | | <result property="seamlessSupplierName" column="seamless_supplier_name" /> |
| | | <result property="notes" column="notes" /> |
| | | |
| | | </resultMap> |
| | | |
| | |
| | | </sql> |
| | | |
| | | <sql id="whereCondition"> |
| | | <if test="dispatchNo != null and dispatchNo != ''"> and thisTab.dispatch_no = #{dispatchNo}</if> |
| | | <if test="dispatchNo != null and dispatchNo != ''"> and thisTab.dispatch_no like concat('%', #{dispatchNo}, '%')</if> |
| | | <if test="customerId != null "> and thisTab.customer_id = #{customerId}</if> |
| | | <if test="customerCode != null and customerCode != ''"> and thisTab.customer_code = #{customerCode}</if> |
| | | <if test="customerName != null and customerName != ''"> and thisTab.customer_name like concat('%', #{customerName}, '%')</if> |
| | |
| | | <if test="assistantDriverName != null and assistantDriverName != ''"> and thisTab.assistant_driver_name like concat('%', #{assistantDriverName}, '%')</if> |
| | | <if test="requiredVehicleTypes != null and requiredVehicleTypes != ''"> and thisTab.required_vehicle_types = #{requiredVehicleTypes}</if> |
| | | <if test="vehicleId != null "> and thisTab.vehicle_id = #{vehicleId}</if> |
| | | <if test="licensePlate != null and licensePlate != ''"> and thisTab.license_plate = #{licensePlate}</if> |
| | | <if test="licensePlate != null and licensePlate != ''"> and thisTab.license_plate like concat('%', #{licensePlate}, '%')</if> |
| | | <if test="shipperId != null "> and thisTab.shipper_id = #{shipperId}</if> |
| | | <if test="shipperName != null and shipperName != ''"> and thisTab.shipper_name like concat('%', #{shipperName}, '%')</if> |
| | | <if test="shipperMobile != null and shipperMobile != ''"> and thisTab.shipper_mobile = #{shipperMobile}</if> |
| | |
| | | <if test="seamlessNumber != null">seamless_number = #{seamlessNumber},</if> |
| | | <if test="seamlessSupplierId != null">seamless_supplier_id = #{seamlessSupplierId},</if> |
| | | <if test="seamlessSupplierName != null">seamless_supplier_name = #{seamlessSupplierName},</if> |
| | | <if test="notes != null">notes = #{notes},</if> |
| | | </trim> |
| | | where id = #{id} |
| | | </update> |
| | |
| | | </if> |
| | | |
| | | |
| | | and tdd.driver_id = #{driverId}; |
| | | and tdd.driver_id = #{driverId} |
| | | ORDER BY tdd.id DESC |
| | | </select> |
| | | <select id="selectAssignedItineraryDetail" resultType="com.ruoyi.tms.domain.vo.DriverDispatchVo"> |
| | | SELECT tdo.dispatch_no, tdo.customer_name, tdo.license_plate,tdo.transport_line,tdo.status,tdo.latest_departure, |
| | |
| | | limit 50 |
| | | </select> |
| | | |
| | | </mapper> |
| | | </mapper> |