dev_xds
姜玉琦 2023-08-11 22:15:33 +08:00
commit 5f2fa46633
8 changed files with 31 additions and 3 deletions

View File

@ -84,7 +84,11 @@ public class LogAspect
try
{
// 获取当前的用户
LoginUser loginUser = SecurityUtils.getLoginUser();
LoginUser loginUser = null;
if(!SecurityUtils.getAuthentication().getPrincipal().equals("anonymousUser")) {
loginUser = SecurityUtils.getLoginUser();
}
// *========数据库日志=========*//
SysOperLog operLog = new SysOperLog();

View File

@ -112,7 +112,7 @@
</el-table-column>
<el-table-column label="操作" align="center" class-name="small-padding fixed-width" width="200" fixed="right">
<template slot-scope="scope">
<el-button
<el-button v-if="1==2"
size="mini"
type="text"
icon="el-icon-edit"

View File

@ -44,4 +44,13 @@ public class ProjectController {
return AjaxResult.success(list);
}
/**
*
* @return
*/
@GetMapping("getProgressProjects")
public AjaxResult getProgressProjects(){
return AjaxResult.success(isurProjectService.selectProgressProjects());
}
}

View File

@ -73,5 +73,7 @@ public interface SurProjectMapper
* @return
*/
public List<SurProject> groupByLevel(SurProject surProject);
public List<SurProject> selectProgressProjects();
}

View File

@ -58,4 +58,6 @@ public interface ISurProjectService
* @return
*/
public int deleteSurProjectById(Long id);
public List<SurProject> selectProgressProjects();
}

View File

@ -94,4 +94,9 @@ public class SurProjectServiceImpl implements ISurProjectService
{
return surProjectMapper.deleteSurProjectById(id);
}
@Override
public List<SurProject> selectProgressProjects() {
return surProjectMapper.selectProgressProjects();
}
}

View File

@ -309,4 +309,10 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
GROUP BY dict_value,dict_label
) a RIGHT JOIN sys_dict_data b ON a.dict_value=b.dict_value WHERE b.dict_type='project_level' ORDER BY cnt DESC
</select>
<select id="selectProgressProjects" parameterType="SurProject" resultMap="SurProjectResult">
<include refid="selectSurProjectVo"/>
where progressVisible = 0
order by projectSort,projectName
</select>
</mapper>

View File

@ -209,7 +209,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
) AND infotype=#{infoType}
<if test="roleType > 0">AND roletype=#{roleType}</if>
GROUP BY danger_type) b
ON a.dict_value=b.danger_type ORDER BY cnt DESC,a.dict_value
ON a.dict_value=b.danger_type ORDER BY cnt DESC,a.dict_value+0
</select>
<select id="selectSummaryByProject" parameterType="SmzSspProblemmodify" resultMap="SmzSspProblemmodifyResult">