Changes for page 新しい学校ページを作成
Last modified by Super Admin on 2026/03/22 00:39
From version
37.1
edited by Super Admin
on 2026/03/18 20:43
on 2026/03/18 20:43
Change comment:
There is no comment for this version
To version
38.1
edited by Super Admin
on 2026/03/20 10:27
on 2026/03/20 10:27
Change comment:
There is no comment for this version
Summary
Details
- Page properties
-
- Content
-
... ... @@ -25,7 +25,7 @@ 25 25 {{error}}この学校のページは既に存在します。[[既存のページを開く>>$targetPage]]{{/error}} 26 26 #else 27 27 ## 関連校として登録されているかチェック 28 - #set($affQuery = $services.query.hql("select doc.fullName, obj.affiliatedSchoolNamefrom XWikiDocument doc, BaseObject bobj, StringProperty obj where bobj.name = doc.fullName and bobj.className = 'SeitokaiCode.SchoolClass' and obj.id.id = bobj.id and obj.id.name = 'affiliatedSchoolCode' and obj.value = :code").bindValue('code', $schoolCode))28 + #set($affQuery = $services.query.hql("select doc.fullName, nameObj.value from XWikiDocument doc, BaseObject bobj, StringProperty obj, StringProperty nameObj where bobj.name = doc.fullName and bobj.className = 'SeitokaiCode.SchoolClass' and obj.id.id = bobj.id and obj.id.name = 'affiliatedSchoolCode' and obj.value = :code and nameObj.id.id = bobj.id and nameObj.id.name = 'affiliatedSchoolName'").bindValue('code', $schoolCode)) 29 29 #set($affResults = $affQuery.execute()) 30 30 #if($affResults && $affResults.size() > 0) 31 31 #set($affRow = $affResults.get(0))