diff --git a/src/main/resources/mybatis/datasource/bus/RiskPointMapper.xml b/src/main/resources/mybatis/datasource/bus/RiskPointMapper.xml index ea3fb06e..2f7313d9 100644 --- a/src/main/resources/mybatis/datasource/bus/RiskPointMapper.xml +++ b/src/main/resources/mybatis/datasource/bus/RiskPointMapper.xml @@ -280,7 +280,11 @@ and f.ACCIDENTS LIKE CONCAT(CONCAT('%', #{pd.BIANMA}),'%') - and u.NAME LIKE CONCAT(CONCAT('%', #{pd.gkzrName}),'%') + and ( + u.NAME LIKE CONCAT(CONCAT('%', #{pd.gkzrName}),'%') + or + f.USER_ID LIKE CONCAT(CONCAT('%', #{pd.gkzrName}),'%') + ) order by f.CREATTIME desc, f.SORT asc,f.OPERATTIME asc ,RISKUNITNAME desc ,PARTSNAME desc