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