| | |
| | | }) |
| | | } |
| | | |
| | | override fun saveComplaint(info: Complaint): Int { |
| | | // TODO: 2023/3/20 not yet implemented |
| | | return 0 |
| | | } |
| | | |
| | | override fun updateComplaint(info: Complaint): Int { |
| | | // TODO: 2023/3/20 not yet implemented |
| | | return 0 |
| | | } |
| | | |
| | | override fun getPunishment(userId: String): List<Punishment> { |
| | | return punishmentMapper.selectByExample(Example(Punishment::class.java).apply { |
| | | createCriteria().andEqualTo("pmSceneId", userId) |
| | | orderBy("pmTime").desc() |
| | | }) |
| | | } |
| | | |
| | | override fun savePunishment(info: Punishment): Int { |
| | | // TODO: 2023/3/20 not yet implemented |
| | | return 0 |
| | | } |
| | | |
| | | override fun updatePunishment(info: Punishment): Int { |
| | | // TODO: 2023/3/20 not yet implemented |
| | | return 0 |
| | | } |
| | | } |