|
@@ -97,7 +97,7 @@
|
|
|
<if test="tenantId != null and tenantId != 0">
|
|
|
AND t.tenant_id_ = #{tenantId}
|
|
|
</if>
|
|
|
- <if test="organId != null">
|
|
|
+ <if test="organId != null and organId != 0">
|
|
|
AND t.organ_id_ = #{organId}
|
|
|
</if>
|
|
|
<if test="settlementType != null and settlementType != ''">
|