作者 xiaohu thinkpad

修复教练的时间段可以重复预约

1 <?xml version="1.0" encoding="UTF-8"?> 1 <?xml version="1.0" encoding="UTF-8"?>
2 <project version="4"> 2 <project version="4">
3 <component name="ChangeListManager"> 3 <component name="ChangeListManager">
4 - <list default="true" id="03b59864-5835-4588-bfae-54004809f199" name="Default" comment="" /> 4 + <list default="true" id="03b59864-5835-4588-bfae-54004809f199" name="Default" comment="">
  5 + <change beforePath="$PROJECT_DIR$/.idea/workspace.xml" beforeDir="false" afterPath="$PROJECT_DIR$/.idea/workspace.xml" afterDir="false" />
  6 + </list>
5 <option name="EXCLUDED_CONVERTED_TO_IGNORED" value="true" /> 7 <option name="EXCLUDED_CONVERTED_TO_IGNORED" value="true" />
6 <option name="TRACKING_ENABLED" value="true" /> 8 <option name="TRACKING_ENABLED" value="true" />
7 <option name="SHOW_DIALOG" value="false" /> 9 <option name="SHOW_DIALOG" value="false" />
@@ -38,8 +40,8 @@ @@ -38,8 +40,8 @@
38 <file leaf-file-name="admin_menu.php" pinned="false" current-in-tab="false"> 40 <file leaf-file-name="admin_menu.php" pinned="false" current-in-tab="false">
39 <entry file="file://$PROJECT_DIR$/data/lang/zh-cn/admin_menu.php"> 41 <entry file="file://$PROJECT_DIR$/data/lang/zh-cn/admin_menu.php">
40 <provider selected="true" editor-type-id="text-editor"> 42 <provider selected="true" editor-type-id="text-editor">
41 - <state relative-caret-position="2961">  
42 - <caret line="141" column="2" selection-start-line="141" selection-start-column="2" selection-end-line="141" selection-end-column="2" /> 43 + <state relative-caret-position="1113">
  44 + <caret line="53" column="2" selection-start-line="53" selection-start-column="2" selection-end-line="53" selection-end-column="2" />
43 </state> 45 </state>
44 </provider> 46 </provider>
45 </entry> 47 </entry>
@@ -48,7 +50,7 @@ @@ -48,7 +50,7 @@
48 <entry file="file://$PROJECT_DIR$/public/themes/admin_simpleboot3/admin/login.html"> 50 <entry file="file://$PROJECT_DIR$/public/themes/admin_simpleboot3/admin/login.html">
49 <provider selected="true" editor-type-id="text-editor"> 51 <provider selected="true" editor-type-id="text-editor">
50 <state relative-caret-position="693"> 52 <state relative-caret-position="693">
51 - <caret line="33" column="7" selection-start-line="33" selection-start-column="7" selection-end-line="33" selection-end-column="7" /> 53 + <caret line="33" selection-start-line="33" selection-end-line="33" />
52 <folding> 54 <folding>
53 <element signature="n#style#0;n#div#0;n#div#0;n#div#2;n#div#0;n#div#0;n#body#0;n#html#0;n#!!top" expanded="true" /> 55 <element signature="n#style#0;n#div#0;n#div#0;n#div#2;n#div#0;n#div#0;n#body#0;n#html#0;n#!!top" expanded="true" />
54 </folding> 56 </folding>
@@ -68,8 +70,8 @@ @@ -68,8 +70,8 @@
68 <file leaf-file-name="header.html" pinned="false" current-in-tab="true"> 70 <file leaf-file-name="header.html" pinned="false" current-in-tab="true">
69 <entry file="file://$PROJECT_DIR$/public/themes/admin_simpleboot3/public/header.html"> 71 <entry file="file://$PROJECT_DIR$/public/themes/admin_simpleboot3/public/header.html">
70 <provider selected="true" editor-type-id="text-editor"> 72 <provider selected="true" editor-type-id="text-editor">
71 - <state relative-caret-position="84">  
72 - <caret line="19" column="36" selection-start-line="19" selection-start-column="29" selection-end-line="19" selection-end-column="36" /> 73 + <state relative-caret-position="546">
  74 + <caret line="26" column="28" selection-start-line="26" selection-start-column="28" selection-end-line="26" selection-end-column="28" />
73 </state> 75 </state>
74 </provider> 76 </provider>
75 </entry> 77 </entry>
@@ -129,6 +131,9 @@ @@ -129,6 +131,9 @@
129 <dir>$PROJECT_DIR$</dir> 131 <dir>$PROJECT_DIR$</dir>
130 </dirStrings> 132 </dirStrings>
131 </component> 133 </component>
  134 + <component name="Git.Settings">
  135 + <option name="RECENT_GIT_ROOT_PATH" value="$PROJECT_DIR$" />
  136 + </component>
