| 
					
				 | 
			
			
				@@ -10,7 +10,6 @@ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 	<meta name="Keywords" content="키워드" /> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 	 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 	<%@ include file="/WEB-INF/views/common.jsp" %> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-	 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 	<link rel="stylesheet" type="text/css" href="${contextRoot }/css/common.css" /> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 	<link rel="stylesheet" type="text/css" href="${contextRoot }/css/main.css" /> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 	<link rel="stylesheet" href="//code.jquery.com/ui/1.11.2/themes/smoothness/jquery-ui.css" /> 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -110,14 +109,9 @@ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 				<div class="holydayPlanBody"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 					<table> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 						<colgroup> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-							<col width="10%" /> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-							<col width="10%" /> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-							<col width="10%" /> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-							<col width="10%" /> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-							<col width="10%" /> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-							<col width="10%" /> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-							<col width="10%" /> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-							<col width="30%" /> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+							<col width="33.3%"/> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+							<col width="33.3%"/> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+							<col width="33.3%"/> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 						</colgroup> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 						<tbody id="holyInfoList"></tbody> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 					</table> 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -704,14 +698,11 @@ function getCrwdInfoList() { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 function getCrwdInfoListCallback(data) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-	if(data.length > 0) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+	var weekHtml = '<tr>'; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+	if(data && data.length > 6) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 	{ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-		var weekHtml = ''; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 		var intPlanNo; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 		var planDy; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-		weekHtml += '<tr>'; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-		if(data.length > 6) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-		{ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 			for(var ii = 0; ii < data.length; ii++) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 			{ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 				var backColor = '#fff'; 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -721,24 +712,24 @@ function getCrwdInfoListCallback(data) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 				if(planDy == thisDy) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 				{ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 					backColor = 'yellow'; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+					$('#dayPlanNo').val(data[ii].int_PLAN_NO); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+					_TodayPlanNo = intPlanNo; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 				} 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 				if(dyNo == planDy)  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 				{ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 					weekHtml += '<td style="background-color:'+backColor+'" id="planId_'+(ii+1)+'" >'+intPlanNo+'</td>'; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-					_TodayPlanNo = intPlanNo; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-					$('#dayPlanNo option[value="'+intPlanNo+'"]').prop('selected',true); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 				} 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 				else weekHtml += '<td>-</td>'; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 			} 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-		} 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-		else 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-		{ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-			for(var jj = 0; jj < 7; jj++) weekHtml += '<td>-</td>'; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-		} 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-		weekHtml += '</tr>'; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 		 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-		$('#weekInfoList').empty().html(weekHtml); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 	} 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+	else { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+		for(var jj = 0; jj < 7; jj++) weekHtml += '<td>-</td>'; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+	} 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+	 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+	weekHtml += '</tr>'; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+	$('#weekInfoList').empty().html(weekHtml); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+	 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 	getCrhdInfoList(); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -789,7 +780,7 @@ function getCrhdInfoListCallback(data) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 	 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 	//if(thisDy == 0) thisDy = 7; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 	//var todayPlanNo = $('#planId_'+_TodayPlanNo).text(); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-	$('#dayPlanNo option[value="'+intPlanNo+'"]').prop('selected',true); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+	//$('#dayPlanNo option[value="'+intPlanNo+'"]').prop('selected',true); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 	 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 	getCrrsInfoList(); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 } 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -842,9 +833,10 @@ function getCrrsInfoListCallback(data) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 			{ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 				if (resrvPlanNo < 6) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 				{ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-					// 시차제인경우에 계획번호가 6~10번으로 들어오지않고 0~5번으로 들어오는 경우 6~10번으로 계획번호를 조정해 준다. 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+					// 시차제인경우에 계획번호가 6~10번으로 들어오지않고 0~4번으로 들어오는 경우 6~10번으로 계획번호를 조정해 준다. 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 					resrvPlanNo = resrvPlanNo + 6; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 				} 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+				console.log(resrvPlanNo); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 				$('#planId_'+resrvDy).text(resrvPlanNo); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 			} 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 			 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -879,8 +871,9 @@ function getCrrsInfoListCallback(data) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 							var d = new Date(); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 							var thisHour = d.getHours(); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 							 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-							if(thisHour >= resrvStrtHh && thisHour < resrvEndHh) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+							if(thisHour >= resrvStrtHh && thisHour < resrvEndHh && thisDy == resrvDy) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 							{ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+								 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 								//$('#planId_'+resrvDy).text(resrvPlanNo); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 								_TodayPlanNo = resrvPlanNo; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 							} 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -926,6 +919,9 @@ function getCrrsInfoListCallback(data) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 		{ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 			$('#planId_'+i).text(monToFri); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 		} 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+		if (thisDy < 6) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+			_TodayPlanNo = monToFri; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+		} 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 	} 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 	 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 	if(satToSun != 0) 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -934,18 +930,20 @@ function getCrrsInfoListCallback(data) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 		{ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 			$('#planId_'+j).text(satToSun); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 		} 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+		if (thisDy > 5) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+			_TodayPlanNo = satToSun; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+		} 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 	} 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 	 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 	//var todayPlanNo = $('#planId_'+thisDy).text(); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 	$('#dayPlanNo option[value="'+Number(_TodayPlanNo)+'"]').prop('selected',true); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-	 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 	//DAY PLAN 가저온다.. 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 	getCropInfoList(_TodayPlanNo); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 //DAY PLAN 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 function getCropInfoList(planNo) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-	 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 	var regionCd = _RegionCd; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 	var intNo = _IntNo; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 	var url = 'getCropInfoList.do'; 
			 |