zjh
2025-02-05 c176d20e59d15d137ab783e260d704b864b6ced0
ltkj-admin/src/main/java/com/ltkj/web/jmreport/JimuController.java
@@ -1,9 +1,6 @@
package com.ltkj.web.jmreport;
import cn.hutool.json.JSONObject;
import cn.hutool.json.JSONUtil;
import com.ltkj.common.core.domain.AjaxResult;
import com.ltkj.hosp.mapper.TestMapper;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import lombok.extern.slf4j.Slf4j;
@@ -13,14 +10,11 @@
import org.springframework.security.access.prepost.PreAuthorize;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;
import org.springframework.web.bind.annotation.RestController;
import java.io.FileInputStream;
import java.io.FileNotFoundException;
import java.io.IOException;
import java.util.List;
import java.util.Map;
import java.util.Properties;
import static jdk.nashorn.internal.runtime.regexp.joni.Config.log;
@@ -40,8 +34,6 @@
    private static String CONFIG_PATH;
    @Autowired
    private TestMapper testMapper;
    @Value ("${config.properties}")
    public void setConfigPath(String path) {
@@ -108,11 +100,4 @@
//    public int view(){
//        return 1;
//    }
    @GetMapping("/getBingZhong")
    public String getBingZhongInfo(@RequestParam("start") String start, @RequestParam("end") String end){
        JSONObject object = JSONUtil.createObj();
        object.putOpt("data",testMapper.getBingZhongInfo(start,end));
        return JSONUtil.toJsonStr(object);
    }
}