Browse Source

拉取6C红人服务图片

eganwu 1 year ago
parent
commit
3fbf83ddf3

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

@@ -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);
                 }
                 }
             }
             }