質問編集履歴
1
テーブル定義・jspの記述を追加しました。
test
CHANGED
File without changes
|
test
CHANGED
@@ -241,3 +241,207 @@
|
|
241
241
|
}
|
242
242
|
|
243
243
|
```
|
244
|
+
|
245
|
+
|
246
|
+
|
247
|
+
```jsp
|
248
|
+
|
249
|
+
|
250
|
+
|
251
|
+
<body>
|
252
|
+
|
253
|
+
<jsp:include page="../navigation/navigationBar.jsp" />
|
254
|
+
|
255
|
+
<div class="container-fluid">
|
256
|
+
|
257
|
+
<h1>コメント一覧画面</h1>
|
258
|
+
|
259
|
+
<p>
|
260
|
+
|
261
|
+
<button type="button"
|
262
|
+
|
263
|
+
onclick="location.href='../manager/commentCompanyTraineeList'"
|
264
|
+
|
265
|
+
class="btn btn-warning">社員一覧へ戻る</button>
|
266
|
+
|
267
|
+
</p>
|
268
|
+
|
269
|
+
<p>
|
270
|
+
|
271
|
+
<div class="row">
|
272
|
+
|
273
|
+
<div class="col-12">
|
274
|
+
|
275
|
+
<h4 id="date-6" class="center">
|
276
|
+
|
277
|
+
2019年8月第1週
|
278
|
+
|
279
|
+
<button type="button"
|
280
|
+
|
281
|
+
onclick="location.href='../manager/commentReportRegister'"
|
282
|
+
|
283
|
+
class="btn btn-info">コメント登録</button>
|
284
|
+
|
285
|
+
<button type="button"
|
286
|
+
|
287
|
+
onclick="location.href='../manager/commentReportEdit'"
|
288
|
+
|
289
|
+
class="btn btn-info">コメント編集</button>
|
290
|
+
|
291
|
+
</h4>
|
292
|
+
|
293
|
+
<table class="table table-bordered">
|
294
|
+
|
295
|
+
<thead class="thead-job-color">
|
296
|
+
|
297
|
+
<tr>
|
298
|
+
|
299
|
+
<th class="right">日付</th>
|
300
|
+
|
301
|
+
<th class="center">曜<br>日
|
302
|
+
|
303
|
+
</th>
|
304
|
+
|
305
|
+
<th>内容</th>
|
306
|
+
|
307
|
+
<th>予定</th>
|
308
|
+
|
309
|
+
<th>実績</th>
|
310
|
+
|
311
|
+
</tr>
|
312
|
+
|
313
|
+
</thead>
|
314
|
+
|
315
|
+
<tbody>
|
316
|
+
|
317
|
+
<c:forEach items="${requestScope.workBeanList}" var="workBean" varStatus="">
|
318
|
+
|
319
|
+
<tr class="vacation">
|
320
|
+
|
321
|
+
<td class="right">${workBean.localDate}</td>
|
322
|
+
|
323
|
+
<td class="center">${workBean.dayOfTheWeek}</td>
|
324
|
+
|
325
|
+
</tr>
|
326
|
+
|
327
|
+
</c:forEach>
|
328
|
+
|
329
|
+
<c:forEach items="${requestScope.commentReportEditList}" var="commentBean" varStatus="">
|
330
|
+
|
331
|
+
<tr class="vacation">
|
332
|
+
|
333
|
+
<td class="pre-line">${commentBean.contentsTextArray}</td>
|
334
|
+
|
335
|
+
<td class="pre-line">${commentBean.planTextArray}</td>
|
336
|
+
|
337
|
+
<td class="pre-line">${commentBean.actualTextArray}</td>
|
338
|
+
|
339
|
+
</tr>
|
340
|
+
|
341
|
+
</c:forEach>
|
342
|
+
|
343
|
+
</tbody>
|
344
|
+
|
345
|
+
</table>
|
346
|
+
|
347
|
+
<table class="table table-bordered">
|
348
|
+
|
349
|
+
<thead class="thead-job-color">
|
350
|
+
|
351
|
+
<tr>
|
352
|
+
|
353
|
+
<th>コメント</th>
|
354
|
+
|
355
|
+
</tr>
|
356
|
+
|
357
|
+
</thead>
|
358
|
+
|
359
|
+
<tbody>
|
360
|
+
|
361
|
+
<tr>
|
362
|
+
|
363
|
+
<td>
|
364
|
+
|
365
|
+
<p>
|
366
|
+
|
367
|
+
<label for="comment1Text" class="label-control">コメント1</label><br>
|
368
|
+
|
369
|
+
<textarea id="comment1Text" name="comment1Text" rows="6" cols="80" class="form-control" ></textarea>
|
370
|
+
|
371
|
+
</p>
|
372
|
+
|
373
|
+
</td>
|
374
|
+
|
375
|
+
</tr>
|
376
|
+
|
377
|
+
|
378
|
+
|
379
|
+
<tr>
|
380
|
+
|
381
|
+
<td>
|
382
|
+
|
383
|
+
<p>
|
384
|
+
|
385
|
+
<label for="comment2Text" class="label-control">コメント2</label><br>
|
386
|
+
|
387
|
+
<textarea id="comment2Text" name="comment2Text" rows="6" cols="80" class="form-control" ></textarea>
|
388
|
+
|
389
|
+
</p>
|
390
|
+
|
391
|
+
</td>
|
392
|
+
|
393
|
+
</tr>
|
394
|
+
|
395
|
+
|
396
|
+
|
397
|
+
<tr>
|
398
|
+
|
399
|
+
<td>
|
400
|
+
|
401
|
+
<p>
|
402
|
+
|
403
|
+
<label for="comment3Text" class="label-control">コメント3</label><br>
|
404
|
+
|
405
|
+
<textarea id="comment2Text" name="comment2Text" rows="6" cols="80" class="form-control" ></textarea>
|
406
|
+
|
407
|
+
</p>
|
408
|
+
|
409
|
+
</td>
|
410
|
+
|
411
|
+
</tr>
|
412
|
+
|
413
|
+
</tbody>
|
414
|
+
|
415
|
+
</table>
|
416
|
+
|
417
|
+
</div>
|
418
|
+
|
419
|
+
</div>
|
420
|
+
|
421
|
+
</div>
|
422
|
+
|
423
|
+
</body>
|
424
|
+
|
425
|
+
</html>
|
426
|
+
|
427
|
+
```
|
428
|
+
|
429
|
+
【テーブル定義】
|
430
|
+
|
431
|
+
・user_no:Integer型、notnull、プライマリーキー・外部キー
|
432
|
+
|
433
|
+
・comment_date:date型、notnull、プライマリーキー
|
434
|
+
|
435
|
+
・contents_text_array:Text[]型
|
436
|
+
|
437
|
+
・plan_text_array:Text[]型
|
438
|
+
|
439
|
+
・actual_text_array:Text[]型
|
440
|
+
|
441
|
+
・comment1_text:text型
|
442
|
+
|
443
|
+
・comment2_text:text型
|
444
|
+
|
445
|
+
・comment3_text:text型
|
446
|
+
|
447
|
+
・release_start_timestamp:Timestamp型、notnull
|