系统bug修改
This commit is contained in:
parent
8136a62e90
commit
ae1d3efa73
|
|
@ -2,6 +2,7 @@ package com.bonus.common.core.web.page;
|
|||
|
||||
import com.bonus.common.core.text.Convert;
|
||||
import com.bonus.common.core.utils.ServletUtils;
|
||||
import org.hibernate.validator.internal.util.StringHelper;
|
||||
//import org.jetbrains.annotations.NotNull;
|
||||
|
||||
/**
|
||||
|
|
@ -43,8 +44,21 @@ public class TableSupport
|
|||
public static PageDomain getPageDomain()
|
||||
{
|
||||
PageDomain pageDomain = new PageDomain();
|
||||
pageDomain.setPageNum(Convert.toInt(ServletUtils.getParameter(PAGE_NUM), 1));
|
||||
pageDomain.setPageSize(Convert.toInt(ServletUtils.getParameter(PAGE_SIZE), 10));
|
||||
String pageNum=ServletUtils.getParameter(PAGE_NUM);
|
||||
String pageSize=ServletUtils.getParameter(PAGE_SIZE);
|
||||
if(!StringHelper.isNullOrEmptyString(pageNum)){
|
||||
Integer num=Integer.parseInt(pageNum);
|
||||
pageDomain.setPageNum(num);
|
||||
}else {
|
||||
pageDomain.setPageNum(1);
|
||||
}
|
||||
if(!StringHelper.isNullOrEmptyString(pageSize)){
|
||||
Integer num2=Integer.parseInt(pageSize);
|
||||
pageDomain.setPageSize(num2);
|
||||
}else {
|
||||
pageDomain.setPageSize(100);
|
||||
}
|
||||
|
||||
pageDomain.setOrderByColumn(ServletUtils.getParameter(ORDER_BY_COLUMN));
|
||||
pageDomain.setIsAsc(ServletUtils.getParameter(IS_ASC));
|
||||
pageDomain.setReasonable(ServletUtils.getParameterToBool(REASONABLE));
|
||||
|
|
|
|||
|
|
@ -2,6 +2,7 @@ package com.bonus.common.swagger.config;
|
|||
|
||||
import java.util.ArrayList;
|
||||
import java.util.Arrays;
|
||||
import java.util.Collections;
|
||||
import java.util.List;
|
||||
import java.util.function.Predicate;
|
||||
import org.springframework.boot.autoconfigure.condition.ConditionalOnProperty;
|
||||
|
|
@ -34,7 +35,9 @@ public class SwaggerAutoConfiguration
|
|||
/**
|
||||
* 默认的排除路径,排除Spring Boot默认的错误处理路径和端点
|
||||
*/
|
||||
private static final List<String> DEFAULT_EXCLUDE_PATH = Arrays.asList("/error", "/actuator/**");
|
||||
// private static final List<String> DEFAULT_EXCLUDE_PATH = Arrays.asList("/error", "/actuator/**");
|
||||
|
||||
private static final List<String> DEFAULT_EXCLUDE_PATH = Collections.singletonList("/error");
|
||||
|
||||
private static final String BASE_PATH = "/**";
|
||||
|
||||
|
|
|
|||
|
|
@ -64,6 +64,7 @@ public class BusinessServiceImpl implements BusinessService {
|
|||
return AjaxResult.error("请选择审核类型");
|
||||
}
|
||||
//驳回id
|
||||
String status="1";
|
||||
String rejectId = null;
|
||||
String rejectSort = null;
|
||||
String rejectVersion = null;
|
||||
|
|
@ -87,6 +88,9 @@ public class BusinessServiceImpl implements BusinessService {
|
|||
// }
|
||||
rejectId = list.get(0).getUserId();
|
||||
rejectSort = list.get(0).getSort();
|
||||
if(!"0".equals(rejectSort)){
|
||||
status="2";
|
||||
}
|
||||
rejectVersion = list.get(0).getVersion();
|
||||
repeatedSubmit = list.get(0).getRepeatedSubmit();
|
||||
} else if (list != null && list.size() > 1) {
|
||||
|
|
@ -191,7 +195,7 @@ public class BusinessServiceImpl implements BusinessService {
|
|||
}
|
||||
} else {
|
||||
//重新提交至驳回之人
|
||||
return rejectSubmit(auditTask, screenExamineId, rejectSort, rejectVersion, rejectId, userId, taskId, iaAdd, version, repeatedSubmit, null, null, examineType);
|
||||
return rejectSubmit(auditTask, screenExamineId, rejectSort, rejectVersion, rejectId, userId, taskId, iaAdd, version, repeatedSubmit, null, null, examineType,status);
|
||||
}
|
||||
|
||||
break;
|
||||
|
|
@ -269,7 +273,7 @@ public class BusinessServiceImpl implements BusinessService {
|
|||
}
|
||||
|
||||
|
||||
return rejectSubmit(auditTask, screenExamineId, rejectSort, rejectVersion, rejectId, userId, taskId, iaAdd, version, repeatedSubmit, supUserId, null, examineType);
|
||||
return rejectSubmit(auditTask, screenExamineId, rejectSort, rejectVersion, rejectId, userId, taskId, iaAdd, version, repeatedSubmit, supUserId, null, examineType,status);
|
||||
}
|
||||
|
||||
case "03":
|
||||
|
|
@ -298,7 +302,7 @@ public class BusinessServiceImpl implements BusinessService {
|
|||
//分包商提交 下一步进入承包商审核流程
|
||||
contUserId = String.valueOf(StringUtils.isNotEmpty(uuidMap.get("contUserId") + "") ? uuidMap.get("contUserId") : null);
|
||||
supUserId = String.valueOf(StringUtils.isNotEmpty(uuidMap.get("supUserId") + "") ? uuidMap.get("supUserId") : null);
|
||||
return rejectSubmit(auditTask, exId, rejectSort, rejectVersion, rejectId, userId, taskId, iaAdd, version, repeatedSubmit, supUserId, contUserId, examineType);
|
||||
return rejectSubmit(auditTask, exId, rejectSort, rejectVersion, rejectId, userId, taskId, iaAdd, version, repeatedSubmit, supUserId, contUserId, examineType,status);
|
||||
}
|
||||
|
||||
case "00":
|
||||
|
|
@ -348,7 +352,7 @@ public class BusinessServiceImpl implements BusinessService {
|
|||
}
|
||||
} else {
|
||||
//重新提交至驳回之人
|
||||
return rejectSubmit(auditTask, screenExamineId, rejectSort, rejectVersion, rejectId, userId, taskId, iaAdd, version, repeatedSubmit, null, null, examineType);
|
||||
return rejectSubmit(auditTask, screenExamineId, rejectSort, rejectVersion, rejectId, userId, taskId, iaAdd, version, repeatedSubmit, null, null, examineType,status);
|
||||
}
|
||||
default:
|
||||
return AjaxResult.error("审核提交失败");
|
||||
|
|
@ -358,7 +362,7 @@ public class BusinessServiceImpl implements BusinessService {
|
|||
|
||||
|
||||
private AjaxResult rejectSubmit(AuditTask auditTask, String screenExamineId, String rejectSort, String rejectVersion,
|
||||
String rejectId, String userId, String taskId, boolean iaAdd, String version, String repeatedSubmit, String supUserId, String contUserId, String examineType) {
|
||||
String rejectId, String userId, String taskId, boolean iaAdd, String version, String repeatedSubmit, String supUserId, String contUserId, String examineType,String status) {
|
||||
//还未到业主审核
|
||||
if ("0".equals(rejectSort)) {
|
||||
List<String> finalList = new ArrayList<>();
|
||||
|
|
@ -484,7 +488,7 @@ public class BusinessServiceImpl implements BusinessService {
|
|||
}
|
||||
|
||||
return startFlowAble(auditTask, finalList, userId, taskId, ProcessConstants.OWNER, newFinalJudgment
|
||||
, newExamineId, newSort, newProcessKey, iaAdd, "1", version);
|
||||
, newExamineId, newSort, newProcessKey, iaAdd, status, version);
|
||||
} else {
|
||||
return AjaxResult.error("审核提交失败");
|
||||
}
|
||||
|
|
@ -916,12 +920,25 @@ public class BusinessServiceImpl implements BusinessService {
|
|||
}
|
||||
finalList.get(0).setIsActive("10");
|
||||
}
|
||||
|
||||
boolean isBh=true;
|
||||
for (ConfigurationVo configurationVo : finalList) {
|
||||
if (configurationVo.getAuditStatus() == null) {
|
||||
configurationVo.setAuditStatus(4);
|
||||
break;
|
||||
if (configurationVo.getAuditStatus() !=null) {
|
||||
if (configurationVo.getAuditStatus() == 2) {
|
||||
isBh = false;
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
if(isBh){
|
||||
for (ConfigurationVo configurationVo : finalList) {
|
||||
if(configurationVo.getAuditStatus() ==null){
|
||||
configurationVo.setAuditStatus(4);
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
return finalList;
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -116,10 +116,11 @@ public class AdmissionRequestServiceImpl implements AdmissionRequestService {
|
|||
proInsId.add((String)map.get("proInsId"));
|
||||
checkMaps.put((String)map.get("proInsId"),(String) map.get("finalCheck"));
|
||||
});
|
||||
if(StringUtils.isNotEmpty(data)){
|
||||
bean.setDataType(1);
|
||||
bean.setProInsId(proInsId);
|
||||
if (!StringUtils.isNotEmpty(data)) {
|
||||
proInsId.add("999");
|
||||
}
|
||||
bean.setDataType(1);
|
||||
bean.setProInsId(proInsId);
|
||||
}
|
||||
}
|
||||
PageUtils.startPage();
|
||||
|
|
@ -474,10 +475,11 @@ public class AdmissionRequestServiceImpl implements AdmissionRequestService {
|
|||
proInsId.add((String)map.get("proInsId"));
|
||||
checkMaps.put((String)map.get("proInsId"),(String) map.get("finalCheck"));
|
||||
});
|
||||
if(StringUtils.isNotEmpty(data)){
|
||||
bean.setDataType(1);
|
||||
bean.setProInsId(proInsId);
|
||||
if (!StringUtils.isNotEmpty(data)) {
|
||||
proInsId.add("999");
|
||||
}
|
||||
bean.setDataType(1);
|
||||
bean.setProInsId(proInsId);
|
||||
}
|
||||
}
|
||||
PageUtils.startPage();
|
||||
|
|
|
|||
|
|
@ -59,10 +59,12 @@ public class ConsApprovalServiceImpl implements ConsApprovalService {
|
|||
proInsId.add((String)map.get("proInsId"));
|
||||
checkMaps.put((String)map.get("proInsId"),(String) map.get("finalCheck"));
|
||||
});
|
||||
if(StringUtils.isNotEmpty(data)){
|
||||
bean.setDataType(1);
|
||||
bean.setProInsId(proInsId);
|
||||
if (!StringUtils.isNotEmpty(data)) {
|
||||
proInsId.add("999");
|
||||
}
|
||||
bean.setDataType(1);
|
||||
bean.setProInsId(proInsId);
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -88,10 +88,11 @@ public class ContEntryExitServiceImpl implements ContEntryExitService {
|
|||
proInsId.add((String)map.get("proInsId"));
|
||||
checkMaps.put((String)map.get("proInsId"),(String) map.get("finalCheck"));
|
||||
});
|
||||
if(StringUtils.isNotEmpty(data)){
|
||||
bean.setDataType(1);
|
||||
bean.setProInsId(proInsId);
|
||||
if (!StringUtils.isNotEmpty(data)) {
|
||||
proInsId.add("999");
|
||||
}
|
||||
bean.setDataType(1);
|
||||
bean.setProInsId(proInsId);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
@ -228,10 +229,11 @@ public class ContEntryExitServiceImpl implements ContEntryExitService {
|
|||
proInsId.add((String)map.get("proInsId"));
|
||||
checkMaps.put((String)map.get("proInsId"),(String) map.get("finalCheck"));
|
||||
});
|
||||
if(StringUtils.isNotEmpty(data)){
|
||||
bean.setDataType(1);
|
||||
bean.setProInsId(proInsId);
|
||||
if (!StringUtils.isNotEmpty(data)) {
|
||||
proInsId.add("999");
|
||||
}
|
||||
bean.setDataType(1);
|
||||
bean.setProInsId(proInsId);
|
||||
}
|
||||
}
|
||||
PageUtils.startPage();
|
||||
|
|
|
|||
|
|
@ -92,10 +92,11 @@ public class EngineeringEquipmentBindServiceImpl implements EngineeringEquipment
|
|||
proInsId.add((String)map.get("proInsId"));
|
||||
checkMaps.put((String)map.get("proInsId"),(String) map.get("finalCheck"));
|
||||
});
|
||||
if(StringUtils.isNotEmpty(data)){
|
||||
bean.setDataType(1);
|
||||
bean.setProInsId(proInsId);
|
||||
if (!StringUtils.isNotEmpty(data)) {
|
||||
proInsId.add("999");
|
||||
}
|
||||
bean.setDataType(1);
|
||||
bean.setProInsId(proInsId);
|
||||
}
|
||||
}
|
||||
PageUtils.startPage();
|
||||
|
|
|
|||
|
|
@ -65,10 +65,11 @@ public class EquipServiceImpl implements EquipService {
|
|||
proInsId.add((String)map.get("proInsId"));
|
||||
checkMaps.put((String)map.get("proInsId"),(String) map.get("finalCheck"));
|
||||
});
|
||||
if(StringUtils.isNotEmpty(data)){
|
||||
bean.setDataType(1);
|
||||
bean.setProInsId(proInsId);
|
||||
if (!StringUtils.isNotEmpty(data)) {
|
||||
proInsId.add("999");
|
||||
}
|
||||
bean.setDataType(1);
|
||||
bean.setProInsId(proInsId);
|
||||
}
|
||||
}
|
||||
PageUtils.startPage();
|
||||
|
|
@ -206,10 +207,11 @@ public class EquipServiceImpl implements EquipService {
|
|||
proInsId.add((String)map.get("proInsId"));
|
||||
checkMaps.put((String)map.get("proInsId"),(String) map.get("finalCheck"));
|
||||
});
|
||||
if(StringUtils.isNotEmpty(data)){
|
||||
bean.setDataType(1);
|
||||
bean.setProInsId(proInsId);
|
||||
if (!StringUtils.isNotEmpty(data)) {
|
||||
proInsId.add("999");
|
||||
}
|
||||
bean.setDataType(1);
|
||||
bean.setProInsId(proInsId);
|
||||
}
|
||||
}
|
||||
PageUtils.startPage();
|
||||
|
|
|
|||
|
|
@ -69,10 +69,11 @@ public class MaterialServiceImpl implements MaterialService {
|
|||
proInsId.add((String)map.get("proInsId"));
|
||||
checkMaps.put((String)map.get("proInsId"),(String) map.get("finalCheck"));
|
||||
});
|
||||
if(StringUtils.isNotEmpty(data)){
|
||||
bean.setDataType(1);
|
||||
bean.setProInsId(proInsId);
|
||||
if (!StringUtils.isNotEmpty(data)) {
|
||||
proInsId.add("999");
|
||||
}
|
||||
bean.setDataType(1);
|
||||
bean.setProInsId(proInsId);
|
||||
}
|
||||
}
|
||||
PageUtils.startPage();
|
||||
|
|
|
|||
|
|
@ -533,6 +533,7 @@ public class ProjectServiceImpl implements ProjectService {
|
|||
throw new RuntimeException("Failed to add address project");
|
||||
}
|
||||
}
|
||||
project.setSupUuid(projectMapper.getSupUuid(project.getSupervisorUnitUserId()));
|
||||
//插入承包商-工程关联信息(先删后增---临时先放开 后期可能会删除)
|
||||
projectMapper.delConsProject(project);
|
||||
projectMapper.delMaterialProject(project);
|
||||
|
|
|
|||
|
|
@ -6,6 +6,7 @@ import com.bonus.common.core.domain.R;
|
|||
import com.bonus.common.core.domain.RequestEntity;
|
||||
import com.bonus.common.core.utils.PageUtils;
|
||||
import com.bonus.common.core.utils.StaticVariableUtils;
|
||||
import com.bonus.common.core.utils.StringUtils;
|
||||
import com.bonus.common.core.web.domain.AjaxResult;
|
||||
import com.bonus.common.safetycheck.*;
|
||||
import com.bonus.common.security.utils.SecurityUtils;
|
||||
|
|
@ -17,7 +18,6 @@ import com.bonus.system.api.RemoteFileService;
|
|||
import com.bonus.system.api.domain.SysFile;
|
||||
import com.google.common.collect.Maps;
|
||||
import lombok.extern.slf4j.Slf4j;
|
||||
import org.apache.commons.lang3.StringUtils;
|
||||
import org.springframework.stereotype.Service;
|
||||
import org.springframework.transaction.annotation.Transactional;
|
||||
import org.springframework.transaction.interceptor.TransactionAspectSupport;
|
||||
|
|
@ -414,10 +414,11 @@ public class SecurityCheckServiceImpl implements SecurityCheckService {
|
|||
proInsId.add((String) map.get("proInsId"));
|
||||
checkMaps.put((String) map.get("proInsId"), (String) map.get("finalCheck"));
|
||||
});
|
||||
if (com.bonus.common.core.utils.StringUtils.isNotEmpty(data)) {
|
||||
dto.setDataType(1);
|
||||
dto.setProInsId(proInsId);
|
||||
if (!StringUtils.isNotEmpty(data)) {
|
||||
proInsId.add("999");
|
||||
}
|
||||
dto.setDataType(1);
|
||||
dto.setProInsId(proInsId);
|
||||
}
|
||||
}
|
||||
PageUtils.startPage();
|
||||
|
|
@ -526,10 +527,11 @@ public class SecurityCheckServiceImpl implements SecurityCheckService {
|
|||
proInsId.add((String) map.get("proInsId"));
|
||||
checkMaps.put((String) map.get("proInsId"), (String) map.get("finalCheck"));
|
||||
});
|
||||
if (com.bonus.common.core.utils.StringUtils.isNotEmpty(data)) {
|
||||
dto.setDataType(1);
|
||||
dto.setProInsId(proInsId);
|
||||
if (!StringUtils.isNotEmpty(data)) {
|
||||
proInsId.add("999");
|
||||
}
|
||||
dto.setDataType(1);
|
||||
dto.setProInsId(proInsId);
|
||||
}
|
||||
}
|
||||
PageUtils.startPage();
|
||||
|
|
@ -560,10 +562,11 @@ public class SecurityCheckServiceImpl implements SecurityCheckService {
|
|||
proInsId.add((String) map.get("proInsId"));
|
||||
checkMaps.put((String) map.get("proInsId"), (String) map.get("finalCheck"));
|
||||
});
|
||||
if (com.bonus.common.core.utils.StringUtils.isNotEmpty(data)) {
|
||||
dto.setDataType(1);
|
||||
dto.setProInsId(proInsId);
|
||||
if (!StringUtils.isNotEmpty(data)) {
|
||||
proInsId.add("999");
|
||||
}
|
||||
dto.setDataType(1);
|
||||
dto.setProInsId(proInsId);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
@ -761,10 +764,11 @@ public class SecurityCheckServiceImpl implements SecurityCheckService {
|
|||
proInsId.add((String) map.get("proInsId"));
|
||||
checkMaps.put((String) map.get("proInsId"), (String) map.get("finalCheck"));
|
||||
});
|
||||
if (com.bonus.common.core.utils.StringUtils.isNotEmpty(data)) {
|
||||
dto.setDataType(1);
|
||||
dto.setProInsId(proInsId);
|
||||
if (!StringUtils.isNotEmpty(data)) {
|
||||
proInsId.add("999");
|
||||
}
|
||||
dto.setDataType(1);
|
||||
dto.setProInsId(proInsId);
|
||||
}
|
||||
}
|
||||
PageUtils.startPage();
|
||||
|
|
|
|||
|
|
@ -57,10 +57,11 @@ public class SubEntryExitServiceImpl implements SubEntryExitService {
|
|||
proInsId.add((String)map.get("proInsId"));
|
||||
checkMaps.put((String)map.get("proInsId"),(String) map.get("finalCheck"));
|
||||
});
|
||||
if(StringUtils.isNotEmpty(data)){
|
||||
bean.setDataType(1);
|
||||
bean.setProInsId(proInsId);
|
||||
if (!StringUtils.isNotEmpty(data)) {
|
||||
proInsId.add("999");
|
||||
}
|
||||
bean.setDataType(1);
|
||||
bean.setProInsId(proInsId);
|
||||
}
|
||||
}
|
||||
PageUtils.startPage();
|
||||
|
|
@ -117,10 +118,11 @@ public class SubEntryExitServiceImpl implements SubEntryExitService {
|
|||
proInsId.add((String)map.get("proInsId"));
|
||||
checkMaps.put((String)map.get("proInsId"),(String) map.get("finalCheck"));
|
||||
});
|
||||
if(StringUtils.isNotEmpty(data)){
|
||||
bean.setDataType(1);
|
||||
bean.setProInsId(proInsId);
|
||||
if (!StringUtils.isNotEmpty(data)) {
|
||||
proInsId.add("999");
|
||||
}
|
||||
bean.setDataType(1);
|
||||
bean.setProInsId(proInsId);
|
||||
}
|
||||
}
|
||||
PageUtils.startPage();
|
||||
|
|
|
|||
|
|
@ -172,10 +172,11 @@ public class SubServiceImpl implements SubService {
|
|||
proInsId.add((String)map.get("proInsId"));
|
||||
checkMaps.put((String)map.get("proInsId"),(String) map.get("finalCheck"));
|
||||
});
|
||||
if(StringUtils.isNotEmpty(data)){
|
||||
bean.setDataType(1);
|
||||
bean.setProInsId(proInsId);
|
||||
if (!StringUtils.isNotEmpty(data)) {
|
||||
proInsId.add("999");
|
||||
}
|
||||
bean.setDataType(1);
|
||||
bean.setProInsId(proInsId);
|
||||
}
|
||||
}
|
||||
PageUtils.startPage();
|
||||
|
|
|
|||
|
|
@ -139,10 +139,11 @@ public class SupervisionUnitServiceImpl implements SupervisionUnitService {
|
|||
proInsId.add((String)map.get("proInsId"));
|
||||
checkMaps.put((String)map.get("proInsId"),(String) map.get("finalCheck"));
|
||||
});
|
||||
if(StringUtils.isNotEmpty(data)){
|
||||
bean.setDataType(1);
|
||||
bean.setProInsId(proInsId);
|
||||
if (!StringUtils.isNotEmpty(data)) {
|
||||
proInsId.add("999");
|
||||
}
|
||||
bean.setDataType(1);
|
||||
bean.setProInsId(proInsId);
|
||||
}
|
||||
}
|
||||
PageUtils.startPage();
|
||||
|
|
@ -548,13 +549,12 @@ public class SupervisionUnitServiceImpl implements SupervisionUnitService {
|
|||
proInsId.add((String)map.get("proInsId"));
|
||||
checkMaps.put((String)map.get("proInsId"),(String) map.get("finalCheck"));
|
||||
});
|
||||
if(StringUtils.isNotEmpty(data)){
|
||||
bean.setDataType(1);
|
||||
bean.setProInsId(proInsId);
|
||||
}
|
||||
if (proInsId.isEmpty()){
|
||||
return list;
|
||||
|
||||
if (!StringUtils.isNotEmpty(data)) {
|
||||
proInsId.add("999");
|
||||
}
|
||||
bean.setDataType(1);
|
||||
bean.setProInsId(proInsId);
|
||||
}
|
||||
}
|
||||
PageUtils.startPage();
|
||||
|
|
|
|||
|
|
@ -161,10 +161,11 @@ public class ViolationManagementServiceImpl implements ViolationManagementServic
|
|||
proInsId.add((String)map.get("proInsId"));
|
||||
checkMaps.put((String)map.get("proInsId"),(String) map.get("finalCheck"));
|
||||
});
|
||||
if(com.bonus.common.core.utils.StringUtils.isNotEmpty(data)){
|
||||
dto.setDataType(1);
|
||||
dto.setProInsId(proInsId);
|
||||
if (!com.bonus.common.core.utils.StringUtils.isNotEmpty(data)) {
|
||||
proInsId.add("999");
|
||||
}
|
||||
dto.setDataType(1);
|
||||
dto.setProInsId(proInsId);
|
||||
}
|
||||
}
|
||||
PageUtils.startPage();
|
||||
|
|
|
|||
|
|
@ -436,7 +436,7 @@
|
|||
<if test="checkStatus != null and checkStatus != ''">
|
||||
AND ypi.check_status = #{checkStatus}
|
||||
</if>
|
||||
<if test="checkState != null and checkState != ''">
|
||||
<if test="checkState != null and checkState != '' and checkState!=1 and checkState!='1'">
|
||||
AND ypi.check_state = #{checkState}
|
||||
</if>
|
||||
<if test="pitfallCode != null and pitfallCode != ''">
|
||||
|
|
|
|||
|
|
@ -369,7 +369,7 @@
|
|||
<if test="signerName != null and signerName != ''">
|
||||
and wvd.issuer_name like concat('%',#{signerName},'%')
|
||||
</if>
|
||||
<if test="status != null and status != ''">
|
||||
<if test="status != null and status != '' and status != 1 and status != '1' ">
|
||||
and wvi.check_status = #{status}
|
||||
</if>
|
||||
order by wvi.violation_id desc
|
||||
|
|
|
|||
|
|
@ -68,7 +68,7 @@
|
|||
pci.cont_name like concat('%',#{keyWord},'%')
|
||||
)
|
||||
</if>
|
||||
<if test="status != null and status != ''">
|
||||
<if test="status != null and status != '' and status != 1 and status != '1'">
|
||||
and lpc.into_status = #{status}
|
||||
</if>
|
||||
<if test='dataType==1'>
|
||||
|
|
|
|||
|
|
@ -34,7 +34,7 @@ public class WebSecurityConfigurer
|
|||
.and().authorizeRequests()
|
||||
.antMatchers(adminContextPath + "/assets/**"
|
||||
, adminContextPath + "/login"
|
||||
, adminContextPath + "/actuator/**"
|
||||
// , adminContextPath + "/actuator/**"
|
||||
, adminContextPath + "/instances/**"
|
||||
).permitAll()
|
||||
.anyRequest().authenticated()
|
||||
|
|
|
|||
Loading…
Reference in New Issue