diff --git a/web-infrastructure/src/main/resources/mapper/ConfinedSpaceMapper.xml b/web-infrastructure/src/main/resources/mapper/ConfinedSpaceMapper.xml index 5bbcbbb..b1151a8 100644 --- a/web-infrastructure/src/main/resources/mapper/ConfinedSpaceMapper.xml +++ b/web-infrastructure/src/main/resources/mapper/ConfinedSpaceMapper.xml @@ -10,20 +10,20 @@ confined_space s where s.delete_enum = 'FALSE' - - and s.corpinfo_id = #{eqCorpinfoId} + + and s.corpinfo_id = #{params.eqCorpinfoId} - - and s.type = #{eqType} + + and s.type = #{params.eqType} - - and s.risk_level = #{eqRiskLevel} + + and s.risk_level = #{params.eqRiskLevel} - - and s.name like concat('%',#{likeName},'%') + + and s.name like concat('%',#{params.likeName},'%') - - and s.code like concat('%',#{likeCode},'%') + + and s.code like concat('%',#{params.likeCode},'%') order by s.create_time desc