|
|
@@ -140,6 +140,7 @@ public class notice extends Controller {
|
|
|
SQLFactory sqlFactory = new SQLFactory(this, "通告列表查询", pageSize, pageNumber, pageSorting);
|
|
|
sqlFactory.addParameter_SQL("where", where);
|
|
|
sqlFactory.addParameter("siteid", siteid);
|
|
|
+ sqlFactory.addParameter("userid", userid);
|
|
|
Rows rows = dbConnect.runSqlQuery(sqlFactory);
|
|
|
|
|
|
ArrayList<Long> ids = rows.toArrayList("sat_noticeid", new ArrayList<Long>());
|
|
|
@@ -175,6 +176,7 @@ public class notice extends Controller {
|
|
|
addReadRecord(sat_noticeid);
|
|
|
SQLFactory sqlFactory = new SQLFactory(this, "通告详情查询");
|
|
|
sqlFactory.addParameter("sat_noticeid", sat_noticeid);
|
|
|
+ sqlFactory.addParameter("userid", userid);
|
|
|
Rows rows = dbConnect.runSqlQuery(sqlFactory);
|
|
|
|
|
|
ArrayList<Long> ids = rows.toArrayList("sat_noticeid", new ArrayList<Long>());
|