Commit 809e5220 authored by Quxl's avatar Quxl

x

parent d96ee4b7
...@@ -781,10 +781,10 @@ public class UserServiceImpl implements UserService { ...@@ -781,10 +781,10 @@ public class UserServiceImpl implements UserService {
+ "sm.sOpenID, " + "sm.sOpenID, "
+ "sm.sBindOpenID, " + "sm.sBindOpenID, "
+ "sm.sPlugid, " + "sm.sPlugid, "
+ "case when (sm.sBankTypeID is not null and sm.sBankTypeID != '' and sm.sBankAccount is not null and sm.sBankAccount != '' and sm.sBankAccountNO is not null and sm.sBankAccountNO != '') then sm.sBankTypeID else o.sBankTypeID end sBankTypeID, " + "case when (sm.sBankTypeID is not null and sm.sBankTypeID != '' and sm.sBankAccount is not null and sm.sBankAccount != '' and sm.sBankAccountNO is not null and sm.sBankAccountNO != '') then sm.sBankTypeID else o.sBankTypeID end sBankTypeID, "
+ "case when (sm.sBankTypeID is not null and sm.sBankTypeID != '' and sm.sBankAccount is not null and sm.sBankAccount != '' and sm.sBankAccountNO is not null and sm.sBankAccountNO != '') then sm.sBankType else o.sBankType end sBankType, " + "case when (sm.sBankTypeID is not null and sm.sBankTypeID != '' and sm.sBankAccount is not null and sm.sBankAccount != '' and sm.sBankAccountNO is not null and sm.sBankAccountNO != '') then sm.sBankType else o.sBankType end sBankType, "
+ "case when (sm.sBankTypeID is not null and sm.sBankTypeID != '' and sm.sBankAccount is not null and sm.sBankAccount != '' and sm.sBankAccountNO is not null and sm.sBankAccountNO != '') then sm.sBankAccountNO else o.sBankAccountNO end sBankAccountNO, " + "case when (sm.sBankTypeID is not null and sm.sBankTypeID != '' and sm.sBankAccount is not null and sm.sBankAccount != '' and sm.sBankAccountNO is not null and sm.sBankAccountNO != '') then sm.sBankAccountNO else o.sBankAccountNO end sBankAccountNO, "
+ "case when (sm.sBankTypeID is not null and sm.sBankTypeID != '' and sm.sBankAccount is not null and sm.sBankAccount != '' and sm.sBankAccountNO is not null and sm.sBankAccountNO != '') then sm.sBankAccount else o.sBankAccount end sBankAccount " + "case when (sm.sBankTypeID is not null and sm.sBankTypeID != '' and sm.sBankAccount is not null and sm.sBankAccount != '' and sm.sBankAccountNO is not null and sm.sBankAccountNO != '') then sm.sBankAccount else o.sBankAccount end sBankAccount "
+ "from " + "from "
+ "tSalesman sm, " + "tSalesman sm, "
+ "tShop s " + "tShop s "
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment