| | |
| | | <if test="carrierId != null and carrierId != ''"> and thisTab.carrier_id = #{carrierId}</if> |
| | | <if test="projectName != null and projectName != ''"> and thisTab.project_name like concat('%', #{projectName}, '%')</if> |
| | | <if test="dispatchNo != null and dispatchNo != ''"> and thisTab.dispatch_no = #{dispatchNo}</if> |
| | | <if test="createdTime != null "> and thisTab.created_time = #{createdTime}</if> |
| | | <if test="transportMode != null and transportMode != ''"> and thisTab.transport_mode = #{transportMode}</if> |
| | | <if test="productId != null and productId != ''"> and thisTab.product_id = #{productId}</if> |
| | | <if test="customerName != null and customerName != ''"> and thisTab.customer_name like concat('%', #{customerName}, '%')</if> |
| | |
| | | <if test="actualDepartureTimeBegin != null and actualDepartureTimeBegin != '' and actualDepartureTimeEnd != null and actualDepartureTimeEnd != ''"> and thisTab.actual_departure_time between #{actualDepartureTimeBegin} and #{actualDepartureTimeEnd}</if> |
| | | <if test="requiredArrivalTimeBegin != null and requiredArrivalTimeBegin != '' and requiredArrivalTimeEnd != null and requiredArrivalTimeEnd != ''"> and thisTab.required_arrival_time between #{requiredArrivalTimeBegin} and #{requiredArrivalTimeEnd}</if> |
| | | <if test="actualArrivalTimeBegin != null and actualArrivalTimeBegin != '' and actualArrivalTimeEnd != null and actualArrivalTimeEnd != ''"> and thisTab.actual_arrival_time between #{actualArrivalTimeBegin} and #{actualArrivalTimeEnd}</if> |
| | | <if test="createdTimeBegin != null and createdTimeBegin != '' and createdTimeEnd != null and createdTimeEnd != ''"> and thisTab.created_time between #{createdTimeBegin} and #{createdTimeEnd}</if> |
| | | <if test="beReturn != null and beReturn != ''"> and thisTab.be_return = #{beReturn}</if> |
| | | <if test="dispatchQuantity != null "> and thisTab.dispatch_quantity = #{dispatchQuantity}</if> |
| | | <if test="dispatchWeight != null "> and thisTab.dispatch_weight = #{dispatchWeight}</if> |
| | |
| | | </foreach> |
| | | </update> |
| | | <update id="updeteCwData"> |
| | | update pending_settlement_business set IS_SYNC = 1 |
| | | update tms_shipment set IS_SYNC = 1 |
| | | where ID in |
| | | <foreach item="id" collection="array" open="(" separator="," close=")"> |
| | | #{id} |