Showing
1 changed file
with
1 additions
and
1 deletions
| @@ -156,7 +156,7 @@ | @@ -156,7 +156,7 @@ | ||
| 156 | FROM customer_credit AS tb | 156 | FROM customer_credit AS tb |
| 157 | left join base_data_customer as cu on cu.id = tb.company_id | 157 | left join base_data_customer as cu on cu.id = tb.company_id |
| 158 | left join sys_dept d on tb.region = d.id | 158 | left join sys_dept d on tb.region = d.id |
| 159 | - left join sys_dept d1 on tb.dept_id = d.id | 159 | + left join sys_dept d1 on tb.dept_id = d1.id |
| 160 | </sql> | 160 | </sql> |
| 161 | 161 | ||
| 162 | <select id="query" resultMap="CustomerCredit"> | 162 | <select id="query" resultMap="CustomerCredit"> |