Browse Source

Merge remote-tracking branch 'origin/develop-yellow' into develop2

eganwu 1 year ago
parent
commit
bf79287e38

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

@@ -255,7 +255,7 @@ public class LongPicText extends Controller {
         attachmentQuery.setWhere("usetype", ownertable);
         if (detailRow.getString("title").equals("6C红人服务")) {
             Long sys_enterpriseid = content.getLongValue("sys_enterpriseid");
-            attachmentQuery.setWhere("t1.attachmentid in(SELECT attachmentid from sys_attachment_links WHERE isonsale=1 and siteid='" + siteid + "' and  ownerid='" + sys_enterpriseid + "' and ownertable ='sys_enterpriseid' and usetype='sys_enterprise')");
+            attachmentQuery.setWhere("t1.attachmentid in(SELECT attachmentid from sys_attachment_links WHERE isonsale=1 and siteid='" + siteid + "' and  ownerid='" + sys_enterpriseid + "' and ownertable ='sys_enterprise' and usetype='sys_enterprise')");
         }
         attachmentQuery.setOrderBy("t1.sequence");
         Rows attachmentRows = attachmentQuery.query();