Browse Source

update 优化乐保状态批量更新

周箭河 4 years ago
parent
commit
3b032e0007

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

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