非常完整的Java开发的网络办公系统

源代码在线查看: check_off_only.jsp

软件大小: 23203 K
上传用户: RR15133422795
关键词: Java 网络
下载地址: 免注册下载 普通下载 VIP

相关代码

				
				
				
				
				
				#ssm2 A {
					FONT-SIZE: 12px; COLOR: black; FONT-FAMILY: verdana; TEXT-DECORATION: none
				}
				#ssm2 A:hover {
					COLOR: red
				}
				
				
				
				
				  
				function forWardIndex()
				{
				    window.location = "/vnex/index.jsp";
				}
				
				
				  
				
				
				
				 
				
								    AttendanceProxyBean attProxy = new AttendanceProxyBean(); 
				    int empId = -1;
				    if ( BusinessName.getEmpId() != 0)
				        empId = BusinessName.getEmpId();
				           
				%>
				
				
				  
				     
				   
				     
				         
				          
				             
				              
				                
				                   
				                      
				                    首页>>个人办公>>登记考勤>>下班登记 
				                    
				                    
				                     
				                      
				                    
				                   
				                 
				                  
				                   
				                     
				                      
				                         
				                           你好: 
				                           
				                        
				                         
				                           您登录的上班时间是: 
				                          
				                          				                            Calendar nowTime=Calendar.getInstance();
				                            int nowHour = 0;
				                            int nowMinute = 0;
				                            String amPm = "";
				                            String whetherCheckOff = "";
				                            String whetherCheckIn = "";
				                            String lastNotOffDate = "";
				                            int lateCount= 0; 
				                            
				                            nowHour = nowTime.get( Calendar.HOUR_OF_DAY );
				                            nowMinute = nowTime.get( Calendar.MINUTE ); 
				                            amPm = "";
				                            if (nowHour < 12 )
				                            {
				                                amPm = "AM";
				                            } 
				                            if( nowHour >= 12)
				                            {
				                                amPm = "PM";
				                            }
				                          %>  
				                          : 
				                        
				                        
				                         
				                           您的规定下班时间是: 
				                          
				                          				                          	DivAttTimeProxy datProxy = new DivAttTimeProxy();
				                          	int setOffDutyHour = datProxy.getOffDutyHour(empId);
				                          %>
				                            :   11?"PM":"AM"%>
				                        
				                         				                             String checkOffNotes = " ";
				                             checkOffNotes = request.getParameter("checkOffNotes");
				                             lateCount = attProxy.calculateEarlyLeaveTime(empId);
				                             if(lateCount > 0)
				                             {
				                                %>
				                                
				                                  
				                            状态:早退时间: 
				                          
				                          
				                                 
				                          
				                        				                                }
				                                
				                                 if ( !checkOffNotes.equals(""))
				                             {
				                             %>
				                         
				                            您的备注是: 
				                          
				                           
				                          
				                        
				                        				                        }
				                         attProxy.addCheckOffRecordOnly( empId,checkOffNotes );
				                        %>
				                         
				                           
				                            
				                          
				                        
				                      
				                        
				                    
				                    
				                  
				                  
				              
				            
				
				          
				          
				
				    
				  
				     
				  
				  
				 
					
				
				
							

相关资源