保洁订单详情

This commit is contained in:
dy
2025-07-03 09:36:04 +08:00
parent 3ff380ab50
commit 147c67b5ad
9 changed files with 52 additions and 19 deletions

View File

@@ -8,10 +8,16 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
SELECT
co.*,
c.*,
ru.name name,ru.id
ru.name name,ru.id unitId
FROM
clean_order co
LEFT JOIN clean c ON co.clean_id = c.id
LEFT JOIN resident_unit ru ON co.unit_id = ru.id;
</select>
<!-- <select id="selectforDetail" resultType="org.dromara.property.domain.vo.CleanOrderVo"-->
<!-- parameterType="java.lang.Long">-->
<!-- SELECT co.*,cso.* from clean_order co-->
<!-- LEFT JOIN cleanserver_order cso on cso.clean_server_id = co.id-->
<!-- LEFT JOIN clean c on cso.id where co.id = #{id};-->
<!-- </select>-->
</mapper>