|
|
@ -60,7 +60,7 @@ namespace Win.Sfs.SettleAccount.Repository.Report |
|
|
|
|
|
|
|
public virtual List<PartCodeDiff> GetDiffDetailReport(string year, string customcode, string version) |
|
|
|
{ |
|
|
|
string sqlString = "select a.ErpMaterialCode,SettleMaterialCode,a.ShipMaterailCode,d.MaterialDesc,d.EstimateTypeDesc from\n" + |
|
|
|
string sqlString = "select a.ErpMaterialCode,isnull(d.materialCode,SettleMaterialCode) MaterialCode,a.ShipMaterailCode,d.MaterialDesc,d.EstimateTypeDesc from\n" + |
|
|
|
" Set_MaterialRelationshipDetail_pg a left join\n" + |
|
|
|
" (\n" + |
|
|
|
" SELECT\n" + |
|
|
|