Commit 9a4fb1de authored by liudong1993's avatar liudong1993

审批流程调整

parent a2d751b3
......@@ -301,7 +301,10 @@ namespace Property.Module.FixedAssets
empList = audituserList?.Select(x => x.EmployeeId ?? 0).ToList();
if (empList != null && empList.Count > 0)
{
newList = empList;
#region 判断下一步是否有转交人
newList = new List<int>();
newList = GetNewEmList(empList);
#endregion
var emp2List = employeeRepository.GetEmpInfoByIds(string.Join(",", newList?.Select(x => x).ToList()));
sendAccount = emp2List.Select(t => new EmAccoutIdModel() { EmAccount = t.EmLoginMobile, EmployeeId = t.EmployeeId }).ToList();//推送
}
......@@ -1618,13 +1621,16 @@ namespace Property.Module.FixedAssets
{
}
List<WhereHelper> pwheres = new List<WhereHelper>() {
new WhereHelper(){
FiledName=nameof(RB_Property_Info.Id),
FiledValue=item.PropertyId
}
};
property_InfoRepository.Update(pflies, pwheres, trans);
if (usemodel.Source != PropertySourceEnum.Maintain)
{
List<WhereHelper> pwheres = new List<WhereHelper>() {
new WhereHelper(){
FiledName=nameof(RB_Property_Info.Id),
FiledValue=item.PropertyId
}
};
property_InfoRepository.Update(pflies, pwheres, trans);
}
//日志
var emmodel = CacheManager.User.UserReidsCache.GetEmployee(usemodel.EmployeeId);
string ContentMsg = "";
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment