|
@@ -122,7 +122,7 @@ func (this *OrderController) ProductOrderList() {
|
|
|
currentIndex, _ := this.GetInt("CurrentIndex")
|
|
|
sortType := this.GetString("SortType")
|
|
|
KeyWord := this.GetString("KeyWord")
|
|
|
-
|
|
|
+ TemplateUserId, _ := this.GetInt("TemplateUserId", 0)
|
|
|
PaymentDate := this.GetString("PaymentDate")
|
|
|
PaymentWay := this.GetString("PaymentWay")
|
|
|
CreatedDate := this.GetString("CreatedDate")
|
|
@@ -152,7 +152,9 @@ func (this *OrderController) ProductOrderList() {
|
|
|
if PaymentWay != "" {
|
|
|
condition += " AND payment_way='" + PaymentWay + "'"
|
|
|
}
|
|
|
-
|
|
|
+ if TemplateUserId > 0 {
|
|
|
+ condition += fmt.Sprintf(" AND template_user_id=%d", TemplateUserId)
|
|
|
+ }
|
|
|
if OrderStatus != "" {
|
|
|
switch OrderStatus {
|
|
|
case "pending":
|