| | |
| | | SELECT |
| | | c.id, |
| | | c.money, |
| | | c.expirationTime, |
| | | c.endTime as expirationTime, |
| | | c.insertTime, |
| | | c.companyId, |
| | | c.state, |
| | |
| | | </if> |
| | | </select> |
| | | <select id="getDiscountStatic" resultType="map"> |
| | | SELECT IFNULL(SUM(discountMoney),0) money,COUNT(id) number FROM t_order_taxi WHERE activityId=#{activityId} |
| | | SELECT IFNULL(SUM(discountMoney),0) money,COUNT(id) number FROM t_order_private_car WHERE activityId=#{activityId} |
| | | </select> |
| | | <select id="getDiscountStatic1" resultType="map"> |
| | | SELECT IFNULL(SUM(discountMoney),0) money,COUNT(id) number FROM t_order_logistics WHERE activityId=#{activityId} |
| | | </select> |
| | | <select id="getRegStatic" resultType="map"> |
| | | SELECT |