fix: 修复可选客户项目、字段名、导出等

This commit is contained in:
caiyuchao
2025-08-25 18:48:53 +08:00
parent cb27b4e005
commit 907a8ce44a
19 changed files with 115 additions and 33 deletions

View File

@@ -69,4 +69,18 @@
p.id DESC
</select>
<select id="getLicenseProjects" resultType="org.agt.module.license.controller.admin.project.vo.ProjectRespVO">
SELECT
p.*
FROM
`crm_project` p
LEFT JOIN `crm_license_server` l ON p.id = l.project_id
AND l.deleted = 0
WHERE
p.deleted = 0
<if test="query.customerId != null and query.customerId != ''">
AND p.customer_id = #{query.customerId}
</if>
AND l.id IS NULL
</select>
</mapper>