fixbug
This commit is contained in:
@@ -147,7 +147,7 @@ namespace Ewide.NbzsZheliban.Service
|
|||||||
{
|
{
|
||||||
p.FhpgList = list_fhpgs.Where(a => a.PrjId == p.PrjId).ToList();
|
p.FhpgList = list_fhpgs.Where(a => a.PrjId == p.PrjId).ToList();
|
||||||
var bcxy = list_bcxys.Where(a => a.PrjId == p.PrjId).ToList();
|
var bcxy = list_bcxys.Where(a => a.PrjId == p.PrjId).ToList();
|
||||||
bcxy.ForEach(a => a.countValue = list_fhpgs.Where(b => b.dcbId == a.dcbId).First().countValue);
|
bcxy.ForEach(a => a.countValue = list_fhpgs.Where(b => b.dcbId == a.dcbId).FirstOrDefault()?.countValue);
|
||||||
p.BcxyList = bcxy;
|
p.BcxyList = bcxy;
|
||||||
listAreas.Add(Guid.Parse(p.AreaID));
|
listAreas.Add(Guid.Parse(p.AreaID));
|
||||||
});
|
});
|
||||||
@@ -398,6 +398,8 @@ namespace Ewide.NbzsZheliban.Service
|
|||||||
//非住宅
|
//非住宅
|
||||||
jzlrModel = db.Ado.SqlQuery<FHPG>("select b.HouseAddress,a.ValuationMethod,a.AssessmentNo,a.HousingAssessmentValue,a.countValue,a.AttachedAssessedValue,a.DecorateAssessedValue,a.Remark,a.ExceedLandMoney,2 Type from NonInvestigateTable_Assessment a inner join NonResidentialInvestigateTable b on a.NonInvestigateTableID=b.ID where a.ID=@ID", new { ID = id }).FirstOrDefault();
|
jzlrModel = db.Ado.SqlQuery<FHPG>("select b.HouseAddress,a.ValuationMethod,a.AssessmentNo,a.HousingAssessmentValue,a.countValue,a.AttachedAssessedValue,a.DecorateAssessedValue,a.Remark,a.ExceedLandMoney,2 Type from NonInvestigateTable_Assessment a inner join NonResidentialInvestigateTable b on a.NonInvestigateTableID=b.ID where a.ID=@ID", new { ID = id }).FirstOrDefault();
|
||||||
}
|
}
|
||||||
|
if (jzlrModel == null)
|
||||||
|
throw Oops.Oh("ID有误");
|
||||||
switch (jzlrModel.ValuationMethod)
|
switch (jzlrModel.ValuationMethod)
|
||||||
{
|
{
|
||||||
case 0:
|
case 0:
|
||||||
|
|||||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Reference in New Issue
Block a user