时间判定
This commit is contained in:
		
							parent
							
								
									ba82182c72
								
							
						
					
					
						commit
						9bdc83ad75
					
				@ -5187,6 +5187,11 @@ namespace APT.PP.WebApi.Controllers.Api
 | 
				
			|||||||
                                }
 | 
					                                }
 | 
				
			||||||
                                if (userInfo != null)
 | 
					                                if (userInfo != null)
 | 
				
			||||||
                                {
 | 
					                                {
 | 
				
			||||||
 | 
					                                    var setTime = setList.FirstOrDefault(t => t.MineType == item.Mine && t.CHECK_CYCLE == item.Cycle && t.CHECKTIME.Value.Hour == dt.Hour);
 | 
				
			||||||
 | 
					                                    if (item.CheckPost != "班组负责人" && setTime == null)
 | 
				
			||||||
 | 
					                                    {
 | 
				
			||||||
 | 
					                                        continue;
 | 
				
			||||||
 | 
					                                    }
 | 
				
			||||||
                                    T_SK_SECURITY_INSPECTION_NOTICE safeNotice = new T_SK_SECURITY_INSPECTION_NOTICE();
 | 
					                                    T_SK_SECURITY_INSPECTION_NOTICE safeNotice = new T_SK_SECURITY_INSPECTION_NOTICE();
 | 
				
			||||||
                                    safeNotice.ORG_ID = filter.OrgId;
 | 
					                                    safeNotice.ORG_ID = filter.OrgId;
 | 
				
			||||||
                                    safeNotice.APPLY_DEPARTMENT_ID = userInfo.DEPARTMENT_ID;
 | 
					                                    safeNotice.APPLY_DEPARTMENT_ID = userInfo.DEPARTMENT_ID;
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
		Reference in New Issue
	
	Block a user