Commit b679969f by 王昆

gsb

parent eaac3616
......@@ -11,7 +11,7 @@ class UserDao extends Dao {
*/
async findUserBySaasId(params) {
let sql = [];
sql.push('select ucid,ucname,uctype,saas_id,isEnabled from uc_user where 1 = 1');
sql.push('select * from uc_user where 1 = 1');
if (params.ucid) {
sql.push("AND ucid = :ucid");
}
......@@ -102,6 +102,10 @@ class UserDao extends Dao {
sql.push("AND t1.uctype = :uctype");
}
if (params.uctypeId) {
sql.push("AND t1.uctypeId = :uctypeId");
}
if (params.ucname) {
sql.push("AND t1.ucname LIKE :ucname");
}
......
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