|
|
@@ -47,7 +47,7 @@ public class tagents extends Controller {
|
|
|
/**
|
|
|
* 认证中状态排第一
|
|
|
*/
|
|
|
- SQLFactory singleagentSql = new SQLFactory(this, "个人商户列表查询", pageSize, pageNumber, "case when exists(select *from tagents_msgchangeapp where ftype='商户认证' and fstatus='申请' and tagentsid=t1.tagentsid) then '认证中' else '未认证' end),t1.tagentsid desc");
|
|
|
+ SQLFactory singleagentSql = new SQLFactory(this, "个人商户列表查询", pageSize, pageNumber, "(case when exists(select *from tagents_msgchangeapp where ftype='商户认证' and fstatus='申请' and tagentsid=t1.tagentsid) then '认证中' else '未认证' end),t1.tagentsid desc");
|
|
|
singleagentSql.addParameter("siteid", siteid);
|
|
|
singleagentSql.addParameter_SQL("where", where);
|
|
|
Rows rows = dbConnect.runSqlQuery(singleagentSql.getSQL());
|