diff --git a/epdc-cloud-property/src/main/resources/mapper/project/PropertyProjectScoreDao.xml b/epdc-cloud-property/src/main/resources/mapper/project/PropertyProjectScoreDao.xml index 8ee708d..e60beae 100644 --- a/epdc-cloud-property/src/main/resources/mapper/project/PropertyProjectScoreDao.xml +++ b/epdc-cloud-property/src/main/resources/mapper/project/PropertyProjectScoreDao.xml @@ -38,18 +38,9 @@ '' ) AS AVA_SCORE FROM - epdc_property_project ep - LEFT JOIN epdc_group eg ON ep.id = eg.REFERENCE_BUSINESS_ID - LEFT JOIN epdc_user_group eu ON eg.id = eu.GROUP_ID - AND eu.DEL_FLAG = '0' - LEFT JOIN epdc_property_project_score es ON ep.id = es.PROJECT_ID - AND ep.PROPERTY_ID = es.PROPERTY_ID - AND es.DEL_FLAG = '0' + epdc_property_project_score es WHERE - ep.DEL_FLAG = '0' - AND eg.DEL_FLAG = '0' - AND ep.ID = #{projectId} - GROUP BY - ep.ID + es.DEL_FLAG = '0' + AND es.PROPERTY_ID = #{projectId} \ No newline at end of file