代码无效引用清理,试压包资料界面看板修改
This commit is contained in:
@@ -256,7 +256,7 @@ namespace BLL
|
||||
Success = Success,
|
||||
Code = Code,
|
||||
Message = Message,
|
||||
PushTime = DateTime.Now,
|
||||
PushTime = DateTime.Now,
|
||||
};
|
||||
if (Code != "200")
|
||||
{
|
||||
@@ -762,7 +762,7 @@ namespace BLL
|
||||
&& x.UnitType != null
|
||||
&& (proCode == null || y.ContractNo == proCode)
|
||||
&& u.CollCropCode != null && u.CollCropCode != ""
|
||||
&& z.JTproCode != null && x.IsSynchro == true
|
||||
&& z.JTproCode != null && x.IsSynchro == true
|
||||
select new
|
||||
{
|
||||
unitId = x.UnitId,
|
||||
@@ -1289,16 +1289,16 @@ namespace BLL
|
||||
join z in Funs.DB.RealName_Project on y.ContractNo equals z.ProCode
|
||||
join v in Funs.DB.ProjectData_TeamGroup on x.TeamGroupId equals v.TeamGroupId
|
||||
join w in Funs.DB.Base_WorkPost on x.WorkPostId equals w.WorkPostId
|
||||
where x.IdentityCard == identityCard && y.ContractNo == proCode
|
||||
where x.IdentityCard == identityCard && y.ContractNo == proCode
|
||||
&& v.TeamId.HasValue
|
||||
&& z.JTproCode != null
|
||||
select new
|
||||
{
|
||||
name = x.PersonName,
|
||||
idcardType = "SHENFEN_ZHENGJIAN",
|
||||
idcardNumber = x.IdentityCard,
|
||||
idcardNumber = x.IdentityCard,
|
||||
proCode = z.JTproCode,
|
||||
teamId = v.TeamId,
|
||||
teamId = v.TeamId,
|
||||
userType = ((w.PostType == "1" || w.PostType == "4") ? "LAB_USER_MANAGE" : "LAB_USER_BULIDER"),
|
||||
workType = w.WorkPostCode,
|
||||
isLeave = x.OutTime.HasValue ? "Y" : "N",
|
||||
@@ -1318,7 +1318,7 @@ namespace BLL
|
||||
};
|
||||
var updatelistObject = new
|
||||
{
|
||||
list = getData.Select(x => new { x.name, x.idcardType, x.idcardNumber, x.proCode, x.teamId, x.userType, x.workType, x.isLeave, x.entryTime, x.exitTime })
|
||||
list = getData.Select(x => new { x.name, x.idcardType, x.idcardNumber, x.proCode, x.teamId, x.userType, x.workType, x.isLeave, x.entryTime, x.exitTime })
|
||||
};
|
||||
pushContent = JsonConvert.SerializeObject(updatelistObject);
|
||||
returndata = BLL.APIGetHttpService.OutsideHttp(Funs.RealNameApiUrl + "/foreignApi/accept/updatePersons", "POST", contenttype, newToken, JsonConvert.SerializeObject(updatelistObject));
|
||||
@@ -1523,7 +1523,7 @@ namespace BLL
|
||||
&& v.TeamId.HasValue && r.TeamId.HasValue
|
||||
&& p.States == Const.State_1
|
||||
&& !x.RealNamePushTime.HasValue
|
||||
&& z.JTproCode.Length> 0
|
||||
&& z.JTproCode.Length > 0
|
||||
&& pu.IsSynchro == true
|
||||
orderby x.ChangeTime descending
|
||||
select new
|
||||
|
||||
Reference in New Issue
Block a user