diff --git a/hzs-business/hzs-business-system/src/main/resources/mapper/system/base/BdNoticeMapper.xml b/hzs-business/hzs-business-system/src/main/resources/mapper/system/base/BdNoticeMapper.xml index 64c05282..02b6c944 100644 --- a/hzs-business/hzs-business-system/src/main/resources/mapper/system/base/BdNoticeMapper.xml +++ b/hzs-business/hzs-business-system/src/main/resources/mapper/system/base/BdNoticeMapper.xml @@ -246,11 +246,18 @@ and n.website_type = #{websiteType} and sysdate >= n.start_time and sysdate <= n.end_time - - and instr(',' || n.grade || ',', ',' || #{grade} || ',') > 0 - - - and instr(',' || n.awards || ',', ',' || #{awards} || ',') > 0 + + and ( + + instr(',' || n.grade || ',', ',' || #{grade} || ',') > 0 + + + or + + + instr(',' || n.awards || ',', ',' || #{awards} || ',') > 0 + + ) and n.system_type in