132 <component name="IdeDocumentHistory"> 137 <component name="IdeDocumentHistory">
133 <option name="CHANGED_PATHS"> 138 <option name="CHANGED_PATHS">
134 <list> 139 <list>
@@ -196,52 +201,13 @@ @@ -196,52 +201,13 @@
196 <subPane> 201 <subPane>
197 <expand> 202 <expand>
198 <path> 203 <path>
199 - <item name="dm162jiajiao" type="b2602c69:ProjectViewProjectNode" />  
200 - <item name="dm162jiajiao" type="462c0819:PsiDirectoryNode" />  
201 - </path>  
202 - <path>  
203 - <item name="dm162jiajiao" type="b2602c69:ProjectViewProjectNode" />  
204 - <item name="dm162jiajiao" type="462c0819:PsiDirectoryNode" />  
205 - <item name="app" type="462c0819:PsiDirectoryNode" />  
206 - </path>  
207 - <path>  
208 - <item name="dm162jiajiao" type="b2602c69:ProjectViewProjectNode" />  
209 - <item name="dm162jiajiao" type="462c0819:PsiDirectoryNode" />  
210 - <item name="app" type="462c0819:PsiDirectoryNode" />  
211 - <item name="admin" type="462c0819:PsiDirectoryNode" /> 204 + <item name="dm161xcgit" type="b2602c69:ProjectViewProjectNode" />
  205 + <item name="dm161xcgit" type="462c0819:PsiDirectoryNode" />
212 </path> 206 </path>
213 <path> 207 <path>
214 - <item name="dm162jiajiao" type="b2602c69:ProjectViewProjectNode" />  
215 - <item name="dm162jiajiao" type="462c0819:PsiDirectoryNode" />  
216 - <item name="app" type="462c0819:PsiDirectoryNode" />  
217 - <item name="admin" type="462c0819:PsiDirectoryNode" />  
218 - <item name="controller" type="462c0819:PsiDirectoryNode" />  
219 - </path>  
220 - <path>  
221 - <item name="dm162jiajiao" type="b2602c69:ProjectViewProjectNode" />  
222 - <item name="dm162jiajiao" type="462c0819:PsiDirectoryNode" />  
223 - <item name="public" type="462c0819:PsiDirectoryNode" />  
224 - </path>  
225 - <path>  
226 - <item name="dm162jiajiao" type="b2602c69:ProjectViewProjectNode" />  
227 - <item name="dm162jiajiao" type="462c0819:PsiDirectoryNode" />  
228 - <item name="public" type="462c0819:PsiDirectoryNode" />  
229 - <item name="themes" type="462c0819:PsiDirectoryNode" />  
230 - </path>  
231 - <path>  
232 - <item name="dm162jiajiao" type="b2602c69:ProjectViewProjectNode" />  
233 - <item name="dm162jiajiao" type="462c0819:PsiDirectoryNode" />  
234 - <item name="public" type="462c0819:PsiDirectoryNode" />  
235 - <item name="themes" type="462c0819:PsiDirectoryNode" />  
236 - <item name="admin_simpleboot3" type="462c0819:PsiDirectoryNode" />  
237 - </path>  
238 - <path>  
239 - <item name="dm162jiajiao" type="b2602c69:ProjectViewProjectNode" />  
240 - <item name="dm162jiajiao" type="462c0819:PsiDirectoryNode" />  
241 - <item name="public" type="462c0819:PsiDirectoryNode" />  
242 - <item name="themes" type="462c0819:PsiDirectoryNode" />  
243 - <item name="admin_simpleboot3" type="462c0819:PsiDirectoryNode" />  
244 - <item name="admin" type="462c0819:PsiDirectoryNode" /> 208 + <item name="dm161xcgit" type="b2602c69:ProjectViewProjectNode" />
  209 + <item name="dm161xcgit" type="462c0819:PsiDirectoryNode" />
  210 + <item name="simplewind" type="462c0819:PsiDirectoryNode" />
245 </path> 211 </path>
246 </expand> 212 </expand>
247 <select /> 213 <select />
@@ -251,7 +217,7 @@ @@ -251,7 +217,7 @@
251 </component> 217 </component>
252 <component name="PropertiesComponent"> 218 <component name="PropertiesComponent">
253 <property name="WebServerToolWindowFactoryState" value="false" /> 219 <property name="WebServerToolWindowFactoryState" value="false" />
254 - <property name="last_opened_file_path" value="$PROJECT_DIR$/../lwyz" /> 220 + <property name="last_opened_file_path" value="$PROJECT_DIR$" />
255 <property name="nodejs_interpreter_path.stuck_in_default_project" value="undefined stuck path" /> 221 <property name="nodejs_interpreter_path.stuck_in_default_project" value="undefined stuck path" />
256 <property name="nodejs_npm_path_reset_for_default_project" value="true" /> 222 <property name="nodejs_npm_path_reset_for_default_project" value="true" />
257 <property name="nodejs_package_manager_path" value="npm" /> 223 <property name="nodejs_package_manager_path" value="npm" />
@@ -288,22 +254,31 @@ @@ -288,22 +254,31 @@
288 <workItem from="1531653353141" duration="7654000" /> 254 <workItem from="1531653353141" duration="7654000" />
289 <workItem from="1531747533208" duration="2488000" /> 255 <workItem from="1531747533208" duration="2488000" />
290 <workItem from="1531794895610" duration="20000" /> 256 <workItem from="1531794895610" duration="20000" />
  257 + <workItem from="1535458114609" duration="473000" />
