|
@@ -1370,7 +1370,7 @@ select to_char(t.PERFORMANCEPLANID) PERFORMANCEPLANID,
|
|
|
left join tmp
|
|
left join tmp
|
|
|
on f.wrfactortypeid = tmp.wrfactortypeid
|
|
on f.wrfactortypeid = tmp.wrfactortypeid
|
|
|
left join market m on t.marketid=m.marketid
|
|
left join market m on t.marketid=m.marketid
|
|
|
- where 1 = 1 and m.trademode > 0
|
|
|
|
|
|
|
+ where 1 = 1
|
|
|
`
|
|
`
|
|
|
if r.BUYORSELL == 0 {
|
|
if r.BUYORSELL == 0 {
|
|
|
sqlId.And("u1.userid", r.USERID)
|
|
sqlId.And("u1.userid", r.USERID)
|