Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
TEHIK
TEIS
classifiers-service
Commits
85505aee
Commit
85505aee
authored
Jun 15, 2021
by
Kristel Meikas
Browse files
TEIS-2225: added new classifiers for drivers inspections
parent
58a16113
Changes
2
Hide whitespace changes
Inline
Side-by-side
gradle.properties
View file @
85505aee
theGroup
=
ee.sm.ti.teis
theVersion
=
1.2
4
.0
commonsVersion
=
1.2
6
.0
officeApiGatewayVersion
=
1.2
6
.0
theVersion
=
1.2
5
.0
-SNAPSHOT
commonsVersion
=
1.2
7
.0
-SNAPSHOT
officeApiGatewayVersion
=
1.2
7
.0
-SNAPSHOT
schedulerVersion
=
1.15.0
pluginVersion
=
1.3.0
service/src/main/resources/db/changelog/data/2021-06-15.TEIS-2225.add-drivers-inspections-classifier-data.sql
0 → 100644
View file @
85505aee
--liquibase formatted sql
--changeset kristel:2021-05-31.TEIS-2177.add-drivers-inspections-classifier-data.sql
INSERT
INTO
classifier_definition
(
id
,
default_value
,
name
,
editable
,
hierarchical
,
ordered
,
object_status
,
created_at
)
VALUES
(
'DRIVERS_INSPECTION_SETTINGS_STATUS'
,
'ACTIVE'
,
'Sõidukijuhtide kontrollis seadistuste (kõrvalekallete ja raskusastmete tüübid) staatus'
,
false
,
false
,
true
,
'CURRENT'
,
now
()),
(
'DRIVERS_VIOLATION_CATEGORY'
,
null
,
'Sõidukijuhtide tööaja nõuetest kõrvalekaldumise teema'
,
true
,
false
,
true
,
'CURRENT'
,
now
());
INSERT
INTO
classifier_item
(
id
,
code
,
classifier_definition_id
,
upper_classifier_item_id
,
name
,
seq_no
,
editable
,
valid_from
,
valid_until
,
object_status
,
created_at
)
VALUES
(
'DRIVERS_INSPECTION_SETTINGS_STATUS__ACTIVE'
,
'ACTIVE'
,
'DRIVERS_INSPECTION_SETTINGS_STATUS'
,
null
,
'Kasutusel'
,
1
,
false
,
now
(),
null
,
'CURRENT'
,
now
()),
(
'DRIVERS_INSPECTION_SETTINGS_STATUS__INACTIVE'
,
'INACTIVE'
,
'DRIVERS_INSPECTION_SETTINGS_STATUS'
,
null
,
'Mitte kasutusel'
,
2
,
false
,
now
(),
null
,
'CURRENT'
,
now
()),
(
'DRIVERS_VIOLATION_CATEGORY__REST_BREAK'
,
'REST_BREAK'
,
'DRIVERS_VIOLATION_CATEGORY'
,
null
,
'Puhkepaus'
,
1
,
true
,
now
(),
null
,
'CURRENT'
,
now
()),
(
'DRIVERS_VIOLATION_CATEGORY__REST_PERIOD'
,
'REST_PERIOD'
,
'DRIVERS_VIOLATION_CATEGORY'
,
null
,
'Puhkeperiood'
,
2
,
true
,
now
(),
null
,
'CURRENT'
,
now
());
UPDATE
execution_trigger
SET
execute
=
true
WHERE
id
=
'cache-reinitialize'
;
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment