Commit 4c986a6a authored by liudong1993's avatar liudong1993

1

parent 6769d7ac
......@@ -2028,8 +2028,8 @@ namespace Property.Module.FixedAssets
var demodel = supplies_StockInRepository.GetEntity(StockInId);
UserInfo userInfo = CacheManager.User.UserReidsCache.GetUserLoginInfo((demodel.CreateBy ?? 0).ToString());
//判断是否需要流程审批
var tmodel = GetTempleteModel(PropertyFlowEnum.StockIn, demodel.RB_Branch_Id ?? 0, demodel.RB_Group_Id ?? 0);
var rmodel = auditRelevanceRepository.GetList(new RB_Property_AuditRelevance() { RB_Group_Id = demodel.RB_Group_Id, Type = PropertyFlowEnum.StockIn }).FirstOrDefault();
var tmodel = GetTempleteModel(PropertyFlowEnum.Allot, demodel.RB_Branch_Id ?? 0, demodel.RB_Group_Id ?? 0);//PropertyFlowEnum.StockIn
var rmodel = auditRelevanceRepository.GetList(new RB_Property_AuditRelevance() { RB_Group_Id = demodel.RB_Group_Id, Type = PropertyFlowEnum.Allot }).FirstOrDefault();//PropertyFlowEnum.StockIn
if (rmodel != null && rmodel.Enabled == 1)
{
//开始创建流程
......
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