|
@@ -198,8 +198,8 @@ func (this *CourseManage) OrderList() {
|
|
|
c_type := this.GetString("strSel2") //请求类型 0:订单编号 1:课程名称 2:联系人(订单表中 user_nickname 暂存联系人信息) 3:联系人手机号
|
|
|
c_content := this.GetString("strCont")
|
|
|
var sql = ``
|
|
|
- var c_sql = `SELECT order_status,order_code,pay_time,filter,applybill_status,pay_money,order_money,course_status,pay_way FROM dataexport_order WHERE product_type = '招投标课程' and `
|
|
|
- var c_sql_c = `SELECT count(*) FROM dataexport_order WHERE product_type = '招投标课程' and `
|
|
|
+ var c_sql = `SELECT order_status,order_code,pay_time,filter,applybill_status,pay_money,order_money,course_status,pay_way FROM dataexport_order WHERE product_type in ('招投标课程','线上课程') and `
|
|
|
+ var c_sql_c = `SELECT count(*) FROM dataexport_order WHERE product_type in ('招投标课程','线上课程') and `
|
|
|
if c_status != "" {
|
|
|
sql += `order_status =` + fmt.Sprint(c_status)
|
|
|
} else {
|