修改文件上传大小。修改待办预警

This commit is contained in:
liuwu 2023-12-28 15:53:49 +08:00
parent 8ddfbbe772
commit 5220bb806c
5 changed files with 17 additions and 3 deletions

View File

@ -74,6 +74,7 @@ public class TAmentPartyAffairsController extends BaseController
if (!getLoginName().equals("admin")){ if (!getLoginName().equals("admin")){
tAmentPartyAffairs.setHead(getSysUser().getUserId()+""); tAmentPartyAffairs.setHead(getSysUser().getUserId()+"");
} }
tAmentPartyAffairs.setCurrentUser(getSysUser().getUserName());
List<TAmentPartyAffairs> list = tAmentPartyAffairsService.allList(tAmentPartyAffairs); List<TAmentPartyAffairs> list = tAmentPartyAffairsService.allList(tAmentPartyAffairs);
return getDataTable(list); return getDataTable(list);
} }

View File

@ -51,6 +51,16 @@ public class TAmentPartyAffairs extends BaseEntity
// @Excel(name = "单位名称") // @Excel(name = "单位名称")
private String unit; private String unit;
private String currentUser;
public String getCurrentUser() {
return currentUser;
}
public void setCurrentUser(String currentUser) {
this.currentUser = currentUser;
}
private String shotName; private String shotName;
private String examineType; private String examineType;

View File

@ -65,7 +65,7 @@ spring:
servlet: servlet:
multipart: multipart:
# 单个文件大小 # 单个文件大小
max-file-size: 100MB max-file-size: 200MB
# 设置总上传的文件大小 # 设置总上传的文件大小
max-request-size: 1000MB max-request-size: 1000MB
# 服务模块 # 服务模块

View File

@ -7,7 +7,7 @@
<body class="white-bg"> <body class="white-bg">
<div class="wrapper wrapper-content animated fadeInRight ibox-content"> <div class="wrapper wrapper-content animated fadeInRight ibox-content">
<form class="form-horizontal m-t" id="commentForm" th:object="${tAmentPartyAffairs}"> <form class="form-horizontal m-t" id="commentForm" th:object="${tAmentPartyAffairs}">
<input id="id" readonly type="hidden" class="form-control" name="id"> <input id="id" readonly type="hidden" th:field="*{id}" class="form-control" name="id">
<div class="row"> <div class="row">
<div class="form-group col-sm-6 col-md-6"> <div class="form-group col-sm-6 col-md-6">
<label class="col-sm-4 col-md-4 control-label">提交时间</label> <label class="col-sm-4 col-md-4 control-label">提交时间</label>
@ -98,9 +98,11 @@
function submitHandler() { function submitHandler() {
if ($.validate.form()) { if ($.validate.form()) {
var _str = "id="+$("#id").val()+"&nowScore="+$("#nowScore").val()+"&remark="+$("#remark").val();
$.ajax({ $.ajax({
type: "get", type: "get",
url: ctx + "base/affairs/reviewedSave?"+$('#commentForm').serialize(), // url: ctx + "base/affairs/reviewedSave?"+$('#commentForm').serialize(),
url: ctx + "base/affairs/reviewedSave?"+_str,
data: { data: {
}, },
success: function(data) { success: function(data) {

View File

@ -216,6 +216,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
AND a.STATUS = 1 AND a.STATUS = 1
) )
OR ( a.`status` = 2 )) OR ( a.`status` = 2 ))
AND (case WHEN a.status = 1 THEN d.`name` = #{currentUser} WHEN a.status=2 THEN c.`name` = #{currentUser} WHEN a.status=3 THEN d.`name` = #{currentUser} WHEN a.status=4 THEN d.`name` = #{currentUser} ELSE '' END)
ORDER BY ORDER BY
finish_date finish_date