diff --git a/dxhy-base/src/main/resources/mapper/BaseSggxcxMapper.xml b/dxhy-base/src/main/resources/mapper/BaseSggxcxMapper.xml index 6dd64774..8d328737 100644 --- a/dxhy-base/src/main/resources/mapper/BaseSggxcxMapper.xml +++ b/dxhy-base/src/main/resources/mapper/BaseSggxcxMapper.xml @@ -136,12 +136,12 @@ and t.bzdh = #{bzdh} + + and t.bzdh is not null and t.in_account_status = '1' + and t.inaccount_status = #{inAccountStatus} - - and (t.inaccount_status = '0' or t.inaccount_status = '' or t.inaccount_status is null) - and date_format(t.qs_date,'%Y-%m-%d') between #{qsksrq} and #{qsjsrq}