diff --git a/src/Modules/SettleAccount/src/SettleAccount.EntityFrameworkCore/Repository/SettleAccountJob/Report/HQHSettledDetailDapperRepository.cs b/src/Modules/SettleAccount/src/SettleAccount.EntityFrameworkCore/Repository/SettleAccountJob/Report/HQHSettledDetailDapperRepository.cs index 399443f6..55e29c0b 100644 --- a/src/Modules/SettleAccount/src/SettleAccount.EntityFrameworkCore/Repository/SettleAccountJob/Report/HQHSettledDetailDapperRepository.cs +++ b/src/Modules/SettleAccount/src/SettleAccount.EntityFrameworkCore/Repository/SettleAccountJob/Report/HQHSettledDetailDapperRepository.cs @@ -220,9 +220,12 @@ namespace Win.Sfs.SettleAccount.Repository.SettleAccountJob.Report " a.KanbanNumber AS KanbanNumber,\n" + " CONVERT ( VARCHAR ( 100 ), a.AcceptanceDate, 23 ) AS AcceptanceDate,\n" + " HQHKanBan,\n" + - " MaterialCode \n" + + " b2.MaterialCode \n" + " FROM\n" + " Set_HQ_H_Platform a \n" + + + " left join Set_material b2 on a.MaterialCode = b2.CustomerPartCode \n" + + " WHERE\n" + " Version = '{0}' \n" + " AND HQHKanBan <> 'BJ' \n" + @@ -248,9 +251,12 @@ namespace Win.Sfs.SettleAccount.Repository.SettleAccountJob.Report " a.KanbanNumber AS KanbanNumber,\n" + " CONVERT ( VARCHAR ( 100 ), a.AcceptanceDate, 23 ) AS AcceptanceDate,\n" + " HQHKanBan,\n" + - " MaterialCode \n" + + " b2.MaterialCode \n" + " FROM\n" + " Set_HQ_H_Platform a \n" + + + " left join Set_material b2 on a.MaterialCode = b2.CustomerPartCode \n" + + " WHERE\n" + " Version = '{0}' \n" + " AND HQHKanBan <> 'BJ' \n" + @@ -270,9 +276,11 @@ namespace Win.Sfs.SettleAccount.Repository.SettleAccountJob.Report " a.KanbanNumber AS KanbanNumber,\n" + " CONVERT ( VARCHAR ( 100 ), a.AcceptanceDate, 23 ) AS AcceptanceDate,\n" + " HQHKanBan,\n" + - " MaterialCode \n" + + " b2.MaterialCode \n" + "FROM\n" + " Set_HQ_H_Platform a \n" + + " left join Set_material b2 on a.MaterialCode = b2.CustomerPartCode \n" + + "WHERE\n" + " Version = '{0}' \n" + " AND HQHKanBan = 'BJ'";