巴林闲侠
2 years ago
8 changed files with 699 additions and 4 deletions
@ -0,0 +1,52 @@ |
|||
/* eslint-disable*/ |
|||
'use strict'; |
|||
|
|||
module.exports = dc => { |
|||
const DataTypes = dc.ORM; |
|||
const sequelize = dc.orm; |
|||
const OvertimeDay = sequelize.define("overtimeDay", { |
|||
id: { |
|||
type: DataTypes.INTEGER, |
|||
allowNull: false, |
|||
defaultValue: null, |
|||
comment: null, |
|||
primaryKey: true, |
|||
field: "id", |
|||
autoIncrement: true, |
|||
unique: "overtime_day_id_uindex" |
|||
}, |
|||
day: { |
|||
type: DataTypes.DATEONLY, |
|||
allowNull: false, |
|||
defaultValue: null, |
|||
comment: null, |
|||
primaryKey: false, |
|||
field: "day", |
|||
autoIncrement: false |
|||
}, |
|||
duration: { |
|||
type: DataTypes.INTEGER, |
|||
allowNull: true, |
|||
defaultValue: null, |
|||
comment: null, |
|||
primaryKey: false, |
|||
field: "duration", |
|||
autoIncrement: false |
|||
}, |
|||
overtimeId: { |
|||
type: DataTypes.INTEGER, |
|||
allowNull: true, |
|||
defaultValue: null, |
|||
comment: null, |
|||
primaryKey: false, |
|||
field: "overtime_id", |
|||
autoIncrement: false |
|||
} |
|||
}, { |
|||
tableName: "overtime_day", |
|||
comment: "", |
|||
indexes: [] |
|||
}); |
|||
dc.models.OvertimeDay = OvertimeDay; |
|||
return OvertimeDay; |
|||
}; |
@ -0,0 +1,52 @@ |
|||
/* eslint-disable*/ |
|||
'use strict'; |
|||
|
|||
module.exports = dc => { |
|||
const DataTypes = dc.ORM; |
|||
const sequelize = dc.orm; |
|||
const VacateDay = sequelize.define("vacateDay", { |
|||
id: { |
|||
type: DataTypes.INTEGER, |
|||
allowNull: false, |
|||
defaultValue: null, |
|||
comment: null, |
|||
primaryKey: true, |
|||
field: "id", |
|||
autoIncrement: true, |
|||
unique: "vacate_day_id_uindex" |
|||
}, |
|||
day: { |
|||
type: DataTypes.DATEONLY, |
|||
allowNull: false, |
|||
defaultValue: null, |
|||
comment: null, |
|||
primaryKey: false, |
|||
field: "day", |
|||
autoIncrement: false |
|||
}, |
|||
duration: { |
|||
type: DataTypes.INTEGER, |
|||
allowNull: false, |
|||
defaultValue: null, |
|||
comment: null, |
|||
primaryKey: false, |
|||
field: "duration", |
|||
autoIncrement: false |
|||
}, |
|||
vacateId: { |
|||
type: DataTypes.INTEGER, |
|||
allowNull: true, |
|||
defaultValue: null, |
|||
comment: null, |
|||
primaryKey: false, |
|||
field: "vacate_id", |
|||
autoIncrement: false |
|||
} |
|||
}, { |
|||
tableName: "vacate_day", |
|||
comment: "", |
|||
indexes: [] |
|||
}); |
|||
dc.models.VacateDay = VacateDay; |
|||
return VacateDay; |
|||
}; |
@ -0,0 +1,369 @@ |
|||
|
|||
-- ---------------------------- |
|||
-- Records of holiday |
|||
-- ---------------------------- |
|||
INSERT INTO "public"."holiday" VALUES ('2022-01-16', '{"code": 0, "type": {"name": "周日", "type": 1, "week": 7}, "holiday": null}', 'dayoff'); |
|||
INSERT INTO "public"."holiday" VALUES ('2022-01-17', '{"code": 0, "type": {"name": "周一", "type": 0, "week": 1}, "holiday": null}', 'workday'); |
|||
INSERT INTO "public"."holiday" VALUES ('2022-01-18', '{"code": 0, "type": {"name": "周二", "type": 0, "week": 2}, "holiday": null}', 'workday'); |
|||
INSERT INTO "public"."holiday" VALUES ('2022-01-19', '{"code": 0, "type": {"name": "周三", "type": 0, "week": 3}, "holiday": null}', 'workday'); |
|||
INSERT INTO "public"."holiday" VALUES ('2022-01-21', '{"code": 0, "type": {"name": "周五", "type": 0, "week": 5}, "holiday": null}', 'workday'); |
|||
INSERT INTO "public"."holiday" VALUES ('2022-01-22', '{"code": 0, "type": {"name": "周六", "type": 1, "week": 6}, "holiday": null}', 'dayoff'); |
|||
INSERT INTO "public"."holiday" VALUES ('2022-01-24', '{"code": 0, "type": {"name": "周一", "type": 0, "week": 1}, "holiday": null}', 'workday'); |
|||
INSERT INTO "public"."holiday" VALUES ('2022-01-25', '{"code": 0, "type": {"name": "周二", "type": 0, "week": 2}, "holiday": null}', 'workday'); |
|||
INSERT INTO "public"."holiday" VALUES ('2022-01-26', '{"code": 0, "type": {"name": "周三", "type": 0, "week": 3}, "holiday": null}', 'workday'); |
|||
INSERT INTO "public"."holiday" VALUES ('2022-01-27', '{"code": 0, "type": {"name": "周四", "type": 0, "week": 4}, "holiday": null}', 'workday'); |
|||
INSERT INTO "public"."holiday" VALUES ('2022-01-29', '{"code": 0, "type": {"name": "春节前补班", "type": 3, "week": 6}, "holiday": {"date": "2022-01-29", "name": "春节前补班", "rest": 14, "wage": 1, "after": false, "target": "春节", "holiday": false}}', 'workday'); |
|||
INSERT INTO "public"."holiday" VALUES ('2022-01-31', '{"code": 0, "type": {"name": "除夕", "type": 2, "week": 1}, "holiday": {"date": "2022-01-31", "name": "除夕", "rest": 16, "wage": 2, "holiday": true}}', 'dayoff'); |
|||
INSERT INTO "public"."holiday" VALUES ('2022-02-01', '{"code": 0, "type": {"name": "初一", "type": 2, "week": 2}, "holiday": {"date": "2022-02-01", "name": "初一", "rest": 1, "wage": 3, "holiday": true}}', 'festivals'); |
|||
INSERT INTO "public"."holiday" VALUES ('2022-02-02', '{"code": 0, "type": {"name": "初二", "type": 2, "week": 3}, "holiday": {"date": "2022-02-02", "name": "初二", "rest": 1, "wage": 3, "holiday": true}}', 'festivals'); |
|||
INSERT INTO "public"."holiday" VALUES ('2022-02-04', '{"code": 0, "type": {"name": "初四", "type": 2, "week": 5}, "holiday": {"date": "2022-02-04", "name": "初四", "rest": 1, "wage": 2, "holiday": true}}', 'dayoff'); |
|||
INSERT INTO "public"."holiday" VALUES ('2022-02-07', '{"code": 0, "type": {"name": "周一", "type": 0, "week": 1}, "holiday": null}', 'workday'); |
|||
INSERT INTO "public"."holiday" VALUES ('2022-02-08', '{"code": 0, "type": {"name": "周二", "type": 0, "week": 2}, "holiday": null}', 'workday'); |
|||
INSERT INTO "public"."holiday" VALUES ('2022-02-09', '{"code": 0, "type": {"name": "周三", "type": 0, "week": 3}, "holiday": null}', 'workday'); |
|||
INSERT INTO "public"."holiday" VALUES ('2022-02-10', '{"code": 0, "type": {"name": "周四", "type": 0, "week": 4}, "holiday": null}', 'workday'); |
|||
INSERT INTO "public"."holiday" VALUES ('2022-02-11', '{"code": 0, "type": {"name": "周五", "type": 0, "week": 5}, "holiday": null}', 'workday'); |
|||
INSERT INTO "public"."holiday" VALUES ('2022-02-12', '{"code": 0, "type": {"name": "周六", "type": 1, "week": 6}, "holiday": null}', 'dayoff'); |
|||
INSERT INTO "public"."holiday" VALUES ('2022-02-13', '{"code": 0, "type": {"name": "周日", "type": 1, "week": 7}, "holiday": null}', 'dayoff'); |
|||
INSERT INTO "public"."holiday" VALUES ('2022-01-03', '{"code": 0, "type": {"name": "元旦", "type": 2, "week": 1}, "holiday": {"date": "2022-01-03", "name": "元旦", "rest": 1, "wage": 2, "holiday": true}}', 'dayoff'); |
|||
INSERT INTO "public"."holiday" VALUES ('2022-01-08', '{"code": 0, "type": {"name": "周六", "type": 1, "week": 6}, "holiday": null}', 'dayoff'); |
|||
INSERT INTO "public"."holiday" VALUES ('2022-01-09', '{"code": 0, "type": {"name": "周日", "type": 1, "week": 7}, "holiday": null}', 'dayoff'); |
|||
INSERT INTO "public"."holiday" VALUES ('2022-01-10', '{"code": 0, "type": {"name": "周一", "type": 0, "week": 1}, "holiday": null}', 'workday'); |
|||
INSERT INTO "public"."holiday" VALUES ('2022-01-20', '{"code": 0, "type": {"name": "周四", "type": 0, "week": 4}, "holiday": null}', 'workday'); |
|||
INSERT INTO "public"."holiday" VALUES ('2022-01-04', '{"code": 0, "type": {"name": "周二", "type": 0, "week": 2}, "holiday": null}', 'workday'); |
|||
INSERT INTO "public"."holiday" VALUES ('2022-01-06', '{"code": 0, "type": {"name": "周四", "type": 0, "week": 4}, "holiday": null}', 'workday'); |
|||
INSERT INTO "public"."holiday" VALUES ('2022-01-13', '{"code": 0, "type": {"name": "周四", "type": 0, "week": 4}, "holiday": null}', 'workday'); |
|||
INSERT INTO "public"."holiday" VALUES ('2022-01-14', '{"code": 0, "type": {"name": "周五", "type": 0, "week": 5}, "holiday": null}', 'workday'); |
|||
INSERT INTO "public"."holiday" VALUES ('2022-01-15', '{"code": 0, "type": {"name": "周六", "type": 1, "week": 6}, "holiday": null}', 'dayoff'); |
|||
INSERT INTO "public"."holiday" VALUES ('2022-01-23', '{"code": 0, "type": {"name": "周日", "type": 1, "week": 7}, "holiday": null}', 'dayoff'); |
|||
INSERT INTO "public"."holiday" VALUES ('2022-01-05', '{"code": 0, "type": {"name": "周三", "type": 0, "week": 3}, "holiday": null}', 'workday'); |
|||
INSERT INTO "public"."holiday" VALUES ('2022-02-18', '{"code": 0, "type": {"name": "周五", "type": 0, "week": 5}, "holiday": null}', 'workday'); |
|||
INSERT INTO "public"."holiday" VALUES ('2022-02-25', '{"code": 0, "type": {"name": "周五", "type": 0, "week": 5}, "holiday": null}', 'workday'); |
|||
INSERT INTO "public"."holiday" VALUES ('2022-02-26', '{"code": 0, "type": {"name": "周六", "type": 1, "week": 6}, "holiday": null}', 'dayoff'); |
|||
INSERT INTO "public"."holiday" VALUES ('2022-02-27', '{"code": 0, "type": {"name": "周日", "type": 1, "week": 7}, "holiday": null}', 'dayoff'); |
|||
INSERT INTO "public"."holiday" VALUES ('2022-03-01', '{"code": 0, "type": {"name": "周二", "type": 0, "week": 2}, "holiday": null}', 'workday'); |
|||
INSERT INTO "public"."holiday" VALUES ('2022-03-02', '{"code": 0, "type": {"name": "周三", "type": 0, "week": 3}, "holiday": null}', 'workday'); |
|||
INSERT INTO "public"."holiday" VALUES ('2022-03-03', '{"code": 0, "type": {"name": "周四", "type": 0, "week": 4}, "holiday": null}', 'workday'); |
|||
INSERT INTO "public"."holiday" VALUES ('2022-03-04', '{"code": 0, "type": {"name": "周五", "type": 0, "week": 5}, "holiday": null}', 'workday'); |
|||
INSERT INTO "public"."holiday" VALUES ('2022-03-05', '{"code": 0, "type": {"name": "周六", "type": 1, "week": 6}, "holiday": null}', 'dayoff'); |
|||
INSERT INTO "public"."holiday" VALUES ('2022-03-06', '{"code": 0, "type": {"name": "周日", "type": 1, "week": 7}, "holiday": null}', 'dayoff'); |
|||
INSERT INTO "public"."holiday" VALUES ('2022-03-07', '{"code": 0, "type": {"name": "周一", "type": 0, "week": 1}, "holiday": null}', 'workday'); |
|||
INSERT INTO "public"."holiday" VALUES ('2022-03-08', '{"code": 0, "type": {"name": "周二", "type": 0, "week": 2}, "holiday": null}', 'workday'); |
|||
INSERT INTO "public"."holiday" VALUES ('2022-03-09', '{"code": 0, "type": {"name": "周三", "type": 0, "week": 3}, "holiday": null}', 'workday'); |
|||
INSERT INTO "public"."holiday" VALUES ('2022-03-10', '{"code": 0, "type": {"name": "周四", "type": 0, "week": 4}, "holiday": null}', 'workday'); |
|||
INSERT INTO "public"."holiday" VALUES ('2022-03-11', '{"code": 0, "type": {"name": "周五", "type": 0, "week": 5}, "holiday": null}', 'workday'); |
|||
INSERT INTO "public"."holiday" VALUES ('2022-03-12', '{"code": 0, "type": {"name": "周六", "type": 1, "week": 6}, "holiday": null}', 'dayoff'); |
|||
INSERT INTO "public"."holiday" VALUES ('2022-03-13', '{"code": 0, "type": {"name": "周日", "type": 1, "week": 7}, "holiday": null}', 'dayoff'); |
|||
INSERT INTO "public"."holiday" VALUES ('2022-03-15', '{"code": 0, "type": {"name": "周二", "type": 0, "week": 2}, "holiday": null}', 'workday'); |
|||
INSERT INTO "public"."holiday" VALUES ('2022-03-16', '{"code": 0, "type": {"name": "周三", "type": 0, "week": 3}, "holiday": null}', 'workday'); |
|||
INSERT INTO "public"."holiday" VALUES ('2022-03-17', '{"code": 0, "type": {"name": "周四", "type": 0, "week": 4}, "holiday": null}', 'workday'); |
|||
INSERT INTO "public"."holiday" VALUES ('2022-03-18', '{"code": 0, "type": {"name": "周五", "type": 0, "week": 5}, "holiday": null}', 'workday'); |
|||
INSERT INTO "public"."holiday" VALUES ('2022-03-19', '{"code": 0, "type": {"name": "周六", "type": 1, "week": 6}, "holiday": null}', 'dayoff'); |
|||
INSERT INTO "public"."holiday" VALUES ('2022-03-20', '{"code": 0, "type": {"name": "周日", "type": 1, "week": 7}, "holiday": null}', 'dayoff'); |
|||
INSERT INTO "public"."holiday" VALUES ('2022-03-21', '{"code": 0, "type": {"name": "周一", "type": 0, "week": 1}, "holiday": null}', 'workday'); |
|||
INSERT INTO "public"."holiday" VALUES ('2022-03-22', '{"code": 0, "type": {"name": "周二", "type": 0, "week": 2}, "holiday": null}', 'workday'); |
|||
INSERT INTO "public"."holiday" VALUES ('2022-03-23', '{"code": 0, "type": {"name": "周三", "type": 0, "week": 3}, "holiday": null}', 'workday'); |
|||
INSERT INTO "public"."holiday" VALUES ('2022-03-24', '{"code": 0, "type": {"name": "周四", "type": 0, "week": 4}, "holiday": null}', 'workday'); |
|||
INSERT INTO "public"."holiday" VALUES ('2022-03-25', '{"code": 0, "type": {"name": "周五", "type": 0, "week": 5}, "holiday": null}', 'workday'); |
|||
INSERT INTO "public"."holiday" VALUES ('2022-03-26', '{"code": 0, "type": {"name": "周六", "type": 1, "week": 6}, "holiday": null}', 'dayoff'); |
|||
INSERT INTO "public"."holiday" VALUES ('2022-03-27', '{"code": 0, "type": {"name": "周日", "type": 1, "week": 7}, "holiday": null}', 'dayoff'); |
|||
INSERT INTO "public"."holiday" VALUES ('2022-03-29', '{"code": 0, "type": {"name": "周二", "type": 0, "week": 2}, "holiday": null}', 'workday'); |
|||
INSERT INTO "public"."holiday" VALUES ('2022-03-30', '{"code": 0, "type": {"name": "周三", "type": 0, "week": 3}, "holiday": null}', 'workday'); |
|||
INSERT INTO "public"."holiday" VALUES ('2022-03-31', '{"code": 0, "type": {"name": "周四", "type": 0, "week": 4}, "holiday": null}', 'workday'); |
|||
INSERT INTO "public"."holiday" VALUES ('2022-04-01', '{"code": 0, "type": {"name": "周五", "type": 0, "week": 5}, "holiday": null}', 'workday'); |
|||
INSERT INTO "public"."holiday" VALUES ('2022-04-03', '{"code": 0, "type": {"name": "清明节", "type": 2, "week": 7}, "holiday": {"date": "2022-04-03", "name": "清明节", "rest": 20, "wage": 2, "holiday": true}}', 'dayoff'); |
|||
INSERT INTO "public"."holiday" VALUES ('2022-04-04', '{"code": 0, "type": {"name": "清明节", "type": 2, "week": 1}, "holiday": {"date": "2022-04-04", "name": "清明节", "rest": 1, "wage": 2, "holiday": true}}', 'dayoff'); |
|||
INSERT INTO "public"."holiday" VALUES ('2022-02-16', '{"code": 0, "type": {"name": "周三", "type": 0, "week": 3}, "holiday": null}', 'workday'); |
|||
INSERT INTO "public"."holiday" VALUES ('2022-02-20', '{"code": 0, "type": {"name": "周日", "type": 1, "week": 7}, "holiday": null}', 'dayoff'); |
|||
INSERT INTO "public"."holiday" VALUES ('2022-02-17', '{"code": 0, "type": {"name": "周四", "type": 0, "week": 4}, "holiday": null}', 'workday'); |
|||
INSERT INTO "public"."holiday" VALUES ('2022-02-19', '{"code": 0, "type": {"name": "周六", "type": 1, "week": 6}, "holiday": null}', 'dayoff'); |
|||
INSERT INTO "public"."holiday" VALUES ('2022-02-21', '{"code": 0, "type": {"name": "周一", "type": 0, "week": 1}, "holiday": null}', 'workday'); |
|||
INSERT INTO "public"."holiday" VALUES ('2022-04-08', '{"code": 0, "type": {"name": "周五", "type": 0, "week": 5}, "holiday": null}', 'workday'); |
|||
INSERT INTO "public"."holiday" VALUES ('2022-04-09', '{"code": 0, "type": {"name": "周六", "type": 1, "week": 6}, "holiday": null}', 'dayoff'); |
|||
INSERT INTO "public"."holiday" VALUES ('2022-04-10', '{"code": 0, "type": {"name": "周日", "type": 1, "week": 7}, "holiday": null}', 'dayoff'); |
|||
INSERT INTO "public"."holiday" VALUES ('2022-04-11', '{"code": 0, "type": {"name": "周一", "type": 0, "week": 1}, "holiday": null}', 'workday'); |
|||
INSERT INTO "public"."holiday" VALUES ('2022-04-12', '{"code": 0, "type": {"name": "周二", "type": 0, "week": 2}, "holiday": null}', 'workday'); |
|||
INSERT INTO "public"."holiday" VALUES ('2022-04-13', '{"code": 0, "type": {"name": "周三", "type": 0, "week": 3}, "holiday": null}', 'workday'); |
|||
INSERT INTO "public"."holiday" VALUES ('2022-04-14', '{"code": 0, "type": {"name": "周四", "type": 0, "week": 4}, "holiday": null}', 'workday'); |
|||
INSERT INTO "public"."holiday" VALUES ('2022-04-15', '{"code": 0, "type": {"name": "周五", "type": 0, "week": 5}, "holiday": null}', 'workday'); |
|||
INSERT INTO "public"."holiday" VALUES ('2022-04-16', '{"code": 0, "type": {"name": "周六", "type": 1, "week": 6}, "holiday": null}', 'dayoff'); |
|||
INSERT INTO "public"."holiday" VALUES ('2022-04-17', '{"code": 0, "type": {"name": "周日", "type": 1, "week": 7}, "holiday": null}', 'dayoff'); |
|||
INSERT INTO "public"."holiday" VALUES ('2022-04-19', '{"code": 0, "type": {"name": "周二", "type": 0, "week": 2}, "holiday": null}', 'workday'); |
|||
INSERT INTO "public"."holiday" VALUES ('2022-04-20', '{"code": 0, "type": {"name": "周三", "type": 0, "week": 3}, "holiday": null}', 'workday'); |
|||
INSERT INTO "public"."holiday" VALUES ('2022-04-21', '{"code": 0, "type": {"name": "周四", "type": 0, "week": 4}, "holiday": null}', 'workday'); |
|||
INSERT INTO "public"."holiday" VALUES ('2022-04-22', '{"code": 0, "type": {"name": "周五", "type": 0, "week": 5}, "holiday": null}', 'workday'); |
|||
INSERT INTO "public"."holiday" VALUES ('2022-04-23', '{"code": 0, "type": {"name": "周六", "type": 1, "week": 6}, "holiday": null}', 'dayoff'); |
|||
INSERT INTO "public"."holiday" VALUES ('2022-04-25', '{"code": 0, "type": {"name": "周一", "type": 0, "week": 1}, "holiday": null}', 'workday'); |
|||
INSERT INTO "public"."holiday" VALUES ('2022-04-26', '{"code": 0, "type": {"name": "周二", "type": 0, "week": 2}, "holiday": null}', 'workday'); |
|||
INSERT INTO "public"."holiday" VALUES ('2022-04-27', '{"code": 0, "type": {"name": "周三", "type": 0, "week": 3}, "holiday": null}', 'workday'); |
|||
INSERT INTO "public"."holiday" VALUES ('2022-04-28', '{"code": 0, "type": {"name": "周四", "type": 0, "week": 4}, "holiday": null}', 'workday'); |
|||
INSERT INTO "public"."holiday" VALUES ('2022-04-29', '{"code": 0, "type": {"name": "周五", "type": 0, "week": 5}, "holiday": null}', 'workday'); |
|||
INSERT INTO "public"."holiday" VALUES ('2022-05-01', '{"code": 0, "type": {"name": "劳动节", "type": 2, "week": 7}, "holiday": {"date": "2022-05-01", "name": "劳动节", "rest": 1, "wage": 3, "holiday": true}}', 'festivals'); |
|||
INSERT INTO "public"."holiday" VALUES ('2022-05-02', '{"code": 0, "type": {"name": "劳动节", "type": 2, "week": 1}, "holiday": {"date": "2022-05-02", "name": "劳动节", "rest": 1, "wage": 2, "holiday": true}}', 'dayoff'); |
|||
INSERT INTO "public"."holiday" VALUES ('2022-05-03', '{"code": 0, "type": {"name": "劳动节", "type": 2, "week": 2}, "holiday": {"date": "2022-05-03", "name": "劳动节", "rest": 1, "wage": 2, "holiday": true}}', 'dayoff'); |
|||
INSERT INTO "public"."holiday" VALUES ('2022-05-04', '{"code": 0, "type": {"name": "劳动节", "type": 2, "week": 3}, "holiday": {"date": "2022-05-04", "name": "劳动节", "rest": 1, "wage": 2, "holiday": true}}', 'dayoff'); |
|||
INSERT INTO "public"."holiday" VALUES ('2022-05-05', '{"code": 0, "type": {"name": "周四", "type": 0, "week": 4}, "holiday": null}', 'workday'); |
|||
INSERT INTO "public"."holiday" VALUES ('2022-05-06', '{"code": 0, "type": {"name": "周五", "type": 0, "week": 5}, "holiday": null}', 'workday'); |
|||
INSERT INTO "public"."holiday" VALUES ('2022-05-07', '{"code": 0, "type": {"name": "劳动节后补班", "type": 3, "week": 6}, "holiday": {"date": "2022-05-07", "name": "劳动节后补班", "rest": 1, "wage": 1, "after": true, "target": "劳动节", "holiday": false}}', 'workday'); |
|||
INSERT INTO "public"."holiday" VALUES ('2022-05-08', '{"code": 0, "type": {"name": "周日", "type": 1, "week": 7}, "holiday": null}', 'dayoff'); |
|||
INSERT INTO "public"."holiday" VALUES ('2022-05-09', '{"code": 0, "type": {"name": "周一", "type": 0, "week": 1}, "holiday": null}', 'workday'); |
|||
INSERT INTO "public"."holiday" VALUES ('2022-05-10', '{"code": 0, "type": {"name": "周二", "type": 0, "week": 2}, "holiday": null}', 'workday'); |
|||
INSERT INTO "public"."holiday" VALUES ('2022-05-11', '{"code": 0, "type": {"name": "周三", "type": 0, "week": 3}, "holiday": null}', 'workday'); |
|||
INSERT INTO "public"."holiday" VALUES ('2022-05-12', '{"code": 0, "type": {"name": "周四", "type": 0, "week": 4}, "holiday": null}', 'workday'); |
|||
INSERT INTO "public"."holiday" VALUES ('2022-05-13', '{"code": 0, "type": {"name": "周五", "type": 0, "week": 5}, "holiday": null}', 'workday'); |
|||
INSERT INTO "public"."holiday" VALUES ('2022-05-14', '{"code": 0, "type": {"name": "周六", "type": 1, "week": 6}, "holiday": null}', 'dayoff'); |
|||
INSERT INTO "public"."holiday" VALUES ('2022-05-15', '{"code": 0, "type": {"name": "周日", "type": 1, "week": 7}, "holiday": null}', 'dayoff'); |
|||
INSERT INTO "public"."holiday" VALUES ('2022-05-16', '{"code": 0, "type": {"name": "周一", "type": 0, "week": 1}, "holiday": null}', 'workday'); |
|||
INSERT INTO "public"."holiday" VALUES ('2022-05-17', '{"code": 0, "type": {"name": "周二", "type": 0, "week": 2}, "holiday": null}', 'workday'); |
|||
INSERT INTO "public"."holiday" VALUES ('2022-05-18', '{"code": 0, "type": {"name": "周三", "type": 0, "week": 3}, "holiday": null}', 'workday'); |
|||
INSERT INTO "public"."holiday" VALUES ('2022-05-19', '{"code": 0, "type": {"name": "周四", "type": 0, "week": 4}, "holiday": null}', 'workday'); |
|||
INSERT INTO "public"."holiday" VALUES ('2022-05-20', '{"code": 0, "type": {"name": "周五", "type": 0, "week": 5}, "holiday": null}', 'workday'); |
|||
INSERT INTO "public"."holiday" VALUES ('2022-04-06', '{"code": 0, "type": {"name": "周三", "type": 0, "week": 3}, "holiday": null}', 'workday'); |
|||
INSERT INTO "public"."holiday" VALUES ('2022-04-07', '{"code": 0, "type": {"name": "周四", "type": 0, "week": 4}, "holiday": null}', 'workday'); |
|||
INSERT INTO "public"."holiday" VALUES ('2022-05-24', '{"code": 0, "type": {"name": "周二", "type": 0, "week": 2}, "holiday": null}', 'workday'); |
|||
INSERT INTO "public"."holiday" VALUES ('2022-05-25', '{"code": 0, "type": {"name": "周三", "type": 0, "week": 3}, "holiday": null}', 'workday'); |
|||
INSERT INTO "public"."holiday" VALUES ('2022-05-27', '{"code": 0, "type": {"name": "周五", "type": 0, "week": 5}, "holiday": null}', 'workday'); |
|||
INSERT INTO "public"."holiday" VALUES ('2022-05-28', '{"code": 0, "type": {"name": "周六", "type": 1, "week": 6}, "holiday": null}', 'dayoff'); |
|||
INSERT INTO "public"."holiday" VALUES ('2022-05-29', '{"code": 0, "type": {"name": "周日", "type": 1, "week": 7}, "holiday": null}', 'dayoff'); |
|||
INSERT INTO "public"."holiday" VALUES ('2022-05-30', '{"code": 0, "type": {"name": "周一", "type": 0, "week": 1}, "holiday": null}', 'workday'); |
|||
INSERT INTO "public"."holiday" VALUES ('2022-05-31', '{"code": 0, "type": {"name": "周二", "type": 0, "week": 2}, "holiday": null}', 'workday'); |
|||
INSERT INTO "public"."holiday" VALUES ('2022-06-01', '{"code": 0, "type": {"name": "周三", "type": 0, "week": 3}, "holiday": null}', 'workday'); |
|||
INSERT INTO "public"."holiday" VALUES ('2022-06-02', '{"code": 0, "type": {"name": "周四", "type": 0, "week": 4}, "holiday": null}', 'workday'); |
|||
INSERT INTO "public"."holiday" VALUES ('2022-06-04', '{"code": 0, "type": {"name": "端午节", "type": 2, "week": 6}, "holiday": {"date": "2022-06-04", "name": "端午节", "rest": 1, "wage": 2, "holiday": true}}', 'dayoff'); |
|||
INSERT INTO "public"."holiday" VALUES ('2022-06-05', '{"code": 0, "type": {"name": "端午节", "type": 2, "week": 7}, "holiday": {"date": "2022-06-05", "name": "端午节", "rest": 1, "wage": 2, "holiday": true}}', 'dayoff'); |
|||
INSERT INTO "public"."holiday" VALUES ('2022-06-06', '{"code": 0, "type": {"name": "周一", "type": 0, "week": 1}, "holiday": null}', 'workday'); |
|||
INSERT INTO "public"."holiday" VALUES ('2022-06-07', '{"code": 0, "type": {"name": "周二", "type": 0, "week": 2}, "holiday": null}', 'workday'); |
|||
INSERT INTO "public"."holiday" VALUES ('2022-06-08', '{"code": 0, "type": {"name": "周三", "type": 0, "week": 3}, "holiday": null}', 'workday'); |
|||
INSERT INTO "public"."holiday" VALUES ('2022-06-09', '{"code": 0, "type": {"name": "周四", "type": 0, "week": 4}, "holiday": null}', 'workday'); |
|||
INSERT INTO "public"."holiday" VALUES ('2022-06-10', '{"code": 0, "type": {"name": "周五", "type": 0, "week": 5}, "holiday": null}', 'workday'); |
|||
INSERT INTO "public"."holiday" VALUES ('2022-06-11', '{"code": 0, "type": {"name": "周六", "type": 1, "week": 6}, "holiday": null}', 'dayoff'); |
|||
INSERT INTO "public"."holiday" VALUES ('2022-06-12', '{"code": 0, "type": {"name": "周日", "type": 1, "week": 7}, "holiday": null}', 'dayoff'); |
|||
INSERT INTO "public"."holiday" VALUES ('2022-06-13', '{"code": 0, "type": {"name": "周一", "type": 0, "week": 1}, "holiday": null}', 'workday'); |
|||
INSERT INTO "public"."holiday" VALUES ('2022-06-14', '{"code": 0, "type": {"name": "周二", "type": 0, "week": 2}, "holiday": null}', 'workday'); |
|||
INSERT INTO "public"."holiday" VALUES ('2022-06-15', '{"code": 0, "type": {"name": "周三", "type": 0, "week": 3}, "holiday": null}', 'workday'); |
|||
INSERT INTO "public"."holiday" VALUES ('2022-06-16', '{"code": 0, "type": {"name": "周四", "type": 0, "week": 4}, "holiday": null}', 'workday'); |
|||
INSERT INTO "public"."holiday" VALUES ('2022-06-17', '{"code": 0, "type": {"name": "周五", "type": 0, "week": 5}, "holiday": null}', 'workday'); |
|||
INSERT INTO "public"."holiday" VALUES ('2022-06-18', '{"code": 0, "type": {"name": "周六", "type": 1, "week": 6}, "holiday": null}', 'dayoff'); |
|||
INSERT INTO "public"."holiday" VALUES ('2022-06-19', '{"code": 0, "type": {"name": "周日", "type": 1, "week": 7}, "holiday": null}', 'dayoff'); |
|||
INSERT INTO "public"."holiday" VALUES ('2022-06-20', '{"code": 0, "type": {"name": "周一", "type": 0, "week": 1}, "holiday": null}', 'workday'); |
|||
INSERT INTO "public"."holiday" VALUES ('2022-06-21', '{"code": 0, "type": {"name": "周二", "type": 0, "week": 2}, "holiday": null}', 'workday'); |
|||
INSERT INTO "public"."holiday" VALUES ('2022-06-22', '{"code": 0, "type": {"name": "周三", "type": 0, "week": 3}, "holiday": null}', 'workday'); |
|||
INSERT INTO "public"."holiday" VALUES ('2022-06-23', '{"code": 0, "type": {"name": "周四", "type": 0, "week": 4}, "holiday": null}', 'workday'); |
|||
INSERT INTO "public"."holiday" VALUES ('2022-06-27', '{"code": 0, "type": {"name": "周一", "type": 0, "week": 1}, "holiday": null}', 'workday'); |
|||
INSERT INTO "public"."holiday" VALUES ('2022-06-28', '{"code": 0, "type": {"name": "周二", "type": 0, "week": 2}, "holiday": null}', 'workday'); |
|||
INSERT INTO "public"."holiday" VALUES ('2022-06-29', '{"code": 0, "type": {"name": "周三", "type": 0, "week": 3}, "holiday": null}', 'workday'); |
|||
INSERT INTO "public"."holiday" VALUES ('2022-06-30', '{"code": 0, "type": {"name": "周四", "type": 0, "week": 4}, "holiday": null}', 'workday'); |
|||
INSERT INTO "public"."holiday" VALUES ('2022-07-01', '{"code": 0, "type": {"name": "周五", "type": 0, "week": 5}, "holiday": null}', 'workday'); |
|||
INSERT INTO "public"."holiday" VALUES ('2022-07-02', '{"code": 0, "type": {"name": "周六", "type": 1, "week": 6}, "holiday": null}', 'dayoff'); |
|||
INSERT INTO "public"."holiday" VALUES ('2022-07-03', '{"code": 0, "type": {"name": "周日", "type": 1, "week": 7}, "holiday": null}', 'dayoff'); |
|||
INSERT INTO "public"."holiday" VALUES ('2022-07-04', '{"code": 0, "type": {"name": "周一", "type": 0, "week": 1}, "holiday": null}', 'workday'); |
|||
INSERT INTO "public"."holiday" VALUES ('2022-07-05', '{"code": 0, "type": {"name": "周二", "type": 0, "week": 2}, "holiday": null}', 'workday'); |
|||
INSERT INTO "public"."holiday" VALUES ('2022-07-06', '{"code": 0, "type": {"name": "周三", "type": 0, "week": 3}, "holiday": null}', 'workday'); |
|||
INSERT INTO "public"."holiday" VALUES ('2022-07-07', '{"code": 0, "type": {"name": "周四", "type": 0, "week": 4}, "holiday": null}', 'workday'); |
|||
INSERT INTO "public"."holiday" VALUES ('2022-07-08', '{"code": 0, "type": {"name": "周五", "type": 0, "week": 5}, "holiday": null}', 'workday'); |
|||
INSERT INTO "public"."holiday" VALUES ('2022-07-09', '{"code": 0, "type": {"name": "周六", "type": 1, "week": 6}, "holiday": null}', 'dayoff'); |
|||
INSERT INTO "public"."holiday" VALUES ('2022-05-22', '{"code": 0, "type": {"name": "周日", "type": 1, "week": 7}, "holiday": null}', 'dayoff'); |
|||
INSERT INTO "public"."holiday" VALUES ('2022-05-23', '{"code": 0, "type": {"name": "周一", "type": 0, "week": 1}, "holiday": null}', 'workday'); |
|||
INSERT INTO "public"."holiday" VALUES ('2022-07-13', '{"code": 0, "type": {"name": "周三", "type": 0, "week": 3}, "holiday": null}', 'workday'); |
|||
INSERT INTO "public"."holiday" VALUES ('2022-07-14', '{"code": 0, "type": {"name": "周四", "type": 0, "week": 4}, "holiday": null}', 'workday'); |
|||
INSERT INTO "public"."holiday" VALUES ('2022-07-16', '{"code": 0, "type": {"name": "周六", "type": 1, "week": 6}, "holiday": null}', 'dayoff'); |
|||
INSERT INTO "public"."holiday" VALUES ('2022-07-17', '{"code": 0, "type": {"name": "周日", "type": 1, "week": 7}, "holiday": null}', 'dayoff'); |
|||
INSERT INTO "public"."holiday" VALUES ('2022-07-18', '{"code": 0, "type": {"name": "周一", "type": 0, "week": 1}, "holiday": null}', 'workday'); |
|||
INSERT INTO "public"."holiday" VALUES ('2022-07-19', '{"code": 0, "type": {"name": "周二", "type": 0, "week": 2}, "holiday": null}', 'workday'); |
|||
INSERT INTO "public"."holiday" VALUES ('2022-07-20', '{"code": 0, "type": {"name": "周三", "type": 0, "week": 3}, "holiday": null}', 'workday'); |
|||
INSERT INTO "public"."holiday" VALUES ('2022-07-21', '{"code": 0, "type": {"name": "周四", "type": 0, "week": 4}, "holiday": null}', 'workday'); |
|||
INSERT INTO "public"."holiday" VALUES ('2022-07-22', '{"code": 0, "type": {"name": "周五", "type": 0, "week": 5}, "holiday": null}', 'workday'); |
|||
INSERT INTO "public"."holiday" VALUES ('2022-07-23', '{"code": 0, "type": {"name": "周六", "type": 1, "week": 6}, "holiday": null}', 'dayoff'); |
|||
INSERT INTO "public"."holiday" VALUES ('2022-07-24', '{"code": 0, "type": {"name": "周日", "type": 1, "week": 7}, "holiday": null}', 'dayoff'); |
|||
INSERT INTO "public"."holiday" VALUES ('2022-07-25', '{"code": 0, "type": {"name": "周一", "type": 0, "week": 1}, "holiday": null}', 'workday'); |
|||
INSERT INTO "public"."holiday" VALUES ('2022-07-26', '{"code": 0, "type": {"name": "周二", "type": 0, "week": 2}, "holiday": null}', 'workday'); |
|||
INSERT INTO "public"."holiday" VALUES ('2022-07-27', '{"code": 0, "type": {"name": "周三", "type": 0, "week": 3}, "holiday": null}', 'workday'); |
|||
INSERT INTO "public"."holiday" VALUES ('2022-07-28', '{"code": 0, "type": {"name": "周四", "type": 0, "week": 4}, "holiday": null}', 'workday'); |
|||
INSERT INTO "public"."holiday" VALUES ('2022-07-30', '{"code": 0, "type": {"name": "周六", "type": 1, "week": 6}, "holiday": null}', 'dayoff'); |
|||
INSERT INTO "public"."holiday" VALUES ('2022-07-31', '{"code": 0, "type": {"name": "周日", "type": 1, "week": 7}, "holiday": null}', 'dayoff'); |
|||
INSERT INTO "public"."holiday" VALUES ('2022-08-01', '{"code": 0, "type": {"name": "周一", "type": 0, "week": 1}, "holiday": null}', 'workday'); |
|||
INSERT INTO "public"."holiday" VALUES ('2022-08-02', '{"code": 0, "type": {"name": "周二", "type": 0, "week": 2}, "holiday": null}', 'workday'); |
|||
INSERT INTO "public"."holiday" VALUES ('2022-08-03', '{"code": 0, "type": {"name": "周三", "type": 0, "week": 3}, "holiday": null}', 'workday'); |
|||
INSERT INTO "public"."holiday" VALUES ('2022-08-04', '{"code": 0, "type": {"name": "周四", "type": 0, "week": 4}, "holiday": null}', 'workday'); |
|||
INSERT INTO "public"."holiday" VALUES ('2022-08-09', '{"code": 0, "type": {"name": "周二", "type": 0, "week": 2}, "holiday": null}', 'workday'); |
|||
INSERT INTO "public"."holiday" VALUES ('2022-08-10', '{"code": 0, "type": {"name": "周三", "type": 0, "week": 3}, "holiday": null}', 'workday'); |
|||
INSERT INTO "public"."holiday" VALUES ('2022-08-11', '{"code": 0, "type": {"name": "周四", "type": 0, "week": 4}, "holiday": null}', 'workday'); |
|||
INSERT INTO "public"."holiday" VALUES ('2022-08-12', '{"code": 0, "type": {"name": "周五", "type": 0, "week": 5}, "holiday": null}', 'workday'); |
|||
INSERT INTO "public"."holiday" VALUES ('2022-08-13', '{"code": 0, "type": {"name": "周六", "type": 1, "week": 6}, "holiday": null}', 'dayoff'); |
|||
INSERT INTO "public"."holiday" VALUES ('2022-08-14', '{"code": 0, "type": {"name": "周日", "type": 1, "week": 7}, "holiday": null}', 'dayoff'); |
|||
INSERT INTO "public"."holiday" VALUES ('2022-08-15', '{"code": 0, "type": {"name": "周一", "type": 0, "week": 1}, "holiday": null}', 'workday'); |
|||
INSERT INTO "public"."holiday" VALUES ('2022-08-16', '{"code": 0, "type": {"name": "周二", "type": 0, "week": 2}, "holiday": null}', 'workday'); |
|||
INSERT INTO "public"."holiday" VALUES ('2022-08-17', '{"code": 0, "type": {"name": "周三", "type": 0, "week": 3}, "holiday": null}', 'workday'); |
|||
INSERT INTO "public"."holiday" VALUES ('2022-08-18', '{"code": 0, "type": {"name": "周四", "type": 0, "week": 4}, "holiday": null}', 'workday'); |
|||
INSERT INTO "public"."holiday" VALUES ('2022-08-19', '{"code": 0, "type": {"name": "周五", "type": 0, "week": 5}, "holiday": null}', 'workday'); |
|||
INSERT INTO "public"."holiday" VALUES ('2022-08-20', '{"code": 0, "type": {"name": "周六", "type": 1, "week": 6}, "holiday": null}', 'dayoff'); |
|||
INSERT INTO "public"."holiday" VALUES ('2022-08-21', '{"code": 0, "type": {"name": "周日", "type": 1, "week": 7}, "holiday": null}', 'dayoff'); |
|||
INSERT INTO "public"."holiday" VALUES ('2022-08-22', '{"code": 0, "type": {"name": "周一", "type": 0, "week": 1}, "holiday": null}', 'workday'); |
|||
INSERT INTO "public"."holiday" VALUES ('2022-08-23', '{"code": 0, "type": {"name": "周二", "type": 0, "week": 2}, "holiday": null}', 'workday'); |
|||
INSERT INTO "public"."holiday" VALUES ('2022-08-24', '{"code": 0, "type": {"name": "周三", "type": 0, "week": 3}, "holiday": null}', 'workday'); |
|||
INSERT INTO "public"."holiday" VALUES ('2022-08-26', '{"code": 0, "type": {"name": "周五", "type": 0, "week": 5}, "holiday": null}', 'workday'); |
|||
INSERT INTO "public"."holiday" VALUES ('2022-08-27', '{"code": 0, "type": {"name": "周六", "type": 1, "week": 6}, "holiday": null}', 'dayoff'); |
|||
INSERT INTO "public"."holiday" VALUES ('2022-08-28', '{"code": 0, "type": {"name": "周日", "type": 1, "week": 7}, "holiday": null}', 'dayoff'); |
|||
INSERT INTO "public"."holiday" VALUES ('2022-08-29', '{"code": 0, "type": {"name": "周一", "type": 0, "week": 1}, "holiday": null}', 'workday'); |
|||
INSERT INTO "public"."holiday" VALUES ('2022-08-30', '{"code": 0, "type": {"name": "周二", "type": 0, "week": 2}, "holiday": null}', 'workday'); |
|||
INSERT INTO "public"."holiday" VALUES ('2022-07-11', '{"code": 0, "type": {"name": "周一", "type": 0, "week": 1}, "holiday": null}', 'workday'); |
|||
INSERT INTO "public"."holiday" VALUES ('2022-07-12', '{"code": 0, "type": {"name": "周二", "type": 0, "week": 2}, "holiday": null}', 'workday'); |
|||
INSERT INTO "public"."holiday" VALUES ('2022-09-10', '{"code": 0, "type": {"name": "中秋节", "type": 2, "week": 6}, "holiday": {"date": "2022-09-10", "name": "中秋节", "rest": 85, "wage": 3, "holiday": true}}', 'festivals'); |
|||
INSERT INTO "public"."holiday" VALUES ('2022-09-11', '{"code": 0, "type": {"name": "中秋节", "type": 2, "week": 7}, "holiday": {"date": "2022-09-11", "name": "中秋节", "rest": 1, "wage": 2, "holiday": true}}', 'dayoff'); |
|||
INSERT INTO "public"."holiday" VALUES ('2022-09-12', '{"code": 0, "type": {"name": "中秋节", "type": 2, "week": 1}, "holiday": {"date": "2022-09-12", "name": "中秋节", "rest": 1, "wage": 2, "holiday": true}}', 'dayoff'); |
|||
INSERT INTO "public"."holiday" VALUES ('2022-09-14', '{"code": 0, "type": {"name": "周三", "type": 0, "week": 3}, "holiday": null}', 'workday'); |
|||
INSERT INTO "public"."holiday" VALUES ('2022-09-16', '{"code": 0, "type": {"name": "周五", "type": 0, "week": 5}, "holiday": null}', 'workday'); |
|||
INSERT INTO "public"."holiday" VALUES ('2022-09-17', '{"code": 0, "type": {"name": "周六", "type": 1, "week": 6}, "holiday": null}', 'dayoff'); |
|||
INSERT INTO "public"."holiday" VALUES ('2022-09-18', '{"code": 0, "type": {"name": "周日", "type": 1, "week": 7}, "holiday": null}', 'dayoff'); |
|||
INSERT INTO "public"."holiday" VALUES ('2022-09-19', '{"code": 0, "type": {"name": "周一", "type": 0, "week": 1}, "holiday": null}', 'workday'); |
|||
INSERT INTO "public"."holiday" VALUES ('2022-09-23', '{"code": 0, "type": {"name": "周五", "type": 0, "week": 5}, "holiday": null}', 'workday'); |
|||
INSERT INTO "public"."holiday" VALUES ('2022-09-24', '{"code": 0, "type": {"name": "周六", "type": 1, "week": 6}, "holiday": null}', 'dayoff'); |
|||
INSERT INTO "public"."holiday" VALUES ('2022-10-02', '{"code": 0, "type": {"name": "国庆节", "type": 2, "week": 7}, "holiday": {"date": "2022-10-02", "name": "国庆节", "rest": 1, "wage": 3, "holiday": true}}', 'festivals'); |
|||
INSERT INTO "public"."holiday" VALUES ('2022-10-03', '{"code": 0, "type": {"name": "国庆节", "type": 2, "week": 1}, "holiday": {"date": "2022-10-03", "name": "国庆节", "rest": 1, "wage": 3, "holiday": true}}', 'festivals'); |
|||
INSERT INTO "public"."holiday" VALUES ('2022-10-04', '{"code": 0, "type": {"name": "国庆节", "type": 2, "week": 2}, "holiday": {"date": "2022-10-04", "name": "国庆节", "rest": 1, "wage": 2, "holiday": true}}', 'dayoff'); |
|||
INSERT INTO "public"."holiday" VALUES ('2022-10-05', '{"code": 0, "type": {"name": "国庆节", "type": 2, "week": 3}, "holiday": {"date": "2022-10-05", "name": "国庆节", "rest": 1, "wage": 2, "holiday": true}}', 'dayoff'); |
|||
INSERT INTO "public"."holiday" VALUES ('2022-10-06', '{"code": 0, "type": {"name": "国庆节", "type": 2, "week": 4}, "holiday": {"date": "2022-10-06", "name": "国庆节", "rest": 1, "wage": 2, "holiday": true}}', 'dayoff'); |
|||
INSERT INTO "public"."holiday" VALUES ('2022-10-07', '{"code": 0, "type": {"name": "国庆节", "type": 2, "week": 5}, "holiday": {"date": "2022-10-07", "name": "国庆节", "rest": 1, "wage": 2, "holiday": true}}', 'dayoff'); |
|||
INSERT INTO "public"."holiday" VALUES ('2022-10-08', '{"code": 0, "type": {"name": "国庆节后补班", "type": 3, "week": 6}, "holiday": {"date": "2022-10-08", "name": "国庆节后补班", "wage": 1, "after": true, "target": "国庆节", "holiday": false}}', 'workday'); |
|||
INSERT INTO "public"."holiday" VALUES ('2022-10-10', '{"code": 0, "type": {"name": "周一", "type": 0, "week": 1}, "holiday": null}', 'workday'); |
|||
INSERT INTO "public"."holiday" VALUES ('2022-10-11', '{"code": 0, "type": {"name": "周二", "type": 0, "week": 2}, "holiday": null}', 'workday'); |
|||
INSERT INTO "public"."holiday" VALUES ('2022-10-12', '{"code": 0, "type": {"name": "周三", "type": 0, "week": 3}, "holiday": null}', 'workday'); |
|||
INSERT INTO "public"."holiday" VALUES ('2022-09-05', '{"code": 0, "type": {"name": "周一", "type": 0, "week": 1}, "holiday": null}', 'workday'); |
|||
INSERT INTO "public"."holiday" VALUES ('2022-09-25', '{"code": 0, "type": {"name": "周日", "type": 1, "week": 7}, "holiday": null}', 'dayoff'); |
|||
INSERT INTO "public"."holiday" VALUES ('2022-09-26', '{"code": 0, "type": {"name": "周一", "type": 0, "week": 1}, "holiday": null}', 'workday'); |
|||
INSERT INTO "public"."holiday" VALUES ('2022-09-06', '{"code": 0, "type": {"name": "周二", "type": 0, "week": 2}, "holiday": null}', 'workday'); |
|||
INSERT INTO "public"."holiday" VALUES ('2022-09-07', '{"code": 0, "type": {"name": "周三", "type": 0, "week": 3}, "holiday": null}', 'workday'); |
|||
INSERT INTO "public"."holiday" VALUES ('2022-09-08', '{"code": 0, "type": {"name": "周四", "type": 0, "week": 4}, "holiday": null}', 'workday'); |
|||
INSERT INTO "public"."holiday" VALUES ('2022-09-09', '{"code": 0, "type": {"name": "周五", "type": 0, "week": 5}, "holiday": null}', 'workday'); |
|||
INSERT INTO "public"."holiday" VALUES ('2022-09-15', '{"code": 0, "type": {"name": "周四", "type": 0, "week": 4}, "holiday": null}', 'workday'); |
|||
INSERT INTO "public"."holiday" VALUES ('2022-09-20', '{"code": 0, "type": {"name": "周二", "type": 0, "week": 2}, "holiday": null}', 'workday'); |
|||
INSERT INTO "public"."holiday" VALUES ('2022-09-21', '{"code": 0, "type": {"name": "周三", "type": 0, "week": 3}, "holiday": null}', 'workday'); |
|||
INSERT INTO "public"."holiday" VALUES ('2022-09-22', '{"code": 0, "type": {"name": "周四", "type": 0, "week": 4}, "holiday": null}', 'workday'); |
|||
INSERT INTO "public"."holiday" VALUES ('2022-10-27', '{"code": 0, "type": {"name": "周四", "type": 0, "week": 4}, "holiday": null}', 'workday'); |
|||
INSERT INTO "public"."holiday" VALUES ('2022-10-29', '{"code": 0, "type": {"name": "周六", "type": 1, "week": 6}, "holiday": null}', 'dayoff'); |
|||
INSERT INTO "public"."holiday" VALUES ('2022-10-30', '{"code": 0, "type": {"name": "周日", "type": 1, "week": 7}, "holiday": null}', 'dayoff'); |
|||
INSERT INTO "public"."holiday" VALUES ('2022-10-31', '{"code": 0, "type": {"name": "周一", "type": 0, "week": 1}, "holiday": null}', 'workday'); |
|||
INSERT INTO "public"."holiday" VALUES ('2022-11-02', '{"code": 0, "type": {"name": "周三", "type": 0, "week": 3}, "holiday": null}', 'workday'); |
|||
INSERT INTO "public"."holiday" VALUES ('2022-11-03', '{"code": 0, "type": {"name": "周四", "type": 0, "week": 4}, "holiday": null}', 'workday'); |
|||
INSERT INTO "public"."holiday" VALUES ('2022-11-04', '{"code": 0, "type": {"name": "周五", "type": 0, "week": 5}, "holiday": null}', 'workday'); |
|||
INSERT INTO "public"."holiday" VALUES ('2022-11-08', '{"code": 0, "type": {"name": "周二", "type": 0, "week": 2}, "holiday": null}', 'workday'); |
|||
INSERT INTO "public"."holiday" VALUES ('2022-11-09', '{"code": 0, "type": {"name": "周三", "type": 0, "week": 3}, "holiday": null}', 'workday'); |
|||
INSERT INTO "public"."holiday" VALUES ('2022-11-10', '{"code": 0, "type": {"name": "周四", "type": 0, "week": 4}, "holiday": null}', 'workday'); |
|||
INSERT INTO "public"."holiday" VALUES ('2022-11-11', '{"code": 0, "type": {"name": "周五", "type": 0, "week": 5}, "holiday": null}', 'workday'); |
|||
INSERT INTO "public"."holiday" VALUES ('2022-11-12', '{"code": 0, "type": {"name": "周六", "type": 1, "week": 6}, "holiday": null}', 'dayoff'); |
|||
INSERT INTO "public"."holiday" VALUES ('2022-11-13', '{"code": 0, "type": {"name": "周日", "type": 1, "week": 7}, "holiday": null}', 'dayoff'); |
|||
INSERT INTO "public"."holiday" VALUES ('2022-11-14', '{"code": 0, "type": {"name": "周一", "type": 0, "week": 1}, "holiday": null}', 'workday'); |
|||
INSERT INTO "public"."holiday" VALUES ('2022-11-16', '{"code": 0, "type": {"name": "周三", "type": 0, "week": 3}, "holiday": null}', 'workday'); |
|||
INSERT INTO "public"."holiday" VALUES ('2022-11-17', '{"code": 0, "type": {"name": "周四", "type": 0, "week": 4}, "holiday": null}', 'workday'); |
|||
INSERT INTO "public"."holiday" VALUES ('2022-11-18', '{"code": 0, "type": {"name": "周五", "type": 0, "week": 5}, "holiday": null}', 'workday'); |
|||
INSERT INTO "public"."holiday" VALUES ('2022-11-19', '{"code": 0, "type": {"name": "周六", "type": 1, "week": 6}, "holiday": null}', 'dayoff'); |
|||
INSERT INTO "public"."holiday" VALUES ('2022-11-20', '{"code": 0, "type": {"name": "周日", "type": 1, "week": 7}, "holiday": null}', 'dayoff'); |
|||
INSERT INTO "public"."holiday" VALUES ('2022-11-21', '{"code": 0, "type": {"name": "周一", "type": 0, "week": 1}, "holiday": null}', 'workday'); |
|||
INSERT INTO "public"."holiday" VALUES ('2022-11-22', '{"code": 0, "type": {"name": "周二", "type": 0, "week": 2}, "holiday": null}', 'workday'); |
|||
INSERT INTO "public"."holiday" VALUES ('2022-11-23', '{"code": 0, "type": {"name": "周三", "type": 0, "week": 3}, "holiday": null}', 'workday'); |
|||
INSERT INTO "public"."holiday" VALUES ('2022-11-24', '{"code": 0, "type": {"name": "周四", "type": 0, "week": 4}, "holiday": null}', 'workday'); |
|||
INSERT INTO "public"."holiday" VALUES ('2022-11-25', '{"code": 0, "type": {"name": "周五", "type": 0, "week": 5}, "holiday": null}', 'workday'); |
|||
INSERT INTO "public"."holiday" VALUES ('2022-11-26', '{"code": 0, "type": {"name": "周六", "type": 1, "week": 6}, "holiday": null}', 'dayoff'); |
|||
INSERT INTO "public"."holiday" VALUES ('2022-11-27', '{"code": 0, "type": {"name": "周日", "type": 1, "week": 7}, "holiday": null}', 'dayoff'); |
|||
INSERT INTO "public"."holiday" VALUES ('2022-11-29', '{"code": 0, "type": {"name": "周二", "type": 0, "week": 2}, "holiday": null}', 'workday'); |
|||
INSERT INTO "public"."holiday" VALUES ('2022-12-02', '{"code": 0, "type": {"name": "周五", "type": 0, "week": 5}, "holiday": null}', 'workday'); |
|||
INSERT INTO "public"."holiday" VALUES ('2022-12-03', '{"code": 0, "type": {"name": "周六", "type": 1, "week": 6}, "holiday": null}', 'dayoff'); |
|||
INSERT INTO "public"."holiday" VALUES ('2022-10-20', '{"code": 0, "type": {"name": "周四", "type": 0, "week": 4}, "holiday": null}', 'workday'); |
|||
INSERT INTO "public"."holiday" VALUES ('2022-10-21', '{"code": 0, "type": {"name": "周五", "type": 0, "week": 5}, "holiday": null}', 'workday'); |
|||
INSERT INTO "public"."holiday" VALUES ('2022-10-24', '{"code": 0, "type": {"name": "周一", "type": 0, "week": 1}, "holiday": null}', 'workday'); |
|||
INSERT INTO "public"."holiday" VALUES ('2022-10-14', '{"code": 0, "type": {"name": "周五", "type": 0, "week": 5}, "holiday": null}', 'workday'); |
|||
INSERT INTO "public"."holiday" VALUES ('2022-10-22', '{"code": 0, "type": {"name": "周六", "type": 1, "week": 6}, "holiday": null}', 'dayoff'); |
|||
INSERT INTO "public"."holiday" VALUES ('2022-10-23', '{"code": 0, "type": {"name": "周日", "type": 1, "week": 7}, "holiday": null}', 'dayoff'); |
|||
INSERT INTO "public"."holiday" VALUES ('2022-10-25', '{"code": 0, "type": {"name": "周二", "type": 0, "week": 2}, "holiday": null}', 'workday'); |
|||
INSERT INTO "public"."holiday" VALUES ('2022-10-26', '{"code": 0, "type": {"name": "周三", "type": 0, "week": 3}, "holiday": null}', 'workday'); |
|||
INSERT INTO "public"."holiday" VALUES ('2022-11-05', '{"code": 0, "type": {"name": "周六", "type": 1, "week": 6}, "holiday": null}', 'dayoff'); |
|||
INSERT INTO "public"."holiday" VALUES ('2022-11-06', '{"code": 0, "type": {"name": "周日", "type": 1, "week": 7}, "holiday": null}', 'dayoff'); |
|||
INSERT INTO "public"."holiday" VALUES ('2022-11-07', '{"code": 0, "type": {"name": "周一", "type": 0, "week": 1}, "holiday": null}', 'workday'); |
|||
INSERT INTO "public"."holiday" VALUES ('2022-12-11', '{"code": 0, "type": {"name": "周日", "type": 1, "week": 7}, "holiday": null}', 'dayoff'); |
|||
INSERT INTO "public"."holiday" VALUES ('2022-12-12', '{"code": 0, "type": {"name": "周一", "type": 0, "week": 1}, "holiday": null}', 'workday'); |
|||
INSERT INTO "public"."holiday" VALUES ('2022-12-13', '{"code": 0, "type": {"name": "周二", "type": 0, "week": 2}, "holiday": null}', 'workday'); |
|||
INSERT INTO "public"."holiday" VALUES ('2022-12-15', '{"code": 0, "type": {"name": "周四", "type": 0, "week": 4}, "holiday": null}', 'workday'); |
|||
INSERT INTO "public"."holiday" VALUES ('2022-12-16', '{"code": 0, "type": {"name": "周五", "type": 0, "week": 5}, "holiday": null}', 'workday'); |
|||
INSERT INTO "public"."holiday" VALUES ('2022-12-17', '{"code": 0, "type": {"name": "周六", "type": 1, "week": 6}, "holiday": null}', 'dayoff'); |
|||
INSERT INTO "public"."holiday" VALUES ('2022-12-18', '{"code": 0, "type": {"name": "周日", "type": 1, "week": 7}, "holiday": null}', 'dayoff'); |
|||
INSERT INTO "public"."holiday" VALUES ('2022-12-23', '{"code": 0, "type": {"name": "周五", "type": 0, "week": 5}, "holiday": null}', 'workday'); |
|||
INSERT INTO "public"."holiday" VALUES ('2022-12-24', '{"code": 0, "type": {"name": "周六", "type": 1, "week": 6}, "holiday": null}', 'dayoff'); |
|||
INSERT INTO "public"."holiday" VALUES ('2022-12-25', '{"code": 0, "type": {"name": "周日", "type": 1, "week": 7}, "holiday": null}', 'dayoff'); |
|||
INSERT INTO "public"."holiday" VALUES ('2022-12-26', '{"code": 0, "type": {"name": "周一", "type": 0, "week": 1}, "holiday": null}', 'workday'); |
|||
INSERT INTO "public"."holiday" VALUES ('2022-12-27', '{"code": 0, "type": {"name": "周二", "type": 0, "week": 2}, "holiday": null}', 'workday'); |
|||
INSERT INTO "public"."holiday" VALUES ('2022-12-29', '{"code": 0, "type": {"name": "周四", "type": 0, "week": 4}, "holiday": null}', 'workday'); |
|||
INSERT INTO "public"."holiday" VALUES ('2022-12-30', '{"code": 0, "type": {"name": "周五", "type": 0, "week": 5}, "holiday": null}', 'workday'); |
|||
INSERT INTO "public"."holiday" VALUES ('2022-12-31', '{"code": 0, "type": {"name": "周六", "type": 1, "week": 6}, "holiday": null}', 'dayoff'); |
|||
INSERT INTO "public"."holiday" VALUES ('2022-12-05', '{"code": 0, "type": {"name": "周一", "type": 0, "week": 1}, "holiday": null}', 'workday'); |
|||
INSERT INTO "public"."holiday" VALUES ('2022-01-01', '{"code": 0, "type": {"name": "元旦", "type": 2, "week": 6}, "holiday": {"date": "2022-01-01", "name": "元旦", "rest": 85, "wage": 3, "holiday": true}}', 'festivals'); |
|||
INSERT INTO "public"."holiday" VALUES ('2022-01-02', '{"code": 0, "type": {"name": "元旦", "type": 2, "week": 7}, "holiday": {"date": "2022-01-02", "name": "元旦", "rest": 1, "wage": 2, "holiday": true}}', 'dayoff'); |
|||
INSERT INTO "public"."holiday" VALUES ('2022-01-07', '{"code": 0, "type": {"name": "周五", "type": 0, "week": 5}, "holiday": null}', 'workday'); |
|||
INSERT INTO "public"."holiday" VALUES ('2022-01-11', '{"code": 0, "type": {"name": "周二", "type": 0, "week": 2}, "holiday": null}', 'workday'); |
|||
INSERT INTO "public"."holiday" VALUES ('2022-01-12', '{"code": 0, "type": {"name": "周三", "type": 0, "week": 3}, "holiday": null}', 'workday'); |
|||
INSERT INTO "public"."holiday" VALUES ('2022-02-03', '{"code": 0, "type": {"name": "初三", "type": 2, "week": 4}, "holiday": {"date": "2022-02-03", "name": "初三", "rest": 1, "wage": 3, "holiday": true}}', 'festivals'); |
|||
INSERT INTO "public"."holiday" VALUES ('2022-02-14', '{"code": 0, "type": {"name": "周一", "type": 0, "week": 1}, "holiday": null}', 'workday'); |
|||
INSERT INTO "public"."holiday" VALUES ('2022-12-07', '{"code": 0, "type": {"name": "周三", "type": 0, "week": 3}, "holiday": null}', 'workday'); |
|||
INSERT INTO "public"."holiday" VALUES ('2022-02-15', '{"code": 0, "type": {"name": "周二", "type": 0, "week": 2}, "holiday": null}', 'workday'); |
|||
INSERT INTO "public"."holiday" VALUES ('2022-02-28', '{"code": 0, "type": {"name": "周一", "type": 0, "week": 1}, "holiday": null}', 'workday'); |
|||
INSERT INTO "public"."holiday" VALUES ('2022-03-14', '{"code": 0, "type": {"name": "周一", "type": 0, "week": 1}, "holiday": null}', 'workday'); |
|||
INSERT INTO "public"."holiday" VALUES ('2022-03-28', '{"code": 0, "type": {"name": "周一", "type": 0, "week": 1}, "holiday": null}', 'workday'); |
|||
INSERT INTO "public"."holiday" VALUES ('2022-04-02', '{"code": 0, "type": {"name": "清明节前补班", "type": 3, "week": 6}, "holiday": {"date": "2022-04-02", "name": "清明节前补班", "rest": 19, "wage": 1, "after": false, "target": "清明节", "holiday": false}}', 'workday'); |
|||
INSERT INTO "public"."holiday" VALUES ('2022-04-05', '{"code": 0, "type": {"name": "清明节", "type": 2, "week": 2}, "holiday": {"date": "2022-04-05", "name": "清明节", "rest": 1, "wage": 3, "holiday": true}}', 'festivals'); |
|||
INSERT INTO "public"."holiday" VALUES ('2022-04-18', '{"code": 0, "type": {"name": "周一", "type": 0, "week": 1}, "holiday": null}', 'workday'); |
|||
INSERT INTO "public"."holiday" VALUES ('2022-04-24', '{"code": 0, "type": {"name": "劳动节前补班", "type": 3, "week": 7}, "holiday": {"date": "2022-04-24", "name": "劳动节前补班", "rest": 9, "wage": 1, "after": false, "target": "劳动节", "holiday": false}}', 'workday'); |
|||
INSERT INTO "public"."holiday" VALUES ('2022-05-21', '{"code": 0, "type": {"name": "周六", "type": 1, "week": 6}, "holiday": null}', 'dayoff'); |
|||
INSERT INTO "public"."holiday" VALUES ('2022-12-06', '{"code": 0, "type": {"name": "周二", "type": 0, "week": 2}, "holiday": null}', 'workday'); |
|||
INSERT INTO "public"."holiday" VALUES ('2022-12-08', '{"code": 0, "type": {"name": "周四", "type": 0, "week": 4}, "holiday": null}', 'workday'); |
|||
INSERT INTO "public"."holiday" VALUES ('2022-12-09', '{"code": 0, "type": {"name": "周五", "type": 0, "week": 5}, "holiday": null}', 'workday'); |
|||
INSERT INTO "public"."holiday" VALUES ('2022-05-26', '{"code": 0, "type": {"name": "周四", "type": 0, "week": 4}, "holiday": null}', 'workday'); |
|||
INSERT INTO "public"."holiday" VALUES ('2022-06-25', '{"code": 0, "type": {"name": "周六", "type": 1, "week": 6}, "holiday": null}', 'dayoff'); |
|||
INSERT INTO "public"."holiday" VALUES ('2022-07-15', '{"code": 0, "type": {"name": "周五", "type": 0, "week": 5}, "holiday": null}', 'workday'); |
|||
INSERT INTO "public"."holiday" VALUES ('2022-09-03', '{"code": 0, "type": {"name": "周六", "type": 1, "week": 6}, "holiday": null}', 'dayoff'); |
|||
INSERT INTO "public"."holiday" VALUES ('2022-09-13', '{"code": 0, "type": {"name": "周二", "type": 0, "week": 2}, "holiday": null}', 'workday'); |
|||
INSERT INTO "public"."holiday" VALUES ('2022-10-13', '{"code": 0, "type": {"name": "周四", "type": 0, "week": 4}, "holiday": null}', 'workday'); |
|||
INSERT INTO "public"."holiday" VALUES ('2022-06-03', '{"code": 0, "type": {"name": "端午节", "type": 2, "week": 5}, "holiday": {"date": "2022-06-03", "name": "端午节", "rest": 12, "wage": 3, "holiday": true}}', 'festivals'); |
|||
INSERT INTO "public"."holiday" VALUES ('2022-09-01', '{"code": 0, "type": {"name": "周四", "type": 0, "week": 4}, "holiday": null}', 'workday'); |
|||
INSERT INTO "public"."holiday" VALUES ('2022-06-24', '{"code": 0, "type": {"name": "周五", "type": 0, "week": 5}, "holiday": null}', 'workday'); |
|||
INSERT INTO "public"."holiday" VALUES ('2022-09-02', '{"code": 0, "type": {"name": "周五", "type": 0, "week": 5}, "holiday": null}', 'workday'); |
|||
INSERT INTO "public"."holiday" VALUES ('2022-11-01', '{"code": 0, "type": {"name": "周二", "type": 0, "week": 2}, "holiday": null}', 'workday'); |
|||
INSERT INTO "public"."holiday" VALUES ('2022-06-26', '{"code": 0, "type": {"name": "周日", "type": 1, "week": 7}, "holiday": null}', 'dayoff'); |
|||
INSERT INTO "public"."holiday" VALUES ('2022-08-05', '{"code": 0, "type": {"name": "周五", "type": 0, "week": 5}, "holiday": null}', 'workday'); |
|||
INSERT INTO "public"."holiday" VALUES ('2022-08-25', '{"code": 0, "type": {"name": "周四", "type": 0, "week": 4}, "holiday": null}', 'workday'); |
|||
INSERT INTO "public"."holiday" VALUES ('2022-09-04', '{"code": 0, "type": {"name": "周日", "type": 1, "week": 7}, "holiday": null}', 'dayoff'); |
|||
INSERT INTO "public"."holiday" VALUES ('2022-07-10', '{"code": 0, "type": {"name": "周日", "type": 1, "week": 7}, "holiday": null}', 'dayoff'); |
|||
INSERT INTO "public"."holiday" VALUES ('2022-10-18', '{"code": 0, "type": {"name": "周二", "type": 0, "week": 2}, "holiday": null}', 'workday'); |
|||
INSERT INTO "public"."holiday" VALUES ('2022-07-29', '{"code": 0, "type": {"name": "周五", "type": 0, "week": 5}, "holiday": null}', 'workday'); |
|||
INSERT INTO "public"."holiday" VALUES ('2022-08-08', '{"code": 0, "type": {"name": "周一", "type": 0, "week": 1}, "holiday": null}', 'workday'); |
|||
INSERT INTO "public"."holiday" VALUES ('2022-08-06', '{"code": 0, "type": {"name": "周六", "type": 1, "week": 6}, "holiday": null}', 'dayoff'); |
|||
INSERT INTO "public"."holiday" VALUES ('2022-12-04', '{"code": 0, "type": {"name": "周日", "type": 1, "week": 7}, "holiday": null}', 'dayoff'); |
|||
INSERT INTO "public"."holiday" VALUES ('2022-12-14', '{"code": 0, "type": {"name": "周三", "type": 0, "week": 3}, "holiday": null}', 'workday'); |
|||
INSERT INTO "public"."holiday" VALUES ('2022-08-07', '{"code": 0, "type": {"name": "周日", "type": 1, "week": 7}, "holiday": null}', 'dayoff'); |
|||
INSERT INTO "public"."holiday" VALUES ('2022-11-15', '{"code": 0, "type": {"name": "周二", "type": 0, "week": 2}, "holiday": null}', 'workday'); |
|||
INSERT INTO "public"."holiday" VALUES ('2022-08-31', '{"code": 0, "type": {"name": "周三", "type": 0, "week": 3}, "holiday": null}', 'workday'); |
|||
INSERT INTO "public"."holiday" VALUES ('2022-01-28', '{"code": 0, "type": {"name": "周五", "type": 0, "week": 5}, "holiday": null}', 'workday'); |
|||
INSERT INTO "public"."holiday" VALUES ('2022-02-06', '{"code": 0, "type": {"name": "初六", "type": 2, "week": 7}, "holiday": {"date": "2022-02-06", "name": "初六", "rest": 1, "wage": 2, "holiday": true}}', 'dayoff'); |
|||
INSERT INTO "public"."holiday" VALUES ('2022-11-28', '{"code": 0, "type": {"name": "周一", "type": 0, "week": 1}, "holiday": null}', 'workday'); |
|||
INSERT INTO "public"."holiday" VALUES ('2022-12-28', '{"code": 0, "type": {"name": "周三", "type": 0, "week": 3}, "holiday": null}', 'workday'); |
|||
INSERT INTO "public"."holiday" VALUES ('2022-02-05', '{"code": 0, "type": {"name": "初五", "type": 2, "week": 6}, "holiday": {"date": "2022-02-05", "name": "初五", "rest": 1, "wage": 2, "holiday": true}}', 'dayoff'); |
|||
INSERT INTO "public"."holiday" VALUES ('2022-11-30', '{"code": 0, "type": {"name": "周三", "type": 0, "week": 3}, "holiday": null}', 'workday'); |
|||
INSERT INTO "public"."holiday" VALUES ('2022-12-01', '{"code": 0, "type": {"name": "周四", "type": 0, "week": 4}, "holiday": null}', 'workday'); |
|||
INSERT INTO "public"."holiday" VALUES ('2022-12-10', '{"code": 0, "type": {"name": "周六", "type": 1, "week": 6}, "holiday": null}', 'dayoff'); |
|||
INSERT INTO "public"."holiday" VALUES ('2022-12-19', '{"code": 0, "type": {"name": "周一", "type": 0, "week": 1}, "holiday": null}', 'workday'); |
|||
INSERT INTO "public"."holiday" VALUES ('2022-12-20', '{"code": 0, "type": {"name": "周二", "type": 0, "week": 2}, "holiday": null}', 'workday'); |
|||
INSERT INTO "public"."holiday" VALUES ('2022-12-21', '{"code": 0, "type": {"name": "周三", "type": 0, "week": 3}, "holiday": null}', 'workday'); |
|||
INSERT INTO "public"."holiday" VALUES ('2022-12-22', '{"code": 0, "type": {"name": "周四", "type": 0, "week": 4}, "holiday": null}', 'workday'); |
|||
INSERT INTO "public"."holiday" VALUES ('2022-02-22', '{"code": 0, "type": {"name": "周二", "type": 0, "week": 2}, "holiday": null}', 'workday'); |
|||
INSERT INTO "public"."holiday" VALUES ('2022-02-23', '{"code": 0, "type": {"name": "周三", "type": 0, "week": 3}, "holiday": null}', 'workday'); |
|||
INSERT INTO "public"."holiday" VALUES ('2022-02-24', '{"code": 0, "type": {"name": "周四", "type": 0, "week": 4}, "holiday": null}', 'workday'); |
|||
INSERT INTO "public"."holiday" VALUES ('2022-04-30', '{"code": 0, "type": {"name": "劳动节", "type": 2, "week": 6}, "holiday": {"date": "2022-04-30", "name": "劳动节", "rest": 15, "wage": 2, "holiday": true}}', 'dayoff'); |
|||
INSERT INTO "public"."holiday" VALUES ('2022-09-27', '{"code": 0, "type": {"name": "周二", "type": 0, "week": 2}, "holiday": null}', 'workday'); |
|||
INSERT INTO "public"."holiday" VALUES ('2022-09-28', '{"code": 0, "type": {"name": "周三", "type": 0, "week": 3}, "holiday": null}', 'workday'); |
|||
INSERT INTO "public"."holiday" VALUES ('2022-09-29', '{"code": 0, "type": {"name": "周四", "type": 0, "week": 4}, "holiday": null}', 'workday'); |
|||
INSERT INTO "public"."holiday" VALUES ('2022-09-30', '{"code": 0, "type": {"name": "周五", "type": 0, "week": 5}, "holiday": null}', 'workday'); |
|||
INSERT INTO "public"."holiday" VALUES ('2022-10-01', '{"code": 0, "type": {"name": "国庆节", "type": 2, "week": 6}, "holiday": {"date": "2022-10-01", "name": "国庆节", "rest": 18, "wage": 3, "holiday": true}}', 'festivals'); |
|||
INSERT INTO "public"."holiday" VALUES ('2022-10-09', '{"code": 0, "type": {"name": "国庆节后补班", "type": 3, "week": 7}, "holiday": {"date": "2022-10-09", "name": "国庆节后补班", "wage": 1, "after": true, "target": "国庆节", "holiday": false}}', 'workday'); |
|||
INSERT INTO "public"."holiday" VALUES ('2022-10-15', '{"code": 0, "type": {"name": "周六", "type": 1, "week": 6}, "holiday": null}', 'dayoff'); |
|||
INSERT INTO "public"."holiday" VALUES ('2022-10-16', '{"code": 0, "type": {"name": "周日", "type": 1, "week": 7}, "holiday": null}', 'dayoff'); |
|||
INSERT INTO "public"."holiday" VALUES ('2022-10-17', '{"code": 0, "type": {"name": "周一", "type": 0, "week": 1}, "holiday": null}', 'workday'); |
|||
INSERT INTO "public"."holiday" VALUES ('2022-01-30', '{"code": 0, "type": {"name": "春节前补班", "type": 3, "week": 7}, "holiday": {"date": "2022-01-30", "name": "春节前补班", "rest": 1, "wage": 1, "after": false, "target": "春节", "holiday": false}}', 'workday'); |
|||
INSERT INTO "public"."holiday" VALUES ('2022-10-19', '{"code": 0, "type": {"name": "周三", "type": 0, "week": 3}, "holiday": null}', 'workday'); |
|||
INSERT INTO "public"."holiday" VALUES ('2022-10-28', '{"code": 0, "type": {"name": "周五", "type": 0, "week": 5}, "holiday": null}', 'workday'); |
@ -0,0 +1,183 @@ |
|||
create table if not exists member |
|||
( |
|||
pep_user_id integer not null, |
|||
id_number varchar(32), |
|||
id_photo varchar(1024), |
|||
gender varchar(32), |
|||
birthday date, |
|||
native_place varchar(128), |
|||
marital varchar(32), |
|||
politics_status varchar(32), |
|||
phone_number varchar(32), |
|||
work_place varchar(128), |
|||
graduated_from varchar(128), |
|||
education_background varchar(32), |
|||
specialty varchar(64), |
|||
graduation_date date, |
|||
hiredate date, |
|||
turn_probation_period date, |
|||
regular_date date, |
|||
dimission_date date, |
|||
experience_year double precision, |
|||
occupational_history text, |
|||
vitae varchar(1024), |
|||
del boolean default false, |
|||
constraint member_pk |
|||
primary key (pep_user_id) |
|||
); |
|||
|
|||
comment on column member.pep_user_id is '项企用户id'; |
|||
|
|||
comment on column member.id_number is '证件号'; |
|||
|
|||
comment on column member.id_photo is '证件照'; |
|||
|
|||
comment on column member.gender is '性别'; |
|||
|
|||
comment on column member.birthday is '出生年月'; |
|||
|
|||
comment on column member.native_place is '籍贯'; |
|||
|
|||
comment on column member.marital is '婚育状态'; |
|||
|
|||
comment on column member.politics_status is '整治面貌'; |
|||
|
|||
comment on column member.work_place is '工作地点'; |
|||
|
|||
comment on column member.graduated_from is '毕业院校'; |
|||
|
|||
comment on column member.education_background is '学历'; |
|||
|
|||
comment on column member.specialty is '专业'; |
|||
|
|||
comment on column member.graduation_date is '毕业时间'; |
|||
|
|||
comment on column member.hiredate is '入职时间'; |
|||
|
|||
comment on column member.turn_probation_period is '转试用期时间'; |
|||
|
|||
comment on column member.regular_date is '转正时间'; |
|||
|
|||
comment on column member.dimission_date is '离职时间'; |
|||
|
|||
comment on column member.experience_year is '工作经验/年'; |
|||
|
|||
comment on column member.occupational_history is '工作经历'; |
|||
|
|||
comment on column member.vitae is '简历'; |
|||
|
|||
create unique index if not exists member_pep_user_id_uindex |
|||
on member (pep_user_id); |
|||
|
|||
create table if not exists vacate |
|||
( |
|||
id serial not null, |
|||
pep_user_id integer not null, |
|||
start_time timestamp not null, |
|||
end_time timestamp not null, |
|||
type varchar(32), |
|||
duration integer, |
|||
pep_process_story_id integer not null, |
|||
wf_process_state varchar(32), |
|||
reason varchar(1024), |
|||
constraint vacate_pk |
|||
primary key (id) |
|||
); |
|||
|
|||
comment on table vacate is '假勤之休假申请工作流一维展开数据'; |
|||
|
|||
comment on column vacate.type is '请假类别'; |
|||
|
|||
comment on column vacate.duration is '时长 s'; |
|||
|
|||
comment on column vacate.pep_process_story_id is '和 项企 workflow_process_history 关联'; |
|||
|
|||
comment on column vacate.wf_process_state is '流程状态'; |
|||
|
|||
comment on column vacate.reason is '原因'; |
|||
|
|||
create unique index if not exists vacate_id_uindex |
|||
on vacate (id); |
|||
|
|||
create table if not exists holiday |
|||
( |
|||
day date not null, |
|||
holiday jsonb, |
|||
type varchar(32), |
|||
constraint holiday_pk |
|||
primary key (day) |
|||
); |
|||
|
|||
comment on column holiday.type is 'workday 工作日 / dayoff 休息日 / festivals 节假日'; |
|||
|
|||
create unique index if not exists holiday_day_uindex |
|||
on holiday (day); |
|||
|
|||
create table if not exists overtime |
|||
( |
|||
id serial not null, |
|||
pep_user_id integer not null, |
|||
start_time timestamp not null, |
|||
end_time timestamp not null, |
|||
duration integer, |
|||
pep_process_story_id integer not null, |
|||
wf_process_state varchar(32), |
|||
take_rest_workday integer default 0, |
|||
take_rest_dayoff integer default 0, |
|||
take_rest_festivals integer default 0, |
|||
pay_workday integer default 0, |
|||
pay_dayoff integer default 0, |
|||
pay_festivals integer default 0, |
|||
compensate varchar(32), |
|||
reason varchar(1024), |
|||
constraint overtime_pk |
|||
primary key (id) |
|||
); |
|||
|
|||
comment on table overtime is '假勤之加班申请工作流一维展开数据'; |
|||
|
|||
comment on column overtime.take_rest_workday is '工作日调休'; |
|||
|
|||
comment on column overtime.take_rest_dayoff is '普假调休'; |
|||
|
|||
comment on column overtime.take_rest_festivals is '节假日调休'; |
|||
|
|||
comment on column overtime.pay_workday is '工作日补偿'; |
|||
|
|||
comment on column overtime.pay_dayoff is '普假补偿'; |
|||
|
|||
comment on column overtime.pay_festivals is '节假日补偿'; |
|||
|
|||
comment on column overtime.compensate is '补偿方式'; |
|||
|
|||
comment on column overtime.reason is '原因'; |
|||
|
|||
create unique index if not exists overtime_id_uindex |
|||
on overtime (id); |
|||
|
|||
create table if not exists overtime_day |
|||
( |
|||
id serial not null, |
|||
day date not null, |
|||
duration integer, |
|||
overtime_id integer, |
|||
constraint overtime_day_pk |
|||
primary key (id) |
|||
); |
|||
|
|||
create unique index if not exists overtime_day_id_uindex |
|||
on overtime_day (id); |
|||
|
|||
create table if not exists vacate_day |
|||
( |
|||
id serial not null, |
|||
day date not null, |
|||
duration integer not null, |
|||
vacate_id integer, |
|||
constraint vacate_day_pk |
|||
primary key (id) |
|||
); |
|||
|
|||
create unique index if not exists vacate_day_id_uindex |
|||
on vacate_day (id); |
|||
|
Loading…
Reference in new issue