|
|
@@ -178,7 +178,9 @@ public class task2 extends Controller {
|
|
|
.setTableAlias("t1");
|
|
|
querySQL.setSiteid(siteid);
|
|
|
querySQL.setWhere("status=0 and userid>0");
|
|
|
- querySQL.setWhere("t1.hrid", hrids);
|
|
|
+ if (userInfo.isSaler()) {
|
|
|
+ querySQL.setWhere("t1.hrid", hrids);
|
|
|
+ }
|
|
|
querySQL.setPage(pageSize, pageNumber);
|
|
|
querySQL.setCondition("t1.name");
|
|
|
Rows rows = querySQL.query();
|