diff --git a/yifu-archives/yifu-archives-biz/src/main/resources/mapper/TAutoInsurStandardMapper.xml b/yifu-archives/yifu-archives-biz/src/main/resources/mapper/TAutoInsurStandardMapper.xml index fa79733fd8f0ba7eab4834311ab3b79d757ff31c..b593f2fa8b4526d5a971479fe42684a0f413e54d 100644 --- a/yifu-archives/yifu-archives-biz/src/main/resources/mapper/TAutoInsurStandardMapper.xml +++ b/yifu-archives/yifu-archives-biz/src/main/resources/mapper/TAutoInsurStandardMapper.xml @@ -127,6 +127,9 @@ <where> 1=1 + <if test="(tAutoInsurStandard.standardMin != null and tAutoInsurStandard.standardMin.trim() != '') or (tAutoInsurStandard.standardMax != null and tAutoInsurStandard.standardMax.trim() != '')"> + and b.id is not null + </if> <if test="tAutoInsurStandard != null"> <if test="tAutoInsurStandard.mainId != null and tAutoInsurStandard.mainId.trim() != ''"> AND a.MAIN_ID = #{tAutoInsurStandard.mainId}