隐患列表 和 启动报错处理

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

View File

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

View File

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

View File

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

View File

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