291 </task> 258 </task>
  259 + <task id="LOCAL-00001" summary="修复预约后不能再预约的问题">
  260 + <created>1535458170068</created>
  261 + <option name="number" value="00001" />
  262 + <option name="presentableId" value="LOCAL-00001" />
  263 + <option name="project" value="LOCAL" />
  264 + <updated>1535458170068</updated>
  265 + </task>
  266 + <option name="localTasksCounter" value="2" />
292 <servers /> 267 <servers />
293 </component> 268 </component>
294 <component name="TimeTrackingManager"> 269 <component name="TimeTrackingManager">
295 - <option name="totallyTimeSpent" value="16536000" /> 270 + <option name="totallyTimeSpent" value="17009000" />
296 </component> 271 </component>
297 <component name="ToolWindowManager"> 272 <component name="ToolWindowManager">
298 - <frame x="-8" y="-8" width="1382" height="744" extended-state="6" /> 273 + <frame x="-8" y="-8" width="1936" height="1056" extended-state="6" />
299 <layout> 274 <layout>
300 - <window_info active="true" content_ui="combo" id="Project" order="0" visible="true" weight="0.21669106" /> 275 + <window_info active="true" content_ui="combo" id="Project" order="0" visible="true" weight="0.1401919" />
301 <window_info anchor="bottom" id="TODO" order="6" /> 276 <window_info anchor="bottom" id="TODO" order="6" />
302 <window_info anchor="bottom" id="Docker" order="7" show_stripe_button="false" /> 277 <window_info anchor="bottom" id="Docker" order="7" show_stripe_button="false" />
303 <window_info anchor="bottom" id="Event Log" order="7" side_tool="true" /> 278 <window_info anchor="bottom" id="Event Log" order="7" side_tool="true" />
304 <window_info anchor="right" id="Database" order="3" /> 279 <window_info anchor="right" id="Database" order="3" />
305 <window_info anchor="bottom" id="Database Changes" order="7" show_stripe_button="false" /> 280 <window_info anchor="bottom" id="Database Changes" order="7" show_stripe_button="false" />
306 - <window_info anchor="bottom" id="Version Control" order="7" show_stripe_button="false" /> 281 + <window_info anchor="bottom" id="Version Control" order="7" />
307 <window_info anchor="bottom" id="Run" order="2" /> 282 <window_info anchor="bottom" id="Run" order="2" />
308 <window_info id="Structure" order="1" side_tool="true" weight="0.25" /> 283 <window_info id="Structure" order="1" side_tool="true" weight="0.25" />
309 <window_info anchor="bottom" id="Terminal" order="7" /> 284 <window_info anchor="bottom" id="Terminal" order="7" />
@@ -314,9 +289,9 @@ @@ -314,9 +289,9 @@
314 <window_info anchor="bottom" id="Inspection" order="5" weight="0.4" /> 289 <window_info anchor="bottom" id="Inspection" order="5" weight="0.4" />
315 <window_info anchor="right" id="Commander" internal_type="SLIDING" order="0" type="SLIDING" weight="0.4" /> 290 <window_info anchor="right" id="Commander" internal_type="SLIDING" order="0" type="SLIDING" weight="0.4" />
316 <window_info anchor="right" id="Ant Build" order="1" weight="0.25" /> 291 <window_info anchor="right" id="Ant Build" order="1" weight="0.25" />
317 - <window_info anchor="bottom" id="Find" order="1" weight="0.32881355" />  
318 - <window_info anchor="bottom" id="Cvs" order="4" weight="0.25" />  
319 <window_info anchor="bottom" id="Message" order="0" /> 292 <window_info anchor="bottom" id="Message" order="0" />
  293 + <window_info anchor="bottom" id="Cvs" order="4" weight="0.25" />
  294 + <window_info anchor="bottom" id="Find" order="1" weight="0.32881355" />
