diff --git a/blade-service/logpm-basicdata/src/main/java/com/logpm/basicdata/mapper/BasicdataClientMapper.xml b/blade-service/logpm-basicdata/src/main/java/com/logpm/basicdata/mapper/BasicdataClientMapper.xml index 46f30ff07..7b32b4177 100644 --- a/blade-service/logpm-basicdata/src/main/java/com/logpm/basicdata/mapper/BasicdataClientMapper.xml +++ b/blade-service/logpm-basicdata/src/main/java/com/logpm/basicdata/mapper/BasicdataClientMapper.xml @@ -151,18 +151,21 @@ AND lbc.client_type = #{param.clientType} - - AND DATE_FORMAT(lbc.contract_start_time,, '%Y-%m-%d') > DATE_FORMAT(#{param.contractStartTime}, '%Y-%m-%d') - - - AND DATE_FORMAT(lbc.contract_ent_time,, '%Y-%m-%d') < DATE_FORMAT(#{param.contractEntTime}, '%Y-%m-%d') + + AND lbc.type_ervice = #{param.typeServiceName} + + + + + + AND t.aaa LIKE CONCAT('%', #{param.brandName}, '%') - - AND lbc.contract_start_time >= DATE_FORMAT(#{param.stratTimeDate}, '%Y-%m-%d') - AND lbc.contract_ent_time <= DATE_FORMAT(#{param.endTimeDate}, '%Y-%m-%d') + + AND lbc.contract_start_time >= DATE_FORMAT(#{param.startDate}, '%Y-%m-%d') + AND lbc.contract_ent_time <= DATE_FORMAT(#{param.endDate}, '%Y-%m-%d') GROUP BY