diff --git a/pusong-modules/pusong-business/src/main/resources/mapper/business/PsCustomInfoMapper.xml b/pusong-modules/pusong-business/src/main/resources/mapper/business/PsCustomInfoMapper.xml index b04c6cd..b4b9a3b 100644 --- a/pusong-modules/pusong-business/src/main/resources/mapper/business/PsCustomInfoMapper.xml +++ b/pusong-modules/pusong-business/src/main/resources/mapper/business/PsCustomInfoMapper.xml @@ -70,7 +70,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" from ps_custom_info custom left join - (select * from ps_contract_info info where info.create_time in (select max(pci.create_time) create_time from ps_contract_info pci where coninfo.contract_status != '10' and coninfo.is_cancel != '03' group by pci.custom_id)) + (select * from ps_contract_info info where info.create_time in (select max(pci.create_time) create_time from ps_contract_info pci where pci.contract_status != '10' and pci.is_cancel != '03' group by pci.custom_id)) con on con.custom_id = custom.id left join ps_company_info com on com.id = con.company_id