feiyu02
2024-01-09 c1becf4cbd2e99601ce011c14b8742427249cfb4
src/main/kotlin/cn/flightfeather/supervision/business/autooutput/score/storage/StScoreItem1.kt
@@ -33,7 +33,7 @@
     *      1.问题部分整改或不及时提供材料
     *      2.问题无整改
     */
    override fun otherProblem(size: Int): Int? {
    override fun otherProblem(size: Int): List<Int>? {
        val p = problemlistMapper.selectByExample(Example(Problemlist::class.java).apply {
            createCriteria().andEqualTo("stguid", evaluationScene.subTask.value?.stguid)
//                .andGreaterThanOrEqualTo("time", info.sTime)
@@ -49,8 +49,8 @@
            }
        }
        return when {
            changed == 0 && total > 0 -> 1
            changed < total -> 0
            changed == 0 && total > 0 -> listOf(1)
            changed < total -> listOf(0)
            else -> null
        }
    }