관리자>강좌>메뉴설정에서 모든 게시판을 제거했는데 운영자에게 문의하세요 가 출력된다
-> 모든 게시판 선택하지 않아도 등록될 수 있도록 변경 요청
This commit is contained in:
parent
cce147ff91
commit
a53e84be11
|
|
@ -1250,7 +1250,10 @@
|
||||||
<update id="cm.cmmenu.up" parameterClass="hashtable">
|
<update id="cm.cmmenu.up" parameterClass="hashtable">
|
||||||
update cmmenu set <include refid="sql.up"></include>,isplan=#isplan#,iscontent=#iscontent#,isev=#isev#,isrs=#isrs#,isgrade=#isgrade#
|
update cmmenu set <include refid="sql.up"></include>,isplan=#isplan#,iscontent=#iscontent#,isev=#isev#,isrs=#isrs#,isgrade=#isgrade#
|
||||||
where cmno=#cmno#;
|
where cmno=#cmno#;
|
||||||
|
<isEmpty property="bmnos">
|
||||||
|
delete from cmmenubm where cmno=#cmno#;
|
||||||
|
</isEmpty>
|
||||||
|
<isNotEmpty property="bmnos">
|
||||||
delete from cmmenubm where cmno=#cmno# and bmno not in ($bmnos$);
|
delete from cmmenubm where cmno=#cmno# and bmno not in ($bmnos$);
|
||||||
|
|
||||||
insert into cmmenubm (cmno,bmno,<include refid="sql.inc"></include>)
|
insert into cmmenubm (cmno,bmno,<include refid="sql.inc"></include>)
|
||||||
|
|
@ -1258,6 +1261,7 @@
|
||||||
from boardmaster a
|
from boardmaster a
|
||||||
left outer join cmmenubm b on b.cmno=#cmno# and b.bmno=a.bmno
|
left outer join cmmenubm b on b.cmno=#cmno# and b.bmno=a.bmno
|
||||||
where a.bmno in ($bmnos$) and b.bmno is null;
|
where a.bmno in ($bmnos$) and b.bmno is null;
|
||||||
|
</isNotEmpty>
|
||||||
</update>
|
</update>
|
||||||
|
|
||||||
<select id="cm.cminfile" parameterClass="int" resultClass="data">
|
<select id="cm.cminfile" parameterClass="int" resultClass="data">
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue