| | |
| | | </update> |
| | | |
| | | <select id="listAll" resultType="com.dsh.course.model.CoursePackagePaymentVO"> |
| | | select t1.id,t1.studentId,t1.payUserType,t1.payStatus,t1.payType,t1.originalPrice,t1.userCouponId,t1.payUserId,t1.giftClassHours,t1.studentId,t1.appUserId,t1.cashPayment,t1.playPaiCoin, |
| | | select |
| | | t1.id,t1.studentId,t1.payUserType,t1.payStatus,t1.payType,t1.originalPrice,t1.userCouponId,t1.payUserId,t1.giftClassHours,t1.studentId,t1.appUserId,t1.cashPayment,t1.playPaiCoin, |
| | | t1.payUserName as buyTypeName, |
| | | CONCAT(t2.province,t2.city) as provinceAndCity,t2.coursePackageTypeId,t2.storeId,t2.name as coursePackage, |
| | | t3.name as coursePackageType |
| | |
| | | and t1.payStatus = #{query.payStatus} |
| | | </if> |
| | | <if test="query.ids !=null and query.ids.size >0"> |
| | | and t2.id in <foreach collection="query.ids" close=")" item="id" open="(" separator=","> |
| | | and t2.id in |
| | | <foreach collection="query.ids" close=")" item="id" open="(" separator=","> |
| | | #{id} |
| | | </foreach> |
| | | </if> |
| | | </where> |
| | | </select> |
| | | <select id="listAllRegister" resultType="com.dsh.course.model.RegisterOrderVO"> |
| | | select t1.id,t1.studentId,t1.payUserType,t1.payStatus,t1.payType,t1.originalPrice,t1.userCouponId,t1.payUserId,t1.giftClassHours,t1.appUserId,t1.cashPayment as money,t1.playPaiCoin, |
| | | select |
| | | t1.id,t1.studentId,t1.payUserType,t1.payStatus,t1.payType,t1.originalPrice,t1.userCouponId,t1.payUserId,t1.giftClassHours,t1.appUserId,t1.cashPayment |
| | | as money,t1.playPaiCoin, |
| | | t1.insertTime, |
| | | CONCAT(t2.province,t2.city) as provinceAndCity,t2.coursePackageTypeId,t2.storeId,t2.name as coursePackageName |
| | | from t_course_package_payment t1 |