320 </layout> 295 </layout>
321 </component> 296 </component>
322 <component name="TypeScriptGeneratedFilesManager"> 297 <component name="TypeScriptGeneratedFilesManager">
@@ -325,6 +300,10 @@ @@ -325,6 +300,10 @@
325 <component name="VcsContentAnnotationSettings"> 300 <component name="VcsContentAnnotationSettings">
326 <option name="myLimit" value="2678400000" /> 301 <option name="myLimit" value="2678400000" />
327 </component> 302 </component>
  303 + <component name="VcsManagerConfiguration">
  304 + <MESSAGE value="修复预约后不能再预约的问题" />
  305 + <option name="LAST_COMMIT_MESSAGE" value="修复预约后不能再预约的问题" />
  306 + </component>
328 <component name="editorHistoryManager"> 307 <component name="editorHistoryManager">
329 <entry file="file://$PROJECT_DIR$/../07-08-voyager/your-project-name/vendor/tcg/voyager/publishable/lang/en/login.php" /> 308 <entry file="file://$PROJECT_DIR$/../07-08-voyager/your-project-name/vendor/tcg/voyager/publishable/lang/en/login.php" />
330 <entry file="file://$PROJECT_DIR$/../07-08-voyager/your-project-name/.env" /> 309 <entry file="file://$PROJECT_DIR$/../07-08-voyager/your-project-name/.env" />
@@ -538,15 +517,15 @@ @@ -538,15 +517,15 @@
538 <entry file="file://$PROJECT_DIR$/public/static/css/viyagerapp.css" /> 517 <entry file="file://$PROJECT_DIR$/public/static/css/viyagerapp.css" />
539 <entry file="file://$PROJECT_DIR$/data/lang/zh-cn/admin_menu.php"> 518 <entry file="file://$PROJECT_DIR$/data/lang/zh-cn/admin_menu.php">
540 <provider selected="true" editor-type-id="text-editor"> 519 <provider selected="true" editor-type-id="text-editor">
541 - <state relative-caret-position="2961">  
542 - <caret line="141" column="2" selection-start-line="141" selection-start-column="2" selection-end-line="141" selection-end-column="2" /> 520 + <state relative-caret-position="1113">
  521 + <caret line="53" column="2" selection-start-line="53" selection-start-column="2" selection-end-line="53" selection-end-column="2" />
543 </state> 522 </state>
544 </provider> 523 </provider>
545 </entry> 524 </entry>
546 <entry file="file://$PROJECT_DIR$/public/themes/admin_simpleboot3/admin/login.html"> 525 <entry file="file://$PROJECT_DIR$/public/themes/admin_simpleboot3/admin/login.html">
547 <provider selected="true" editor-type-id="text-editor"> 526 <provider selected="true" editor-type-id="text-editor">
548 <state relative-caret-position="693"> 527 <state relative-caret-position="693">
549 - <caret line="33" column="7" selection-start-line="33" selection-start-column="7" selection-end-line="33" selection-end-column="7" /> 528 + <caret line="33" selection-start-line="33" selection-end-line="33" />
550 <folding> 529 <folding>
551 <element signature="n#style#0;n#div#0;n#div#0;n#div#2;n#div#0;n#div#0;n#body#0;n#html#0;n#!!top" expanded="true" /> 530 <element signature="n#style#0;n#div#0;n#div#0;n#div#2;n#div#0;n#div#0;n#body#0;n#html#0;n#!!top" expanded="true" />
552 </folding> 531 </folding>
@@ -562,8 +541,8 @@ @@ -562,8 +541,8 @@
562 </entry> 541 </entry>
563 <entry file="file://$PROJECT_DIR$/public/themes/admin_simpleboot3/public/header.html"> 542 <entry file="file://$PROJECT_DIR$/public/themes/admin_simpleboot3/public/header.html">
564 <provider selected="true" editor-type-id="text-editor"> 543 <provider selected="true" editor-type-id="text-editor">
565 - <state relative-caret-position="84">  
566 - <caret line="19" column="36" selection-start-line="19" selection-start-column="29" selection-end-line="19" selection-end-column="36" /> 544 + <state relative-caret-position="546">
  545 + <caret line="26" column="28" selection-start-line="26" selection-start-column="28" selection-end-line="26" selection-end-column="28" />
567 </state> 546 </state>
568 </provider> 547 </provider>
569 </entry> 548 </entry>
@@ -28,7 +28,7 @@ class ToolController extends HomeBaseController @@ -28,7 +28,7 @@ class ToolController extends HomeBaseController
28 $res = Db::name('yuyue')->where(['yuyue_day'=>$day,'teach_id'=>$uid])->select()->toArray(); 28 $res = Db::name('yuyue')->where(['yuyue_day'=>$day,'teach_id'=>$uid])->select()->toArray();
29 29
30 $all_arr = []; 30 $all_arr = [];
31 - for($t = 7;$t<=18;$t++){ 31 + for($t = 6;$t<=18;$t++){
32 $all_arr[]=$t; 32 $all_arr[]=$t;
33 } 33 }
34 34