Browse Source

更新版本

FoShanPG
Administrator 3 years ago
parent
commit
625f5685fe
  1. 4
      src/Modules/SettleAccount/src/SettleAccount.EntityFrameworkCore/Repository/SettleAccountJob/Report/SettleKBWithCodeDapperReportRepository.cs

4
src/Modules/SettleAccount/src/SettleAccount.EntityFrameworkCore/Repository/SettleAccountJob/Report/SettleKBWithCodeDapperReportRepository.cs

@ -141,8 +141,8 @@ namespace Win.Sfs.SettleAccount.Repository.SettleAccountJob.Report
" FROM\n" + " FROM\n" +
" Set_WMSKanBanSettle\n" + " Set_WMSKanBanSettle\n" +
" A INNER JOIN ( SELECT MaterialCode, Kanban FROM Set_WMSKanBanSettle GROUP BY MaterialCode, Kanban HAVING COUNT(1) = 1 ) B ON A.Kanban = B.Kanban \n" + " A INNER JOIN ( SELECT MaterialCode, Kanban FROM Set_WMSKanBanSettle GROUP BY MaterialCode, Kanban HAVING COUNT(1) = 1 ) B ON A.Kanban = B.Kanban \n" +
" AND A.MaterialCode = B.MaterialCode and A.WMSDeliveryNote is not null\n" + " AND A.MaterialCode = B.MaterialCode \n" +
" LEFT JOIN Set_material t1 ON A.MaterialCode = t1.CustomerPartCode\n"; " LEFT JOIN Set_material t1 ON A.MaterialCode = t1.CustomerPartCode where A.WMSDeliveryNote is not null\n";
var listCompare1 = DbConnection.Query<CompareExtend>(sql1); var listCompare1 = DbConnection.Query<CompareExtend>(sql1);

Loading…
Cancel
Save