dengbiao há 5 meses
ascendente
cometimento
fd1126fbc3
1 ficheiros alterados com 6 adições e 6 eliminações
  1. +6
    -6
      app/admin/svc/enterprise_manage/svc_self_support_for_school.go

+ 6
- 6
app/admin/svc/enterprise_manage/svc_self_support_for_school.go Ver ficheiro

@@ -784,8 +784,8 @@ func SelfSupportForSchoolOrdStatistics(req md.SelfSupportForSchoolOrdListReq) (p
sess6.And("self_support_for_school_ord.order_status = ?", req.OrderStatus)
}
if req.OutTradeNo != "" {
sqlStr1 += " and self_support_for_school_ord.out_order_no like %" + req.OutTradeNo + "%"
sqlStr += " and self_support_for_school_ord.out_order_no like %" + req.OutTradeNo + "%"
sqlStr1 += " and self_support_for_school_ord.out_order_no like '%" + req.OutTradeNo + "%'"
sqlStr += " and self_support_for_school_ord.out_order_no like '%" + req.OutTradeNo + "%'"
sess3.And("self_support_for_school_ord.out_order_no like ?", "%"+req.OutTradeNo+"%")
sess4.And("self_support_for_school_ord.out_order_no like ?", "%"+req.OutTradeNo+"%")
sess5.And("self_support_for_school_ord.out_order_no like ?", "%"+req.OutTradeNo+"%")
@@ -819,16 +819,16 @@ func SelfSupportForSchoolOrdStatistics(req md.SelfSupportForSchoolOrdListReq) (p
}

if req.Name != "" {
sqlStr1 += " and user_identity.name like %" + req.Name + "%"
sqlStr += " and user_identity.name like %" + req.Name + "%"
sqlStr1 += " and user_identity.name like '%" + req.Name + "%'"
sqlStr += " and user_identity.name like '%" + req.Name + "%'"
sess3.And("user_identity.name like ?", "%"+req.Name+"%")
sess4.And("user_identity.name like ?", "%"+req.Name+"%")
sess5.And("user_identity.name like ?", "%"+req.Name+"%")
sess6.And("user_identity.name like ?", "%"+req.Name+"%")
}
if req.Phone != "" {
sqlStr1 += " and user.phone like %" + req.Phone + "%"
sqlStr += " and user.phone like %" + req.Phone + "%"
sqlStr1 += " and user.phone like '%" + req.Phone + "%'"
sqlStr += " and user.phone like '%" + req.Phone + "%'"
sess3.And("user.phone like ?", "%"+req.Phone+"%")
sess4.And("user.phone like ?", "%"+req.Phone+"%")
sess5.And("user.phone like ?", "%"+req.Phone+"%")


Carregando…
Cancelar
Guardar