feiyu02
2024-10-12 7cd8d2a1e96de3d173bf5af64b4adc29c497db2a
src/main/kotlin/cn/flightfeather/supervision/domain/ds1/repository/ProblemRep.kt
@@ -8,6 +8,15 @@
@Repository
class ProblemRep(private val problemlistMapper: ProblemlistMapper) {
    fun insert(problemlist: Problemlist): Int {
        return problemlistMapper.insert(problemlist)
    }
    fun update(problemlist: Problemlist): Int {
        return problemlistMapper.updateByPrimaryKey(problemlist)
    }
    /**
     * 获取各场景的问题和整改数量统计
     */