diff --git a/fw-valhalla-dao/src/main/resources/mapper/CustomerMapper.xml b/fw-valhalla-dao/src/main/resources/mapper/CustomerMapper.xml index 6401e06..443cc05 100644 --- a/fw-valhalla-dao/src/main/resources/mapper/CustomerMapper.xml +++ b/fw-valhalla-dao/src/main/resources/mapper/CustomerMapper.xml @@ -159,7 +159,7 @@ - and t1.temporary != 1 + and (t1.temporary is null or t1.temporary = 0) and t3.id is not null @@ -258,7 +258,7 @@ - and t1.temporary != 1 + and (t1.temporary is null or t1.temporary = 0) and t3.id is not null