diff --git a/mhd-modules/mhd-system/src/main/resources/mapper/basic/ExpenseAccountMapper.xml b/mhd-modules/mhd-system/src/main/resources/mapper/basic/ExpenseAccountMapper.xml index b90857cba..5b9d6288e 100644 --- a/mhd-modules/mhd-system/src/main/resources/mapper/basic/ExpenseAccountMapper.xml +++ b/mhd-modules/mhd-system/src/main/resources/mapper/basic/ExpenseAccountMapper.xml @@ -107,7 +107,10 @@ select - * - from expense_account + a.* , + b.tax_rate, + b.service_items_name, + b.service_items_code + from expense_account a + left join service_items_manage b ON a.service_items_manage_id = b.service_items_manage_id where - del_flag = 1 - and status = 1 - and first_subject_flag = 2 - and upper_subject_code = #{subjectCode} + a.del_flag = 1 + and a.status = 1 + and a.first_subject_flag = 2 + and a.upper_subject_code = #{subjectCode}