|
|
@ -87,6 +87,9 @@ |
|
|
|
del_flag = '0' |
|
|
|
AND parent_id = #{agencyId} |
|
|
|
AND month_id = #{monthId,jdbcType=VARCHAR} |
|
|
|
<if test="customerId != null and customerId != ''"> |
|
|
|
AND CUSTOMER_ID = #{customerId} |
|
|
|
</if> |
|
|
|
<choose> |
|
|
|
<when test="orgType != null and orgType != ''"> |
|
|
|
AND ORG_TYPE = #{orgType,jdbcType=VARCHAR} |
|
|
@ -186,6 +189,9 @@ |
|
|
|
WHERE |
|
|
|
del_flag = '0' |
|
|
|
AND org_id = #{orgId} |
|
|
|
<if test="customerId != null and customerId != ''"> |
|
|
|
AND customer_id = #{customerId} |
|
|
|
</if> |
|
|
|
<if test="orgType != null and orgType != '' "> |
|
|
|
AND org_type = #{orgType} |
|
|
|
</if> |
|
|
|