隐患列表 和 启动报错处理

This commit is contained in:
韩国东 2023-01-05 14:24:17 +08:00
parent 0a0f2a3137
commit 338b699d14
5 changed files with 12 additions and 6 deletions

View File

@ -681,8 +681,7 @@
left join SysUnit su on bc.CheckUniy=su.SysUnitId
left join SysEnterprise se on se.SysEnterpriseId=bc.BaseEntId
And se.IsHide='否' and se.State = '启用'
where (se.OrgCode = #{areaCode} OR se.street_code = #{areaCode}
OR se.community_code = #{areaCode})
where FIND_IN_SET(#{areaCode},se.area_path)
<if test="null != entName and '' != entName">
and (se.EntName like concat('%',#{entName},'%') or bc.ZhiFaRen like concat('%',#{entName},'%') )
</if>
@ -762,7 +761,8 @@
<select id="countBySuperiorUnitId" resultType="java.lang.Integer">
select count(*) as DepartmentCheckTotal from BookEntCheck where CheckUniy in(select SysUnitId from SysUnit where SuperiorUnitId=#{superiorUnitId})
select count(*) as DepartmentCheckTotal from BookEntCheck
where CheckUniy in(select SysUnitId from SysUnit where SuperiorUnitId=#{superiorUnitId})
</select>

View File

@ -1310,7 +1310,7 @@
select sys.EntName,bt.* from BookEntHT bt
inner join SysEnterprise sys on bt.SysEnterpriseId = sys.SysEnterpriseId
where sys.State = '启用'
and (sys.OrgCode = #{areaCode} or sys.street_code = #{areaCode} or sys.community_code = #{areaCode})
and FIND_IN_SET(#{areaCode},sys.area_path)
<if test="null != title and '' != title">
and bt.HiddenArea like concat('%',#{title},'%')
</if>

View File

@ -1,6 +1,6 @@
spring:
profiles:
active: dev #设定打包配置文件
active: prod #设定打包配置文件

View File

@ -20,7 +20,7 @@ import java.util.List;
**/
@Aspect
@Component
public class PageAspect {
public class PageGovAspect {
@Pointcut("@annotation(com.common.utils.pager.PageOperation)execution(* com.rzyc..*.*(..))")
public void page() {}

View File

@ -71,4 +71,10 @@ public class JwtUtil {
return "";
}
}
public static void main(String[] args) {
System.out.println(checkToken("eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJleHAiOjE2NzI0NTQwNzAsInVzZXJJZCI6Ijg3OWE4MWIzLTIzNzktNGFkNy1iYWI4LTBlYTUxZGNlY2Y5ZSJ9.nd56xaEuyANKG-nAaDlPsYPcvQ44Oo7a0Cf4nUjN2KU"));
}
}