Commit 9a4fb1de authored by liudong1993's avatar liudong1993

审批流程调整

parent a2d751b3
...@@ -301,7 +301,10 @@ namespace Property.Module.FixedAssets ...@@ -301,7 +301,10 @@ namespace Property.Module.FixedAssets
empList = audituserList?.Select(x => x.EmployeeId ?? 0).ToList(); empList = audituserList?.Select(x => x.EmployeeId ?? 0).ToList();
if (empList != null && empList.Count > 0) 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())); var emp2List = employeeRepository.GetEmpInfoByIds(string.Join(",", newList?.Select(x => x).ToList()));
sendAccount = emp2List.Select(t => new EmAccoutIdModel() { EmAccount = t.EmLoginMobile, EmployeeId = t.EmployeeId }).ToList();//推送 sendAccount = emp2List.Select(t => new EmAccoutIdModel() { EmAccount = t.EmLoginMobile, EmployeeId = t.EmployeeId }).ToList();//推送
} }
...@@ -1618,6 +1621,8 @@ namespace Property.Module.FixedAssets ...@@ -1618,6 +1621,8 @@ namespace Property.Module.FixedAssets
{ {
} }
if (usemodel.Source != PropertySourceEnum.Maintain)
{
List<WhereHelper> pwheres = new List<WhereHelper>() { List<WhereHelper> pwheres = new List<WhereHelper>() {
new WhereHelper(){ new WhereHelper(){
FiledName=nameof(RB_Property_Info.Id), FiledName=nameof(RB_Property_Info.Id),
...@@ -1625,6 +1630,7 @@ namespace Property.Module.FixedAssets ...@@ -1625,6 +1630,7 @@ namespace Property.Module.FixedAssets
} }
}; };
property_InfoRepository.Update(pflies, pwheres, trans); property_InfoRepository.Update(pflies, pwheres, trans);
}
//日志 //日志
var emmodel = CacheManager.User.UserReidsCache.GetEmployee(usemodel.EmployeeId); var emmodel = CacheManager.User.UserReidsCache.GetEmployee(usemodel.EmployeeId);
string ContentMsg = ""; 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