소스 검색

设计实景详情bug修复

eganwu 2 년 전
부모
커밋
bf4d309b76
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      src/custom/restcontroller/webmanage/saletool/sharematerial/DesignPic.java

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

@@ -130,7 +130,7 @@ public class DesignPic extends Controller {
         }
 
         QuerySQL attachmentQuery = SQLFactory.createQuerySQL(this, "sys_attachment_links").setTableAlias("t1");
-        attachmentQuery.setSiteid(detailRow.getString("siteid"));
+        attachmentQuery.setSiteid(siteid);
         attachmentQuery.setWhere("ownertable", ownertable);
         attachmentQuery.setWhere("ownerid", sat_sharematerialid);
         attachmentQuery.setWhere("usetype", ownertable);