Explorar el Código

/Presale/QueryPresaleDefault:图片查不到问题

deng.yinping hace 2 años
padre
commit
812283a5e7
Se han modificado 1 ficheros con 1 adiciones y 2 borrados
  1. 1 2
      models/presale.go

+ 1 - 2
models/presale.go

@@ -162,8 +162,7 @@ func (r *PresaleDefault) buildSql() string {
        ui.customername "SELLNAME"
   from goods g
   left join CPTrade_PresaleGoodsEx cp
-    on g.goodsid = cp.relatedgoodsid
-   and cp.presalestatus = 2
+    on g.goodsid = cp.relatedgoodsid   
  inner join userinfo ui
     on g.provideruserid = ui.userid
  where g.goodsid = %v