| | |
| | | <result column="activityId" property="activityId"/> |
| | | <result column="companyId" property="companyId"/> |
| | | <result column="payMoney" property="payMoney"/> |
| | | <result column="thankYouFee" property="thankYouFee"/> |
| | | <result column="passengers" property="passengers"/> |
| | | <result column="passengersPhone" property="passengersPhone"/> |
| | | <result column="sort" property="sort"/> |
| | |
| | | a.bindId as bindId, |
| | | a.peopleNumber as peopleNumber, |
| | | a.payMoney as payMoney, |
| | | a.thankYouFee, |
| | | a.payManner as payManner, |
| | | a.seatNumber as seatNumber, |
| | | (select phone from t_phone where companyId = a.companyId and `type` = 1) as emergencyCall |
| | |
| | | telX as telX, |
| | | bindId as bindId |
| | | from t_order_cross_city where state = 2 and (UNIX_TIMESTAMP(travelTime) - UNIX_TIMESTAMP(now())) between 1710 and 1800 |
| | | </select> |
| | | |
| | | |
| | | <select id="taskMidAxbUnBindSend" resultType="OrderCrossCity"> |
| | | select * from t_order_cross_city where (state in (8, 9) and telX != '' and telX is not null and (UNIX_TIMESTAMP(now()) - UNIX_TIMESTAMP(endServiceTime)) > 1800) or (state = 10 and telX != '' and telX is not null) |
| | | </select> |
| | | </mapper> |