|
@@ -1,3 +1,11 @@
|
|
|
|
|
+'''
|
|
|
|
|
+Author: deng.yinping deng.yinping@muchinfo.cn
|
|
|
|
|
+Date: 2024-12-06 15:02:12
|
|
|
|
|
+LastEditors: deng.yinping deng.yinping@muchinfo.cn
|
|
|
|
|
+LastEditTime: 2025-03-06 15:26:52
|
|
|
|
|
+FilePath: \MTP20_i18n_Tool\main.py
|
|
|
|
|
+Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
|
|
|
|
|
+'''
|
|
|
|
|
|
|
|
from src.common import CommonUti
|
|
from src.common import CommonUti
|
|
|
from src.tools import Tools
|
|
from src.tools import Tools
|
|
@@ -20,7 +28,8 @@ if __name__ == "__main__":
|
|
|
type = input("请选择生成类型 (excel, json): ")
|
|
type = input("请选择生成类型 (excel, json): ")
|
|
|
if platform == "pc":
|
|
if platform == "pc":
|
|
|
oem = "tss"
|
|
oem = "tss"
|
|
|
- inc_file = "20241127_tss_inc"
|
|
|
|
|
|
|
+ inc_file = "20250306_tss_inc"
|
|
|
|
|
+ print("inc_file:" + inc_file)
|
|
|
if type == "excel":
|
|
if type == "excel":
|
|
|
# 生成交易前端excel及增量
|
|
# 生成交易前端excel及增量
|
|
|
Tools.generate_excel(oem, inc_file, output_folder_pc, json_folder_pc, oem_json_folder_pc)
|
|
Tools.generate_excel(oem, inc_file, output_folder_pc, json_folder_pc, oem_json_folder_pc)
|
|
@@ -29,7 +38,8 @@ if __name__ == "__main__":
|
|
|
Tools.generate_json(oem, output_folder_pc, json_folder_pc, oem_json_folder_pc)
|
|
Tools.generate_json(oem, output_folder_pc, json_folder_pc, oem_json_folder_pc)
|
|
|
elif platform == "manage":
|
|
elif platform == "manage":
|
|
|
oem = "newmanage"
|
|
oem = "newmanage"
|
|
|
- inc_file = "20241201_newmanage_inc"
|
|
|
|
|
|
|
+ inc_file = "20241230_newmanage_inc"
|
|
|
|
|
+ print("inc_file:" + inc_file)
|
|
|
if type == "excel":
|
|
if type == "excel":
|
|
|
# 生成新管理后台excel及增量
|
|
# 生成新管理后台excel及增量
|
|
|
Tools.generate_excel(oem, inc_file, output_folder_manage, json_folder_manage, oem_json_folder_manage)
|
|
Tools.generate_excel(oem, inc_file, output_folder_manage, json_folder_manage, oem_json_folder_manage)
|