diff --git a/models/base/Const.go b/models/base/Const.go index 11f7687..33f97a7 100644 --- a/models/base/Const.go +++ b/models/base/Const.go @@ -138,4 +138,32 @@ const ( TRIGGER_FROM_BARCODE = "自主条码" TRIGGER_DEPEND_ON_UNITSN = "UNITSN" -) \ No newline at end of file +) + + +var YEAR_MAP = map[int]string{ + 2018: "J", + 2019: "K", + 2020: "L", + 2021: "M", + 2022: "N", + 2023: "P", + 2024: "R", + 2025: "S", + 2026: "T", +} + +var MONTH_MAP = map[int]string{ + 1: "1", + 2: "2", + 3: "3", + 4: "4", + 5: "5", + 6: "6", + 7: "7", + 8: "8", + 9: "9", + 10: "A", + 11: "B", + 12: "C", +} \ No newline at end of file