update 细节调整

This commit is contained in:
2021-06-23 11:31:57 +08:00
parent bf18f21a24
commit fb834eaa11
14 changed files with 88 additions and 44 deletions

View File

@@ -145,7 +145,7 @@ INNER JOIN (SELECT * FROM bs_house_member_relation WHERE SysUserId = @UserId) HM
HouseCodeId = p
}.Insert();
var initTask = _bsHouseTaskRep.DetachedEntities.FirstOrDefault(t => t.TaskType == 0);
var initTask = _bsHouseTaskRep.DetachedEntities.FirstOrDefault(t =>t.HouseCodeId == p && t.TaskType == 0);
if (initTask == null)
{
new BsHouseTask