Kaynağa Gözat

Merge remote-tracking branch 'origin/ywx' into wn

tags/正式3.11.0
王宁 1 yıl önce
ebeveyn
işleme
2c15c353d0

+ 2
- 2
sstudy/src/main/resources/mapper/question/QuestionMapper.xml Dosyayı Görüntüle

@@ -273,11 +273,11 @@
273 273
     </select>
274 274
     <!--修改试题状态-->
275 275
     <update id="updateQuestionState">
276
-        update t_question set qstate=#{qstate} where questionid in (${questionIds})
276
+        update t_question set qstate=#{qstate} where questionid in (${questionIds}) or shareqid in (${questionIds})
277 277
     </update>
278 278
     <!--更新单个试题状态-->
279 279
     <update id="updateState">
280
-        update t_question set qstate=#{qstate} where questionid=#{questionid}
280
+        update t_question set qstate=#{qstate} where questionid=#{questionid} or shareqid=#{questionid}
281 281
     </update>
282 282
     <!--更新组题次数-->
283 283
     <update id="updateCount">

Loading…
İptal
Kaydet