|
@@ -400,7 +400,7 @@ public class LongPicText extends Controller {
|
|
Rows attRows = new Rows();
|
|
Rows attRows = new Rows();
|
|
Rows tempAttRows = attRowsMap.getOrDefault(row.getString("attachmentid"), new Rows());
|
|
Rows tempAttRows = attRowsMap.getOrDefault(row.getString("attachmentid"), new Rows());
|
|
for (Row tempAttRow : tempAttRows) {
|
|
for (Row tempAttRow : tempAttRows) {
|
|
- if (tempAttRow.getString("usetype").equals("sys_enterprise")) {
|
|
|
|
|
|
+ if (tempAttRow.getString("usetype").equals("sys_enterprise")&&tempAttRow.getLong("ownerid")==sys_enterpriseid) {
|
|
attRows.add(tempAttRow);
|
|
attRows.add(tempAttRow);
|
|
}
|
|
}
|
|
}
|
|
}
|