質問編集履歴
2
rubytomato様のコメント1,2の項目を更新しました。
test
CHANGED
File without changes
|
test
CHANGED
@@ -6,14 +6,6 @@
|
|
6
6
|
|
7
7
|
|
8
8
|
|
9
|
-
自分で調べて2つ解決方法を試みましたが、解決しませんでした。
|
10
|
-
|
11
|
-
①カラム名が間違っているので確認する→間違っていない
|
12
|
-
|
13
|
-
②シングルクォーテーションがついてない→Thymleafから値を入れようよとしているので関係ない(?)
|
14
|
-
|
15
|
-
|
16
|
-
|
17
9
|
### 発生している問題・エラーメッセージ
|
18
10
|
|
19
11
|
|
@@ -48,7 +40,7 @@
|
|
48
40
|
|
49
41
|
@Column(name="id")
|
50
42
|
|
51
|
-
@GeneratedValue(strategy = GenerationType.IDENTITY)
|
43
|
+
@GeneratedValue(strategy = GenerationType.IDENTITY)
|
52
44
|
|
53
45
|
private Integer id;
|
54
46
|
|
@@ -90,11 +82,49 @@
|
|
90
82
|
|
91
83
|
private String year;
|
92
84
|
|
93
|
-
略
|
94
|
-
|
95
|
-
Meisaiのエンティティ部分
|
85
|
+
//Meisaiのエンティティ部分(内部結合しているのでこちらでも記述します)
|
86
|
+
|
87
|
+
|
88
|
+
|
96
|
-
|
89
|
+
@Column(name = "self_mid_cmt")
|
90
|
+
|
91
|
+
private String selfmidcmt;
|
92
|
+
|
93
|
+
|
94
|
+
|
95
|
+
@Column(name = "boss_mid_cmt")
|
96
|
+
|
97
|
+
private String bossmidcmt;
|
98
|
+
|
99
|
+
|
100
|
+
|
101
|
+
@Column(name = "self_end_cmt")
|
102
|
+
|
97
|
-
|
103
|
+
private String selfendcmt;
|
104
|
+
|
105
|
+
|
106
|
+
|
107
|
+
@Column(name = "boss_end_cmt")
|
108
|
+
|
109
|
+
private String bossendcmt;
|
110
|
+
|
111
|
+
|
112
|
+
|
113
|
+
@Column(name = "first_rvw_ck")
|
114
|
+
|
115
|
+
private Boolean firstrvwck;
|
116
|
+
|
117
|
+
|
118
|
+
|
119
|
+
@Column(name = "mid_rvw_ck")
|
120
|
+
|
121
|
+
private Boolean midrvwck;
|
122
|
+
|
123
|
+
|
124
|
+
|
125
|
+
@Column(name = "end_rvw_ck")
|
126
|
+
|
127
|
+
private Boolean endrvwck;
|
98
128
|
|
99
129
|
```
|
100
130
|
|
@@ -114,7 +144,7 @@
|
|
114
144
|
|
115
145
|
@Column(name = "meisai_id")
|
116
146
|
|
117
|
-
@GeneratedValue(strategy = GenerationType.IDENTITY)
|
147
|
+
@GeneratedValue(strategy = GenerationType.IDENTITY)
|
118
148
|
|
119
149
|
private Integer meisaiid;
|
120
150
|
|
@@ -222,6 +252,12 @@
|
|
222
252
|
|
223
253
|
}
|
224
254
|
|
255
|
+
public GoalSeq save(GoalSeq goalseq) {
|
256
|
+
|
257
|
+
return repository.save(goalseq);
|
258
|
+
|
259
|
+
}
|
260
|
+
|
225
261
|
}
|
226
262
|
|
227
263
|
```
|
@@ -246,8 +282,14 @@
|
|
246
282
|
|
247
283
|
}
|
248
284
|
|
285
|
+
public Meisai save(Meisai meisai) {
|
286
|
+
|
287
|
+
return repository.save(meisai);
|
288
|
+
|
249
289
|
}
|
250
290
|
|
291
|
+
}
|
292
|
+
|
251
293
|
```
|
252
294
|
|
253
295
|
フォーム
|
@@ -380,8 +422,6 @@
|
|
380
422
|
|
381
423
|
goal.setGoalid(goalseq.getGoalid());
|
382
424
|
|
383
|
-
//getUserid→ユーザマスタ自体を取ってきてる→その中のidを取り出す(ユーザマスタの情報は拾えて来ているので記述を省略しています)
|
384
|
-
|
385
425
|
goal.setUpdatedby(goalseq.getUserid().getId());
|
386
426
|
|
387
427
|
goalseqservice.save(goal);
|
@@ -570,82 +610,6 @@
|
|
570
610
|
|
571
611
|
```
|
572
612
|
|
573
|
-
テーブル定義です
|
574
|
-
|
575
|
-
|
576
|
-
|
577
|
-
```DDL
|
578
|
-
|
579
|
-
CREATE TABLE goals_seq
|
580
|
-
|
581
|
-
(
|
582
|
-
|
583
|
-
id INT NOT NULL,
|
584
|
-
|
585
|
-
user_id INT,
|
586
|
-
|
587
|
-
goal_id INT,
|
588
|
-
|
589
|
-
goal_title VARCHAR(255),
|
590
|
-
|
591
|
-
goal_detail VARCHAR(1000),
|
592
|
-
|
593
|
-
goal_weight VARCHAR(10),
|
594
|
-
|
595
|
-
updated_at TIMESTAMP(0),
|
596
|
-
|
597
|
-
updated_by INT,
|
598
|
-
|
599
|
-
delete_flg BIT NOT NULL,
|
600
|
-
|
601
|
-
created_at TIMESTAMP(0),
|
602
|
-
|
603
|
-
year VARCHAR(4),
|
604
|
-
|
605
|
-
CONSTRAINT PRIMARY KEY (id)
|
606
|
-
|
607
|
-
);
|
608
|
-
|
609
|
-
|
610
|
-
|
611
|
-
CREATE TABLE meisai_tbl
|
612
|
-
|
613
|
-
(
|
614
|
-
|
615
|
-
meisai_id INT NOT NULL,
|
616
|
-
|
617
|
-
goalseq_id INT,
|
618
|
-
|
619
|
-
self_mid_cmt VARCHAR(1000),
|
620
|
-
|
621
|
-
boss_mid_cmt VARCHAR(1000),
|
622
|
-
|
623
|
-
self_end_cmt VARCHAR(1000),
|
624
|
-
|
625
|
-
boss_end_cmt VARCHAR(1000),
|
626
|
-
|
627
|
-
first_rvw_ck BIT NOT NULL,
|
628
|
-
|
629
|
-
mid_rvw_ck BIT NOT NULL,
|
630
|
-
|
631
|
-
end_rvw_ck BIT NOT NULL,
|
632
|
-
|
633
|
-
updated_at TIMESTAMP(0),
|
634
|
-
|
635
|
-
updated_by INT,
|
636
|
-
|
637
|
-
delete_flg BIT NOT NULL,
|
638
|
-
|
639
|
-
created_at TIMESTAMP(0),
|
640
|
-
|
641
|
-
CONSTRAINT PRIMARY KEY (meisai_id)
|
642
|
-
|
643
|
-
);
|
644
|
-
|
645
|
-
|
646
|
-
|
647
|
-
```
|
648
|
-
|
649
613
|
|
650
614
|
|
651
615
|
|
@@ -678,14 +642,6 @@
|
|
678
642
|
|
679
643
|
|
680
644
|
|
681
|
-
boss_end_cmtの値は受け取れているのになぜエラーでUnknown column 'boss_end_cmt' in 'field list'と出るのかわかりません。
|
682
|
-
|
683
645
|
|
684
646
|
|
685
647
|
### 補足情報(FW/ツールのバージョンなど)
|
686
|
-
|
687
|
-
|
688
|
-
|
689
|
-
|
690
|
-
|
691
|
-
初心者なので至らない点があると思いますがよろしくお願いします。
|
1
DDL追記
test
CHANGED
File without changes
|
test
CHANGED
@@ -14,12 +14,6 @@
|
|
14
14
|
|
15
15
|
|
16
16
|
|
17
|
-
デバックをして途中まで値を持ってこれていることは分かっています。
|
18
|
-
|
19
|
-
以下、詳細を記します。
|
20
|
-
|
21
|
-
|
22
|
-
|
23
17
|
### 発生している問題・エラーメッセージ
|
24
18
|
|
25
19
|
|
@@ -28,9 +22,7 @@
|
|
28
22
|
|
29
23
|
エラーメッセージ
|
30
24
|
|
31
|
-
|
25
|
+
Caused by: java.sql.SQLSyntaxErrorException: Unknown column 'boss_end_cmt' in 'field list'
|
32
|
-
|
33
|
-
②Caused by: org.hibernate.exception.SQLGrammarException: could not execute statement
|
34
26
|
|
35
27
|
```
|
36
28
|
|
@@ -98,33 +90,33 @@
|
|
98
90
|
|
99
91
|
private String year;
|
100
92
|
|
101
|
-
|
102
|
-
|
103
|
-
|
93
|
+
略
|
104
|
-
|
94
|
+
|
105
|
-
|
95
|
+
Meisaiのエンティティ部分(内部結合している)
|
96
|
+
|
106
|
-
|
97
|
+
setterとgetter
|
98
|
+
|
107
|
-
|
99
|
+
```
|
100
|
+
|
108
|
-
|
101
|
+
②Meisai.java
|
102
|
+
|
103
|
+
```java
|
104
|
+
|
105
|
+
@Entity
|
106
|
+
|
109
|
-
|
107
|
+
@Table(name = "meisai_tbl")
|
110
|
-
|
108
|
+
|
111
|
-
|
109
|
+
public class Meisai {
|
110
|
+
|
111
|
+
|
112
|
+
|
112
|
-
|
113
|
+
@Id
|
113
|
-
|
114
|
-
|
114
|
+
|
115
|
-
@Column(name = "
|
115
|
+
@Column(name = "meisai_id")
|
116
|
+
|
116
|
-
|
117
|
+
@GeneratedValue(strategy = GenerationType.IDENTITY) //自動採番
|
118
|
+
|
117
|
-
private
|
119
|
+
private Integer meisaiid;
|
118
|
-
|
119
|
-
|
120
|
-
|
121
|
-
@Column(name = "created_at")
|
122
|
-
|
123
|
-
private Timestamp createdat;
|
124
|
-
|
125
|
-
|
126
|
-
|
127
|
-
//Meisaiのエンティティ部分(内部結合しているのでこちらでも記述します)
|
128
120
|
|
129
121
|
|
130
122
|
|
@@ -172,274 +164,184 @@
|
|
172
164
|
|
173
165
|
```
|
174
166
|
|
175
|
-
|
176
|
-
|
177
|
-
|
178
|
-
|
179
|
-
|
180
|
-
|
181
|
-
@
|
182
|
-
|
183
|
-
public cl
|
184
|
-
|
185
|
-
|
186
|
-
|
187
|
-
@Id
|
188
|
-
|
189
|
-
|
190
|
-
|
191
|
-
|
192
|
-
|
193
|
-
|
194
|
-
|
195
|
-
|
196
|
-
|
197
|
-
|
167
|
+
リポジトリ
|
168
|
+
|
169
|
+
①GoalSeqRepository
|
170
|
+
|
171
|
+
```java
|
172
|
+
|
173
|
+
@Repository
|
174
|
+
|
175
|
+
public interface GoalSeqRepository extends JpaRepository<GoalSeq,Integer>{
|
176
|
+
|
177
|
+
@Query(value="SELECT*FROM goals_seq INNER JOIN meisai_tbl ON goals_seq.id = meisai_tbl.goalseq_id where goals_seq.delete_flg=false and goals_seq.id=:ID ",nativeQuery = true)
|
178
|
+
|
179
|
+
public GoalSeq findCurrentOne(@Param("ID")Integer goalseqid);
|
180
|
+
|
181
|
+
}
|
182
|
+
|
183
|
+
```
|
184
|
+
|
185
|
+
②MeisaiRepository.java
|
186
|
+
|
187
|
+
```java
|
188
|
+
|
189
|
+
@Repository
|
190
|
+
|
191
|
+
public interface MeisaiRepository extends JpaRepository<Meisai, Integer> {
|
192
|
+
|
193
|
+
|
194
|
+
|
195
|
+
@Query(value="SELECT*FROM meisai_tbl where goalseq_id=:ID and delete_flg=false",nativeQuery = true)
|
196
|
+
|
197
|
+
public Meisai findByGoalSeq(@Param("ID")Integer goalseqid );
|
198
|
+
|
199
|
+
}
|
200
|
+
|
201
|
+
```
|
202
|
+
|
203
|
+
サービス
|
204
|
+
|
205
|
+
①GoalSeqService.java
|
206
|
+
|
207
|
+
```java
|
208
|
+
|
209
|
+
@Service
|
210
|
+
|
211
|
+
public class GoalSeqService {
|
212
|
+
|
213
|
+
@Autowired
|
214
|
+
|
215
|
+
private GoalSeqRepository repository;
|
216
|
+
|
217
|
+
//goalseq_idの情報を1個取ってくる
|
218
|
+
|
219
|
+
public GoalSeq findCurrentOne(Integer goalseqid){
|
220
|
+
|
221
|
+
return repository.findCurrentOne(goalseqid);
|
222
|
+
|
223
|
+
}
|
224
|
+
|
225
|
+
}
|
226
|
+
|
227
|
+
```
|
228
|
+
|
229
|
+
②MeisaiService.java
|
230
|
+
|
231
|
+
```java
|
232
|
+
|
233
|
+
@Service
|
234
|
+
|
235
|
+
public class MeisaiService {
|
236
|
+
|
237
|
+
@Autowired
|
238
|
+
|
239
|
+
private MeisaiRepository repository;
|
240
|
+
|
241
|
+
//1目標ごとに紐づけられているmeisai_tblの情報をとってくる
|
242
|
+
|
243
|
+
public Meisai findByGoalSeq(Integer goalseqid ) {
|
244
|
+
|
245
|
+
return repository.findByGoalSeq(goalseqid );
|
246
|
+
|
247
|
+
}
|
248
|
+
|
249
|
+
}
|
250
|
+
|
251
|
+
```
|
252
|
+
|
253
|
+
フォーム
|
254
|
+
|
255
|
+
①GoalSeqForm.java
|
256
|
+
|
257
|
+
```java
|
258
|
+
|
259
|
+
public class GoalSeqForm {
|
260
|
+
|
261
|
+
|
262
|
+
|
263
|
+
private String goaltitle;
|
264
|
+
|
265
|
+
private String year;
|
266
|
+
|
267
|
+
private String goaldetail;
|
268
|
+
|
269
|
+
private String goalweight;
|
270
|
+
|
271
|
+
}
|
272
|
+
|
273
|
+
getter,setter省略
|
274
|
+
|
275
|
+
|
276
|
+
|
277
|
+
```
|
278
|
+
|
279
|
+
②MeisaiForm.java
|
280
|
+
|
281
|
+
```java
|
282
|
+
|
283
|
+
public class MeisaiForm {
|
284
|
+
|
285
|
+
|
198
286
|
|
199
287
|
private String selfmidcmt;
|
200
288
|
|
201
|
-
|
202
|
-
|
203
|
-
@Column(name = "boss_mid_cmt")
|
204
|
-
|
205
289
|
private String bossmidcmt;
|
206
290
|
|
207
|
-
|
208
|
-
|
209
|
-
@Column(name = "self_end_cmt")
|
210
|
-
|
211
291
|
private String selfendcmt;
|
212
292
|
|
213
|
-
|
214
|
-
|
215
|
-
@Column(name = "boss_end_cmt")
|
216
|
-
|
217
293
|
private String bossendcmt;
|
218
294
|
|
219
|
-
|
220
|
-
|
221
|
-
@Column(name = "first_rvw_ck")
|
222
|
-
|
223
295
|
private Boolean firstrvwck;
|
224
296
|
|
225
|
-
|
226
|
-
|
227
|
-
@Column(name = "mid_rvw_ck")
|
228
|
-
|
229
297
|
private Boolean midrvwck;
|
230
298
|
|
231
|
-
|
232
|
-
|
233
|
-
@Column(name = "end_rvw_ck")
|
234
|
-
|
235
299
|
private Boolean endrvwck;
|
236
300
|
|
237
|
-
|
238
|
-
|
239
|
-
@Column(name = "updated_at")
|
240
|
-
|
241
|
-
private Timestamp updatedat;
|
242
|
-
|
243
|
-
|
244
|
-
|
245
|
-
@Column(name = "updated_by")
|
246
|
-
|
247
|
-
private Integer updatedby;
|
248
|
-
|
249
|
-
|
250
|
-
|
251
|
-
@Column(name = "delete_flg")
|
252
|
-
|
253
|
-
private Boolean deleteflg;
|
254
|
-
|
255
|
-
|
256
|
-
|
257
|
-
@Column(name = "created_at")
|
258
|
-
|
259
|
-
private Timestamp createdat;
|
260
|
-
|
261
|
-
setterとgetterは略します
|
262
|
-
|
263
|
-
```
|
264
|
-
|
265
|
-
リポジトリ
|
266
|
-
|
267
|
-
①GoalSeqRepository
|
268
|
-
|
269
|
-
```java
|
270
|
-
|
271
|
-
@Repository
|
272
|
-
|
273
|
-
public interface GoalSeqRepository extends JpaRepository<GoalSeq,Integer>{
|
274
|
-
|
275
|
-
@Query(value="SELECT*FROM goals_seq INNER JOIN meisai_tbl ON goals_seq.id = meisai_tbl.goalseq_id where goals_seq.delete_flg=false and goals_seq.id=:ID ",nativeQuery = true)
|
276
|
-
|
277
|
-
public GoalSeq findCurrentOne(@Param("ID")Integer goalseqid);
|
278
|
-
|
279
301
|
}
|
280
302
|
|
303
|
+
getter,setter省略
|
304
|
+
|
305
|
+
|
306
|
+
|
281
|
-
```
|
307
|
+
```
|
308
|
+
|
282
|
-
|
309
|
+
コントローラー
|
310
|
+
|
283
|
-
|
311
|
+
DisplayController.java
|
284
|
-
|
312
|
+
|
313
|
+
|
314
|
+
|
285
|
-
```java
|
315
|
+
```java
|
286
|
-
|
287
|
-
|
316
|
+
|
288
|
-
|
289
|
-
public interface MeisaiRepository extends JpaRepository<Meisai, Integer> {
|
290
|
-
|
291
|
-
|
292
|
-
|
293
|
-
@Query(value="SELECT*FROM meisai_tbl where goalseq_id=:ID and delete_flg=false",nativeQuery = true)
|
294
|
-
|
295
|
-
public Meisai findByGoalSeq(@Param("ID")Integer goalseqid );
|
296
|
-
|
297
|
-
}
|
298
|
-
|
299
|
-
```
|
300
|
-
|
301
|
-
サービス
|
302
|
-
|
303
|
-
①GoalSeqService.java
|
304
|
-
|
305
|
-
```java
|
306
|
-
|
307
|
-
@
|
317
|
+
@Controller
|
308
|
-
|
318
|
+
|
309
|
-
public class
|
319
|
+
public class DisplayController {
|
310
|
-
|
320
|
+
|
311
|
-
|
321
|
+
@Autowired
|
322
|
+
|
312
|
-
|
323
|
+
UserMasterService usermasterservice;
|
324
|
+
|
325
|
+
@Autowired
|
326
|
+
|
313
|
-
|
327
|
+
GoalSeqService goalseqservice;
|
328
|
+
|
314
|
-
|
329
|
+
@Autowired
|
330
|
+
|
331
|
+
MeisaiService meisaiservice;
|
332
|
+
|
315
|
-
|
333
|
+
//getメソッド
|
334
|
+
|
316
|
-
|
335
|
+
@RequestMapping("goals/goal_input/{id}/{goalseqid}")
|
336
|
+
|
317
|
-
public
|
337
|
+
public String createInput() {
|
338
|
+
|
318
|
-
|
339
|
+
//リストで表示したものから1つの情報を取得するメソッドがありますがそこは問題ないので省略します
|
340
|
+
|
319
|
-
|
341
|
+
return "goals/goal_input";
|
320
|
-
|
321
|
-
}
|
322
342
|
|
323
343
|
}
|
324
344
|
|
325
|
-
```
|
326
|
-
|
327
|
-
②MeisaiService.java
|
328
|
-
|
329
|
-
```java
|
330
|
-
|
331
|
-
@Service
|
332
|
-
|
333
|
-
public class MeisaiService {
|
334
|
-
|
335
|
-
@Autowired
|
336
|
-
|
337
|
-
private MeisaiRepository repository;
|
338
|
-
|
339
|
-
//1目標ごとに紐づけられているmeisai_tblの情報をとってくる
|
340
|
-
|
341
|
-
public Meisai findByGoalSeq(Integer goalseqid ) {
|
342
|
-
|
343
|
-
return repository.findByGoalSeq(goalseqid );
|
344
|
-
|
345
|
-
}
|
346
|
-
|
347
|
-
}
|
348
|
-
|
349
|
-
```
|
350
|
-
|
351
|
-
フォーム
|
352
|
-
|
353
|
-
①GoalSeqForm.java
|
354
|
-
|
355
|
-
```java
|
356
|
-
|
357
|
-
public class GoalSeqForm {
|
358
|
-
|
359
|
-
|
360
|
-
|
361
|
-
private String goaltitle;
|
362
|
-
|
363
|
-
private String year;
|
364
|
-
|
365
|
-
private String goaldetail;
|
366
|
-
|
367
|
-
private String goalweight;
|
368
|
-
|
369
|
-
}
|
370
|
-
|
371
|
-
getter,setter省略
|
372
|
-
|
373
|
-
|
374
|
-
|
375
|
-
```
|
376
|
-
|
377
|
-
②MeisaiForm.java
|
378
|
-
|
379
|
-
```java
|
380
|
-
|
381
|
-
public class MeisaiForm {
|
382
|
-
|
383
|
-
|
384
|
-
|
385
|
-
private String selfmidcmt;
|
386
|
-
|
387
|
-
private String bossmidcmt;
|
388
|
-
|
389
|
-
private String selfendcmt;
|
390
|
-
|
391
|
-
private String bossendcmt;
|
392
|
-
|
393
|
-
private Boolean firstrvwck;
|
394
|
-
|
395
|
-
private Boolean midrvwck;
|
396
|
-
|
397
|
-
private Boolean endrvwck;
|
398
|
-
|
399
|
-
}
|
400
|
-
|
401
|
-
getter,setter省略
|
402
|
-
|
403
|
-
|
404
|
-
|
405
|
-
```
|
406
|
-
|
407
|
-
コントローラー
|
408
|
-
|
409
|
-
DisplayController.java
|
410
|
-
|
411
|
-
|
412
|
-
|
413
|
-
```java
|
414
|
-
|
415
|
-
@Controller
|
416
|
-
|
417
|
-
public class DisplayController {
|
418
|
-
|
419
|
-
@Autowired
|
420
|
-
|
421
|
-
UserMasterService usermasterservice;
|
422
|
-
|
423
|
-
@Autowired
|
424
|
-
|
425
|
-
GoalSeqService goalseqservice;
|
426
|
-
|
427
|
-
@Autowired
|
428
|
-
|
429
|
-
MeisaiService meisaiservice;
|
430
|
-
|
431
|
-
//getメソッド
|
432
|
-
|
433
|
-
@RequestMapping("goals/goal_input/{id}/{goalseqid}")
|
434
|
-
|
435
|
-
public String createInput() {
|
436
|
-
|
437
|
-
//リストで表示したものから1つの情報を取得するメソッドがありますがそこは問題ないので省略します
|
438
|
-
|
439
|
-
return "goals/goal_input";
|
440
|
-
|
441
|
-
}
|
442
|
-
|
443
345
|
//postメソッド
|
444
346
|
|
445
347
|
@RequestMapping(path="goals/goal_complate/{id}/{goalseqid}",method=RequestMethod.POST)
|
@@ -670,13 +572,79 @@
|
|
670
572
|
|
671
573
|
テーブル定義です
|
672
574
|
|
575
|
+
|
576
|
+
|
577
|
+
```DDL
|
578
|
+
|
673
|
-
goals_seq
|
579
|
+
CREATE TABLE goals_seq
|
580
|
+
|
674
|
-
|
581
|
+
(
|
582
|
+
|
583
|
+
id INT NOT NULL,
|
584
|
+
|
585
|
+
user_id INT,
|
586
|
+
|
587
|
+
goal_id INT,
|
588
|
+
|
589
|
+
goal_title VARCHAR(255),
|
590
|
+
|
675
|
-
|
591
|
+
goal_detail VARCHAR(1000),
|
592
|
+
|
676
|
-
|
593
|
+
goal_weight VARCHAR(10),
|
594
|
+
|
595
|
+
updated_at TIMESTAMP(0),
|
596
|
+
|
597
|
+
updated_by INT,
|
598
|
+
|
599
|
+
delete_flg BIT NOT NULL,
|
600
|
+
|
601
|
+
created_at TIMESTAMP(0),
|
602
|
+
|
603
|
+
year VARCHAR(4),
|
604
|
+
|
605
|
+
CONSTRAINT PRIMARY KEY (id)
|
606
|
+
|
607
|
+
);
|
608
|
+
|
609
|
+
|
610
|
+
|
677
|
-
meisai_tbl
|
611
|
+
CREATE TABLE meisai_tbl
|
612
|
+
|
678
|
-
|
613
|
+
(
|
614
|
+
|
615
|
+
meisai_id INT NOT NULL,
|
616
|
+
|
617
|
+
goalseq_id INT,
|
618
|
+
|
619
|
+
self_mid_cmt VARCHAR(1000),
|
620
|
+
|
621
|
+
boss_mid_cmt VARCHAR(1000),
|
622
|
+
|
623
|
+
self_end_cmt VARCHAR(1000),
|
624
|
+
|
625
|
+
boss_end_cmt VARCHAR(1000),
|
626
|
+
|
627
|
+
first_rvw_ck BIT NOT NULL,
|
628
|
+
|
629
|
+
mid_rvw_ck BIT NOT NULL,
|
630
|
+
|
631
|
+
end_rvw_ck BIT NOT NULL,
|
632
|
+
|
679
|
-
|
633
|
+
updated_at TIMESTAMP(0),
|
634
|
+
|
635
|
+
updated_by INT,
|
636
|
+
|
637
|
+
delete_flg BIT NOT NULL,
|
638
|
+
|
639
|
+
created_at TIMESTAMP(0),
|
640
|
+
|
641
|
+
CONSTRAINT PRIMARY KEY (meisai_id)
|
642
|
+
|
643
|
+
);
|
644
|
+
|
645
|
+
|
646
|
+
|
647
|
+
```
|
680
648
|
|
681
649
|
|
682
650
|
|
@@ -716,13 +684,7 @@
|
|
716
684
|
|
717
685
|
### 補足情報(FW/ツールのバージョンなど)
|
718
686
|
|
719
|
-
|
687
|
+
|
720
|
-
|
721
|
-
STS4
|
722
|
-
|
723
|
-
jdk1.8
|
724
|
-
|
725
|
-
MySQL8.0
|
726
688
|
|
727
689
|
|
728
690
|
|