修改不能按条件查询的bug
Some checks failed
Gitea Actions Demo / Explore-Gitea-Actions (push) Failing after 23s

This commit is contained in:
dy
2025-07-11 11:15:28 +08:00
parent 8c6e6507df
commit 1beae8d9af
4 changed files with 25 additions and 11 deletions

View File

@@ -6,14 +6,25 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<select id="selectForPage" resultType="org.dromara.property.domain.vo.CleanOrderVo">
SELECT
co.*,
c.*,
cr.areas,
cr.sum_price
co.*,
c.*,
cr.areas,
cr.sum_price
FROM
clean_order co
LEFT JOIN clean c ON co.clean_id = c.id
LEFT JOIN clean_relation cr ON c.id = cr.clean_id;
clean_order co
LEFT JOIN clean c ON co.clean_id = c.id
LEFT JOIN clean_relation cr ON c.id = cr.clean_id
<!-- <where>-->
<!-- <if test="payState != null and payState!= ''">-->
<!-- co.pay_state = #{payState}-->
<!-- </if>-->
<!-- <if test="persion != null and persion!= ''">-->
<!-- co.persion = #{persion}-->
<!-- </if>-->
<!-- <if test="state != null and state!= ''">-->
<!-- co.state = #{state}-->
<!-- </if>-->
<!-- </where>-->
</select>
<!-- <select id="selectforDetail" resultType="org.dromara.property.domain.vo.CleanOrderVo"-->
<!-- parameterType="java.lang.Long">-->