Browse Source

广告详情返回权限信息

eganwu 1 year ago
parent
commit
1c1d08c06a

+ 1 - 1
src/custom/restcontroller/webmanage/saletool/sharematerial/EquipmentResourceLibrary.java

@@ -322,7 +322,7 @@ public class EquipmentResourceLibrary extends Controller {
             Rows attRows = new Rows();
             Rows tempAttRows = attRowsMap.getOrDefault(row.getString("attachmentid"), new Rows());
             for (Row tempAttRow : tempAttRows) {
-                if (tempAttRow.getString("ownertable").equals(ownertable)) {
+                if (tempAttRow.getString("usetype").equals(ownertable)) {
                     attRows.add(tempAttRow);
                 }
             }