src/main/kotlin/cn/flightfeather/supervision/lightshare/web/LedgerController.kt
@@ -60,8 +60,19 @@
    fun uploadLedger(
        @ApiParam("用户id") @PathVariable userId: String,
        @ApiParam("台账信息json") @RequestParam("params") ledgerVoList: String,
        @ApiParam("台账图片") @RequestPart("images") files:Array<MultipartFile>
    ) = ledgerService.uploadLedger(userId, ledgerVoList, files)
        @ApiParam("临时文件名和原始文件名称的对应列表") @RequestParam("fileNames", required = false)
        fileNames: String?,
        @ApiParam("台账图片") @RequestPart("images") files: Array<MultipartFile>,
    ) = ledgerService.uploadLedger(userId, ledgerVoList, fileNames, 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")
@@ -81,9 +92,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("审核台账")