diff --git a/src/Modules/SettleAccount/src/SettleAccount.EntityFrameworkCore/Repository/SettleAccountJob/Report/UnSettledDetailDapperRepository.cs b/src/Modules/SettleAccount/src/SettleAccount.EntityFrameworkCore/Repository/SettleAccountJob/Report/UnSettledDetailDapperRepository.cs index 50fe51ef..d7736639 100644 --- a/src/Modules/SettleAccount/src/SettleAccount.EntityFrameworkCore/Repository/SettleAccountJob/Report/UnSettledDetailDapperRepository.cs +++ b/src/Modules/SettleAccount/src/SettleAccount.EntityFrameworkCore/Repository/SettleAccountJob/Report/UnSettledDetailDapperRepository.cs @@ -338,7 +338,7 @@ namespace Win.Sfs.SettleAccount.Repository.SettleAccountJob.Report "group by\n" + "MaterialCode,\n" + "MaterialDesc) d ON\n" + -"a.ParentSapMaterialCode = d.MaterialCode\n" + +"Substring(a.ParentSapMaterialCode,1,8) = d.MaterialCode\n" + ") temp1\n" + "LEFT JOIN (\n" + "SELECT\n" +