package com.rongwei.bsserver.sys.controller;

import cn.hutool.json.JSONUtil;
import com.rongwei.bscommon.sys.service.EquipmentArchivesService;
import com.rongwei.bscommon.sys.service.EquipmentDisposeService;
import com.rongwei.rwcommon.base.R;
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.*;
import java.util.ArrayList;
import java.util.List;
import java.util.Map;

@RestController
@RequestMapping("/equipmentDispose")
@Slf4j
public class EquipmentDisposeController {

    @Autowired
    EquipmentDisposeService equipmentDisposeService;


    @PostMapping("/dealExcelData")
    @ResponseBody
    public R wordExportLubricationTask(@RequestBody Map<String, Object> map){

        return equipmentDisposeService.dealExcelData(map);

    }


}
