瀏覽代碼

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>