Browse Source

重置试卷模板和题块状态

ywx
雍文秀 15 hours ago
parent
commit
0efffa7f47
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      smarking/src/main/resources/mapper/exam/MsSubjectMapper.xml

+ 1
- 1
smarking/src/main/resources/mapper/exam/MsSubjectMapper.xml View File

87
     </update>
87
     </update>
88
     <!--重置试卷模板和题块状态-->
88
     <!--重置试卷模板和题块状态-->
89
     <update id="updateTempAndBlockStateByMpid">
89
     <update id="updateTempAndBlockStateByMpid">
90
-        update ms_subject s,ms_paper p set s.ptstate=0 s.pbstate=0 where s.msid=p.msid and p.mpid=#{mpid}
90
+        update ms_subject s,ms_paper p set s.ptstate=0,s.pbstate=0 where s.msid=p.msid and p.mpid=#{mpid}
91
     </update>
91
     </update>
92
 
92
 
93
     <!--更改考试科目监考设置状态-->
93
     <!--更改考试科目监考设置状态-->

Loading…
Cancel
Save