Przeglądaj źródła

add 乐保历史数据处理

周箭河 4 lat temu
rodzic
commit
66f0e3a51e

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

@@ -164,7 +164,8 @@
    <![CDATA[
         UPDATE student_instrument
         SET status_ = 0
-        WHERE end_time_ <= NOW()
+        WHERE status_ = 0
+          AND end_time_ <= NOW()
         ]]>
     </update>
     <select id="getListByEndTime" resultMap="StudentInstrument">