diff --git a/Dao/MyBatis/Maps/CM.xml b/Dao/MyBatis/Maps/CM.xml index 1de780c..c6ff23d 100644 --- a/Dao/MyBatis/Maps/CM.xml +++ b/Dao/MyBatis/Maps/CM.xml @@ -1250,7 +1250,10 @@ update cmmenu set ,isplan=#isplan#,iscontent=#iscontent#,isev=#isev#,isrs=#isrs#,isgrade=#isgrade# where cmno=#cmno#; - + + delete from cmmenubm where cmno=#cmno#; + + delete from cmmenubm where cmno=#cmno# and bmno not in ($bmnos$); insert into cmmenubm (cmno,bmno,) @@ -1258,6 +1261,7 @@ from boardmaster a left outer join cmmenubm b on b.cmno=#cmno# and b.bmno=a.bmno where a.bmno in ($bmnos$) and b.bmno is null; +