Commit d96ee4b7 authored by Quxl's avatar Quxl

x

parent 9235fb87
......@@ -781,10 +781,10 @@ public class UserServiceImpl implements UserService {
+ "sm.sOpenID, "
+ "sm.sBindOpenID, "
+ "sm.sPlugid, "
+ "case when (sm.sBankAccountNO is not null and sm.sBankAccountNO != '') then sm.sBankTypeID else o.sBankTypeID end sBankTypeID, "
+ "case when (sm.sBankAccountNO is not null and sm.sBankAccountNO != '') then sm.sBankType else o.sBankType end sBankType, "
+ "case when (sm.sBankAccountNO is not null and sm.sBankAccountNO != '') then sm.sBankAccountNO else o.sBankAccountNO end sBankAccountNO, "
+ "case when (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.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.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 "
+ "from "
+ "tSalesman sm, "
+ "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