|
|
@@ -336,12 +336,12 @@
|
|
|
</foreach>
|
|
|
<if test="query.orderType == 1">
|
|
|
<if test="query.entId != null">
|
|
|
- d.top_ent_id = #{query.entId}
|
|
|
+ and d.top_ent_id = #{query.entId}
|
|
|
</if>
|
|
|
</if>
|
|
|
<if test="query.orderType == 2">
|
|
|
<if test="query.entId != null">
|
|
|
- e.top_ent_id = #{query.entId}
|
|
|
+ and e.top_ent_id = #{query.entId}
|
|
|
</if>
|
|
|
</if>
|
|
|
</if>
|