|
|
@@ -256,9 +256,12 @@ public class salearea extends Controller {
|
|
|
}
|
|
|
}
|
|
|
|
|
|
+ ArrayList<Long> ids = SaleArea.getSubSaleAreaIds(this, sa_saleareaid);
|
|
|
+ ids.add(sa_saleareaid);
|
|
|
+
|
|
|
SQLFactory sqlFactory = new SQLFactory(this, "业务员列表查询", pageSize, pageNumber, pageSorting);
|
|
|
sqlFactory.addParameter("siteid", siteid);
|
|
|
- sqlFactory.addParameter_in("sa_saleareaid", SaleArea.getSubSaleAreaIds(this, sa_saleareaid));
|
|
|
+ sqlFactory.addParameter_in("sa_saleareaid", ids);
|
|
|
sqlFactory.addParameter_SQL("where", where);
|
|
|
Rows rows = dbConnect.runSqlQuery(sqlFactory.getSQL());
|
|
|
return getSucReturnObject().setData(rows).toString();
|