feiyu02
2026-01-21 fe031e01cc1737c2f05a133fde7c36c7a2a7b4b4
src/main/kotlin/cn/flightfeather/supervision/lightshare/web/LedgerController.kt
@@ -63,6 +63,15 @@
        @ApiParam("台账图片") @RequestPart("images") files:Array<MultipartFile>
    ) = ledgerService.uploadLedger(userId, ledgerVoList, files)
    @ApiOperation("上传不涉及台账")
    @PostMapping("/upload/noLedger")
    fun uploadNoLedger(
        @RequestParam("userId") userId: String,
        @RequestParam("time") time: String,
        @RequestParam(required = false) remark: String?,
        @RequestBody ledgerIdList: List<Int>
    ) = ledgerService.uploadNoLedger(userId, time, remark, ledgerIdList)
    @ApiOperation(value = "获取某个台账显示图标url")
    @GetMapping("/{userId}/img")
    fun getLedgerImg(
@@ -81,9 +90,9 @@
    @ApiOperation("复制场景的台账")
    @PostMapping("/copy")
    fun copyLedger(
        @RequestParam("userId") userId: String,
        @RequestParam("time") time: String,
        @RequestBody copyLedgerList: List<CopyLedgerVo>
        @ApiParam("用户id") @RequestParam("userId") userId: String,
        @ApiParam("复制的目标月份") @RequestParam("time") time: String,
        @ApiParam("需要复制的源台账") @RequestBody copyLedgerList: List<CopyLedgerVo>
    ) = ledgerService.copyLedger(userId, time, copyLedgerList)
    @ApiOperation("审核台账")