| | |
| | | <if test="assistantDriverName != null and assistantDriverName != ''"> and driver_a.NAME like concat('%', #{assistantDriverName}, '%')</if> |
| | | <if test="pointNum != null "> and ts.POINT_NUM = #{pointNum}</if> |
| | | <if test="quantity != null "> and ts.QUANTITY = #{quantity}</if> |
| | | <if test="actualDepartureTime != null "> and ts.ACTUAL_DEPARTURE_TIME = #{actualDepartureTime}</if> |
| | | <if test="requiredArrivalTime != null "> and ts.REQUIRED_ARRIVAL_TIME = #{requiredArrivalTime}</if> |
| | | <if test="actualArrivalTime != null "> and ts.ACTUAL_ARRIVAL_TIME = #{actualArrivalTime}</if> |
| | | <if test="actualDepartureTimeBegin != null and actualDepartureTimeBegin!='' and actualDepartureTimeEnd != null and actualDepartureTimeEnd!='' "> and ts.ACTUAL_DEPARTURE_TIME between #{actualDepartureTimeBegin} and #{actualDepartureTimeEnd}</if> |
| | | <if test="requiredArrivalTimeBegin != null and requiredArrivalTimeBegin!='' and requiredArrivalTimeEnd != null and requiredArrivalTimeEnd!='' "> and ts.REQUIRED_ARRIVAL_TIME between #{requiredArrivalTimeEnd} and #{requiredArrivalTimeEnd}</if> |
| | | <if test="actualArrivalTimeBegin != null and actualArrivalTimeBegin!='' and actualArrivalTimeEnd != null and actualArrivalTimeEnd!='' "> and ts.ACTUAL_ARRIVAL_TIME between #{actualArrivalTimeEnd} and #{actualArrivalTimeEnd}</if> |
| | | <if test="beReturn != null and beReturn != ''"> and ts.BE_RETURN = #{beReturn}</if> |
| | | <if test="dispatchQuantity != null "> and ts.DISPATCH_QUANTITY = #{dispatchQuantity}</if> |
| | | <if test="dispatchWeight != null "> and ts.DISPATCH_WEIGHT = #{dispatchWeight}</if> |
| | |
| | | |
| | | </select> |
| | | <select id="selectDispatchOrderAttachment" resultType="com.ruoyi.cwgl.domain.vo.DispatchOrderAttachmentVo"> |
| | | -- 查询调度单号或者调度单ID查附件 |
| | | SELECT |
| | | -- image.PATH, |
| | | CONCAT('https://tms.ygalogisticspark.com/ImageViewServlet?id=',image.id) as imageUrl, |
| | |
| | | left join base_fee_item bfi on bfi.id=tof.FEE_TYPE_ID |
| | | WHERE |
| | | ts.DISPATCH_NO = #{no} |
| | | AND image.biz_Type = 'com.vtradex.tms.core.model.entity.fee.TmsOtherFee'; |
| | | AND image.biz_Type = 'com.vtradex.tms.core.model.entity.fee.TmsOtherFee' |
| | | |
| | | |
| | | </select> |