| | |
| | | order_id, |
| | | file, |
| | | name, |
| | | create_time |
| | | ) value (null ,#{orderId},#{url},#{name},now()) |
| | | create_time,category |
| | | ) value (null ,#{orderId},#{url},#{name},now(),4) |
| | | </insert> |
| | | |
| | | <update id="agreePay"> |
| | |
| | | and success_time BETWEEN #{sTime} and #{eTime} |
| | | </if> |
| | | </select> |
| | | <select id="queryAllOrderDatas" resultType="java.util.Map"> |
| | | SELECT too.id, |
| | | tc.`name`, |
| | | too.s_email as mailAddr, |
| | | tp.car_price as amount, |
| | | tp.price as unitPrice |
| | | FROM `t_order` AS too |
| | | JOIN t_user tu ON too.user_id = tu.id |
| | | JOIN t_company tc ON too.company_id = tc.id |
| | | join t_price tp on too.id = tp.order_id |
| | | WHERE too.STATUS = 1 |
| | | </select> |
| | | |
| | | </mapper> |