|
@@ -282,7 +282,7 @@ public class enterprise extends Controller {
|
|
|
QuerySQL querySQL = SQLFactory.createQuerySQL(this, "sys_enterprise", "siteid", "sys_enterpriseid",
|
|
QuerySQL querySQL = SQLFactory.createQuerySQL(this, "sys_enterprise", "siteid", "sys_enterpriseid",
|
|
|
"phonenumber", "contact", "enterprisename");
|
|
"phonenumber", "contact", "enterprisename");
|
|
|
querySQL.setTableAlias("t1");
|
|
querySQL.setTableAlias("t1");
|
|
|
- querySQL.addJoinTable(JOINTYPE.left, "sa_agents", "t2", "t1.siteid = t2.siteid and t1.sys_enterpriseid = t2.sys_enterpriseid", "agentnum");
|
|
|
|
|
|
|
+ querySQL.addJoinTable(JOINTYPE.left, "sa_agents", "t2", "t1.siteid = t2.siteid and t1.sys_enterpriseid = t2.sys_enterpriseid", "agentnum","signingstate");
|
|
|
querySQL.setSiteid(siteid);
|
|
querySQL.setSiteid(siteid);
|
|
|
querySQL.setWhere("t2.status='1'");
|
|
querySQL.setWhere("t2.status='1'");
|
|
|
if (ispj) {
|
|
if (ispj) {
|