소스 검색

update 优化乐保状态批量更新

周箭河 4 년 전
부모
커밋
3b032e0007
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      mec-biz/src/main/resources/config/mybatis/StudentInstrumentMapper.xml

+ 1 - 1
mec-biz/src/main/resources/config/mybatis/StudentInstrumentMapper.xml

@@ -164,7 +164,7 @@
    <![CDATA[
         UPDATE student_instrument
         SET status_ = 0
-        WHERE status_ = 0
+        WHERE status_ = 1
           AND end_time_ <= NOW()
         ]]>
     </update>