| | |
| | | </update> |
| | | |
| | | <select id="getReceivable" resultType="com.stylefeng.guns.modular.system.model.ReceivableVo"> |
| | | select id,invoice_number invoiceNumber,pay_time invoiceTime ,allTotal total, case 1 when paid=allTotal THEN 1 else 2 end as state from t_order |
| | | select id,invoice_number invoiceNumber,pay_time invoiceTime ,allTotal total, case 1 when paid=allTotal THEN 1 else 2 end as state ,change from t_order |
| | | where user_id =#{userId} and status !=17 |
| | | <if test="sTime !=null"> |
| | | and pay_time between #{sTime} and #{eTime} |
| | |
| | | select * from t_order where user_id =#{userId} and allTotal > paid and status !=17 |
| | | </select> |
| | | |
| | | <select id="getLonLat" resultType="java.util.Map"> |
| | | select lon,lat from t_order_lonlat where orderId =#{orderId} |
| | | </select> |
| | | </mapper> |