提交 5d921ef0 authored 作者: kxjia's avatar kxjia

完善风险监测

上级 b3bccb9d
......@@ -32,7 +32,6 @@ public class MetricMonitorSetHistory implements Serializable {
/**id*/
@TableId(type = IdType.AUTO)
private java.lang.Integer id;
/**指标名称*/
......@@ -147,20 +146,13 @@ public class MetricMonitorSetHistory implements Serializable {
private java.lang.String noticeReceiveMiddle;
@Excel(name = "高风险消息接收人", width = 15)
private java.lang.String noticeReceiveHight;
private java.lang.String createBy;
private java.util.Date createTime;
@TableField(exist = false)
private String domainName;
}
package org.jeecg.modules.stm.metric.entity;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
......@@ -108,4 +109,7 @@ public class MetricStatReport implements Serializable {
@Dict(dicCode="metric_sta_method")
private Integer statMethod;
@TableField(exist = false)
private String[] otherData;
}
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper namespace="org.jeecg.modules.stm.metric.mapper.MetricMonitorSetHightMapper">
</mapper>
\ No newline at end of file
......@@ -172,7 +172,7 @@ public class CreateWordUtil {
out.flush();
out.close();
template.close();
return StmConstans.METRIC_REPORT_SAVE_PATH + File.separator + fileName;
return StmConstans.METRIC_REPORT_SAVE_PATH + "/" + fileName;
} catch (Exception e) {
throw e;
} finally {
......
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper namespace="org.stm.metric.mapper.MetricStatReportMapper">
<mapper namespace="org.jeecg.modules.stm.metric.mapper.MetricStatReportMapper">
<select id="queryMetricStatByDomain" resultType="java.util.Map">
SELECT
IFNULL(D.domain_code, -1) AS code,
......
......@@ -75,9 +75,7 @@ public class LoginController {
* 线程池用于异步发送纪要
*/
public static ExecutorService cachedThreadPool = new ShiroThreadPoolExecutor(0, 1024, 60L, TimeUnit.SECONDS, new SynchronousQueue<>());
@Operation(summary="登录接口")
@RequestMapping(value = "/login", method = RequestMethod.POST)
public Result<JSONObject> login(@RequestBody SysLoginModel sysLoginModel, HttpServletRequest request){
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论