浏览代码

拉取6C红人服务图片

eganwu 1 年之前
父节点
当前提交
3fbf83ddf3
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      src/custom/restcontroller/webmanage/saletool/sharematerial/LongPicText.java

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

@@ -400,7 +400,7 @@ 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")) {
+                if (tempAttRow.getString("usetype").equals("sys_enterprise")&&tempAttRow.getLong("ownerid")==sys_enterpriseid) {
                     attRows.add(tempAttRow);
                 }
             }