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