duhe
2025-04-25 16a061f9c284c607a0470f5c37a03652796c61d0
从金蝶云同步物料信息、生产订单到小诸葛
195个文件已修改
5个文件已添加
1469 ■■■■■ 已修改文件
APSM/bin/Release/APSM.dll 补丁 | 查看 | 原始文档 | blame | 历史
APSM/bin/Release/APSM.pdb 补丁 | 查看 | 原始文档 | blame | 历史
APSM/bin/Release/BLL.dll 补丁 | 查看 | 原始文档 | blame | 历史
APSM/bin/Release/BLL.pdb 补丁 | 查看 | 原始文档 | blame | 历史
APSM/bin/Release/BaseSet.dll 补丁 | 查看 | 原始文档 | blame | 历史
APSM/bin/Release/BaseSet.pdb 补丁 | 查看 | 原始文档 | blame | 历史
APSM/bin/Release/DAL.dll 补丁 | 查看 | 原始文档 | blame | 历史
APSM/bin/Release/DAL.pdb 补丁 | 查看 | 原始文档 | blame | 历史
APSM/bin/Release/DBUtility.dll 补丁 | 查看 | 原始文档 | blame | 历史
APSM/bin/Release/DBUtility.pdb 补丁 | 查看 | 原始文档 | blame | 历史
APSM/bin/Release/Model.dll 补丁 | 查看 | 原始文档 | blame | 历史
APSM/bin/Release/Model.pdb 补丁 | 查看 | 原始文档 | blame | 历史
APSM/bin/Release/PlanM.dll 补丁 | 查看 | 原始文档 | blame | 历史
APSM/bin/Release/PlanM.pdb 补丁 | 查看 | 原始文档 | blame | 历史
APSM/bin/Release/Pub_Class.dll 补丁 | 查看 | 原始文档 | blame | 历史
APSM/bin/Release/Pub_Class.pdb 补丁 | 查看 | 原始文档 | blame | 历史
APSM/bin/Release/Pub_Control.dll 补丁 | 查看 | 原始文档 | blame | 历史
APSM/bin/Release/Pub_Control.pdb 补丁 | 查看 | 原始文档 | blame | 历史
APSM/bin/Release/SQLHelper.dll 补丁 | 查看 | 原始文档 | blame | 历史
APSM/bin/Release/SQLHelper.pdb 补丁 | 查看 | 原始文档 | blame | 历史
APSM/bin/Release/WarM.dll 补丁 | 查看 | 原始文档 | blame | 历史
APSM/bin/Release/WarM.pdb 补丁 | 查看 | 原始文档 | blame | 历史
APSM/bin/Release/WorkM.dll 补丁 | 查看 | 原始文档 | blame | 历史
APSM/bin/Release/WorkM.pdb 补丁 | 查看 | 原始文档 | blame | 历史
BaseSet/bin/Release/BLL.dll 补丁 | 查看 | 原始文档 | blame | 历史
BaseSet/bin/Release/BLL.pdb 补丁 | 查看 | 原始文档 | blame | 历史
BaseSet/bin/Release/BaseSet.dll 补丁 | 查看 | 原始文档 | blame | 历史
BaseSet/bin/Release/BaseSet.pdb 补丁 | 查看 | 原始文档 | blame | 历史
BaseSet/bin/Release/DAL.dll 补丁 | 查看 | 原始文档 | blame | 历史
BaseSet/bin/Release/DAL.pdb 补丁 | 查看 | 原始文档 | blame | 历史
BaseSet/bin/Release/DBUtility.dll 补丁 | 查看 | 原始文档 | blame | 历史
BaseSet/bin/Release/DBUtility.pdb 补丁 | 查看 | 原始文档 | blame | 历史
BaseSet/bin/Release/Model.dll 补丁 | 查看 | 原始文档 | blame | 历史
BaseSet/bin/Release/Model.pdb 补丁 | 查看 | 原始文档 | blame | 历史
BaseSet/bin/Release/Pub_Class.dll 补丁 | 查看 | 原始文档 | blame | 历史
BaseSet/bin/Release/Pub_Class.pdb 补丁 | 查看 | 原始文档 | blame | 历史
BaseSet/bin/Release/Pub_Control.dll 补丁 | 查看 | 原始文档 | blame | 历史
BaseSet/bin/Release/Pub_Control.pdb 补丁 | 查看 | 原始文档 | blame | 历史
BaseSet/bin/Release/SQLHelper.dll 补丁 | 查看 | 原始文档 | blame | 历史
BaseSet/bin/Release/SQLHelper.pdb 补丁 | 查看 | 原始文档 | blame | 历史
DBUtility/obj/Release/DBUtility.csproj.AssemblyReference.cache 补丁 | 查看 | 原始文档 | blame | 历史
LMES/LMES.csproj 9 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
LMES/Program.cs 1 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
LMES/XiaoZhuGe_autoGetData.Designer.cs 61 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
LMES/XiaoZhuGe_autoGetData.cs 29 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
LMES/XiaoZhuGe_autoGetData.resx 120 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
Model/obj/Release/Model.csproj.AssemblyReference.cache 补丁 | 查看 | 原始文档 | blame | 历史
OAM/bin/Release/BLL.dll 补丁 | 查看 | 原始文档 | blame | 历史
OAM/bin/Release/BLL.pdb 补丁 | 查看 | 原始文档 | blame | 历史
OAM/bin/Release/BaseSet.dll 补丁 | 查看 | 原始文档 | blame | 历史
OAM/bin/Release/BaseSet.pdb 补丁 | 查看 | 原始文档 | blame | 历史
OAM/bin/Release/DAL.dll 补丁 | 查看 | 原始文档 | blame | 历史
OAM/bin/Release/DAL.pdb 补丁 | 查看 | 原始文档 | blame | 历史
OAM/bin/Release/DBUtility.dll 补丁 | 查看 | 原始文档 | blame | 历史
OAM/bin/Release/DBUtility.pdb 补丁 | 查看 | 原始文档 | blame | 历史
OAM/bin/Release/Model.dll 补丁 | 查看 | 原始文档 | blame | 历史
OAM/bin/Release/Model.pdb 补丁 | 查看 | 原始文档 | blame | 历史
OAM/bin/Release/OAM.dll 补丁 | 查看 | 原始文档 | blame | 历史
OAM/bin/Release/OAM.pdb 补丁 | 查看 | 原始文档 | blame | 历史
OAM/bin/Release/Pub_Class.dll 补丁 | 查看 | 原始文档 | blame | 历史
OAM/bin/Release/Pub_Class.pdb 补丁 | 查看 | 原始文档 | blame | 历史
OAM/bin/Release/Pub_Control.dll 补丁 | 查看 | 原始文档 | blame | 历史
OAM/bin/Release/Pub_Control.pdb 补丁 | 查看 | 原始文档 | blame | 历史
OAM/bin/Release/SQLHelper.dll 补丁 | 查看 | 原始文档 | blame | 历史
OAM/bin/Release/SQLHelper.pdb 补丁 | 查看 | 原始文档 | blame | 历史
PayM/bin/Debug/BLL.dll 补丁 | 查看 | 原始文档 | blame | 历史
PayM/bin/Debug/BLL.pdb 补丁 | 查看 | 原始文档 | blame | 历史
PayM/bin/Debug/DAL.dll 补丁 | 查看 | 原始文档 | blame | 历史
PayM/bin/Debug/DAL.pdb 补丁 | 查看 | 原始文档 | blame | 历史
PayM/bin/Debug/DBUtility.dll 补丁 | 查看 | 原始文档 | blame | 历史
PayM/bin/Debug/DBUtility.pdb 补丁 | 查看 | 原始文档 | blame | 历史
PayM/bin/Debug/Model.dll 补丁 | 查看 | 原始文档 | blame | 历史
PayM/bin/Debug/Model.pdb 补丁 | 查看 | 原始文档 | blame | 历史
PayM/bin/Debug/PayM.dll 补丁 | 查看 | 原始文档 | blame | 历史
PayM/bin/Debug/PayM.pdb 补丁 | 查看 | 原始文档 | blame | 历史
PayM/bin/Debug/Pub_Class.dll 补丁 | 查看 | 原始文档 | blame | 历史
PayM/bin/Debug/Pub_Class.pdb 补丁 | 查看 | 原始文档 | blame | 历史
PayM/bin/Debug/Pub_Control.dll 补丁 | 查看 | 原始文档 | blame | 历史
PayM/bin/Debug/Pub_Control.pdb 补丁 | 查看 | 原始文档 | blame | 历史
PayM/bin/Debug/SQLHelper.dll 补丁 | 查看 | 原始文档 | blame | 历史
PayM/bin/Debug/SQLHelper.pdb 补丁 | 查看 | 原始文档 | blame | 历史
PayM/bin/Release/BLL.dll 补丁 | 查看 | 原始文档 | blame | 历史
PayM/bin/Release/BLL.pdb 补丁 | 查看 | 原始文档 | blame | 历史
PayM/bin/Release/DAL.dll 补丁 | 查看 | 原始文档 | blame | 历史
PayM/bin/Release/DAL.pdb 补丁 | 查看 | 原始文档 | blame | 历史
PayM/bin/Release/DBUtility.dll 补丁 | 查看 | 原始文档 | blame | 历史
PayM/bin/Release/DBUtility.pdb 补丁 | 查看 | 原始文档 | blame | 历史
PayM/bin/Release/Model.dll 补丁 | 查看 | 原始文档 | blame | 历史
PayM/bin/Release/Model.pdb 补丁 | 查看 | 原始文档 | blame | 历史
PayM/bin/Release/PayM.dll 补丁 | 查看 | 原始文档 | blame | 历史
PayM/bin/Release/PayM.pdb 补丁 | 查看 | 原始文档 | blame | 历史
PayM/bin/Release/Pub_Class.dll 补丁 | 查看 | 原始文档 | blame | 历史
PayM/bin/Release/Pub_Class.pdb 补丁 | 查看 | 原始文档 | blame | 历史
PayM/bin/Release/Pub_Control.dll 补丁 | 查看 | 原始文档 | blame | 历史
PayM/bin/Release/Pub_Control.pdb 补丁 | 查看 | 原始文档 | blame | 历史
PayM/bin/Release/SQLHelper.dll 补丁 | 查看 | 原始文档 | blame | 历史
PayM/bin/Release/SQLHelper.pdb 补丁 | 查看 | 原始文档 | blame | 历史
PayM/obj/Debug/PayM.dll 补丁 | 查看 | 原始文档 | blame | 历史
PayM/obj/Debug/PayM.pdb 补丁 | 查看 | 原始文档 | blame | 历史
PayM/obj/Release/PayM.dll 补丁 | 查看 | 原始文档 | blame | 历史
PayM/obj/Release/PayM.pdb 补丁 | 查看 | 原始文档 | blame | 历史
PlanM/bin/Release/BLL.dll 补丁 | 查看 | 原始文档 | blame | 历史
PlanM/bin/Release/BLL.pdb 补丁 | 查看 | 原始文档 | blame | 历史
PlanM/bin/Release/DAL.dll 补丁 | 查看 | 原始文档 | blame | 历史
PlanM/bin/Release/DAL.pdb 补丁 | 查看 | 原始文档 | blame | 历史
PlanM/bin/Release/DBUtility.dll 补丁 | 查看 | 原始文档 | blame | 历史
PlanM/bin/Release/DBUtility.pdb 补丁 | 查看 | 原始文档 | blame | 历史
PlanM/bin/Release/Model.dll 补丁 | 查看 | 原始文档 | blame | 历史
PlanM/bin/Release/Model.pdb 补丁 | 查看 | 原始文档 | blame | 历史
PlanM/bin/Release/PlanM.dll 补丁 | 查看 | 原始文档 | blame | 历史
PlanM/bin/Release/PlanM.pdb 补丁 | 查看 | 原始文档 | blame | 历史
PlanM/bin/Release/Pub_Class.dll 补丁 | 查看 | 原始文档 | blame | 历史
PlanM/bin/Release/Pub_Class.pdb 补丁 | 查看 | 原始文档 | blame | 历史
PlanM/bin/Release/Pub_Control.dll 补丁 | 查看 | 原始文档 | blame | 历史
PlanM/bin/Release/Pub_Control.pdb 补丁 | 查看 | 原始文档 | blame | 历史
PlanM/bin/Release/SQLHelper.dll 补丁 | 查看 | 原始文档 | blame | 历史
PlanM/bin/Release/SQLHelper.pdb 补丁 | 查看 | 原始文档 | blame | 历史
ProM/bin/Release/BLL.dll 补丁 | 查看 | 原始文档 | blame | 历史
ProM/bin/Release/BLL.pdb 补丁 | 查看 | 原始文档 | blame | 历史
ProM/bin/Release/DAL.dll 补丁 | 查看 | 原始文档 | blame | 历史
ProM/bin/Release/DAL.pdb 补丁 | 查看 | 原始文档 | blame | 历史
ProM/bin/Release/DBUtility.dll 补丁 | 查看 | 原始文档 | blame | 历史
ProM/bin/Release/DBUtility.pdb 补丁 | 查看 | 原始文档 | blame | 历史
ProM/bin/Release/Model.dll 补丁 | 查看 | 原始文档 | blame | 历史
ProM/bin/Release/Model.pdb 补丁 | 查看 | 原始文档 | blame | 历史
ProM/bin/Release/ProM.dll 补丁 | 查看 | 原始文档 | blame | 历史
ProM/bin/Release/ProM.pdb 补丁 | 查看 | 原始文档 | blame | 历史
ProM/bin/Release/Pub_Class.dll 补丁 | 查看 | 原始文档 | blame | 历史
ProM/bin/Release/Pub_Class.pdb 补丁 | 查看 | 原始文档 | blame | 历史
ProM/bin/Release/Pub_Control.dll 补丁 | 查看 | 原始文档 | blame | 历史
ProM/bin/Release/Pub_Control.pdb 补丁 | 查看 | 原始文档 | blame | 历史
ProM/bin/Release/SQLHelper.dll 补丁 | 查看 | 原始文档 | blame | 历史
ProM/bin/Release/SQLHelper.pdb 补丁 | 查看 | 原始文档 | blame | 历史
SQLHelper/obj/Release/SQLHelper.csproj.AssemblyReference.cache 补丁 | 查看 | 原始文档 | blame | 历史
SelM/bin/Release/BLL.dll 补丁 | 查看 | 原始文档 | blame | 历史
SelM/bin/Release/BLL.pdb 补丁 | 查看 | 原始文档 | blame | 历史
SelM/bin/Release/DAL.dll 补丁 | 查看 | 原始文档 | blame | 历史
SelM/bin/Release/DAL.pdb 补丁 | 查看 | 原始文档 | blame | 历史
SelM/bin/Release/DBUtility.dll 补丁 | 查看 | 原始文档 | blame | 历史
SelM/bin/Release/DBUtility.pdb 补丁 | 查看 | 原始文档 | blame | 历史
SelM/bin/Release/Model.dll 补丁 | 查看 | 原始文档 | blame | 历史
SelM/bin/Release/Model.pdb 补丁 | 查看 | 原始文档 | blame | 历史
SelM/bin/Release/Pub_Class.dll 补丁 | 查看 | 原始文档 | blame | 历史
SelM/bin/Release/Pub_Class.pdb 补丁 | 查看 | 原始文档 | blame | 历史
SelM/bin/Release/Pub_Control.dll 补丁 | 查看 | 原始文档 | blame | 历史
SelM/bin/Release/Pub_Control.pdb 补丁 | 查看 | 原始文档 | blame | 历史
SelM/bin/Release/SQLHelper.dll 补丁 | 查看 | 原始文档 | blame | 历史
SelM/bin/Release/SQLHelper.pdb 补丁 | 查看 | 原始文档 | blame | 历史
SelM/bin/Release/SelM.dll 补丁 | 查看 | 原始文档 | blame | 历史
SelM/bin/Release/SelM.pdb 补丁 | 查看 | 原始文档 | blame | 历史
SelM/bin/Release/WarM.dll 补丁 | 查看 | 原始文档 | blame | 历史
SelM/bin/Release/WarM.pdb 补丁 | 查看 | 原始文档 | blame | 历史
SelM/bin/Release/WorkM.dll 补丁 | 查看 | 原始文档 | blame | 历史
SelM/bin/Release/WorkM.pdb 补丁 | 查看 | 原始文档 | blame | 历史
SyntacticSugar/obj/Debug/SyntacticSugar.csproj.AssemblyReference.cache 补丁 | 查看 | 原始文档 | blame | 历史
SyntacticSugar/obj/Debug/SyntacticSugar.csproj.FileListAbsolute.txt 1 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
WarM/bin/Release/BLL.dll 补丁 | 查看 | 原始文档 | blame | 历史
WarM/bin/Release/BLL.pdb 补丁 | 查看 | 原始文档 | blame | 历史
WarM/bin/Release/DAL.dll 补丁 | 查看 | 原始文档 | blame | 历史
WarM/bin/Release/DAL.pdb 补丁 | 查看 | 原始文档 | blame | 历史
WarM/bin/Release/DBUtility.dll 补丁 | 查看 | 原始文档 | blame | 历史
WarM/bin/Release/DBUtility.pdb 补丁 | 查看 | 原始文档 | blame | 历史
WarM/bin/Release/Model.dll 补丁 | 查看 | 原始文档 | blame | 历史
WarM/bin/Release/Model.pdb 补丁 | 查看 | 原始文档 | blame | 历史
WarM/bin/Release/Pub_Class.dll 补丁 | 查看 | 原始文档 | blame | 历史
WarM/bin/Release/Pub_Class.pdb 补丁 | 查看 | 原始文档 | blame | 历史
WarM/bin/Release/Pub_Control.dll 补丁 | 查看 | 原始文档 | blame | 历史
WarM/bin/Release/Pub_Control.pdb 补丁 | 查看 | 原始文档 | blame | 历史
WarM/bin/Release/SQLHelper.dll 补丁 | 查看 | 原始文档 | blame | 历史
WarM/bin/Release/SQLHelper.pdb 补丁 | 查看 | 原始文档 | blame | 历史
WarM/bin/Release/WarM.dll 补丁 | 查看 | 原始文档 | blame | 历史
WarM/bin/Release/WarM.pdb 补丁 | 查看 | 原始文档 | blame | 历史
WebAPI/Controllers/数据同步/小诸葛同步/XZG_DataSynchronizationController.cs 1195 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
WebAPI/Properties/PublishProfiles/FolderProfile1.pubxml.user 46 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
WebAPI/WebAPI.csproj 1 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
WebAPI/WebAPI.csproj.user 4 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
WorkM/bin/Release/BLL.dll 补丁 | 查看 | 原始文档 | blame | 历史
WorkM/bin/Release/BLL.pdb 补丁 | 查看 | 原始文档 | blame | 历史
WorkM/bin/Release/DAL.dll 补丁 | 查看 | 原始文档 | blame | 历史
WorkM/bin/Release/DAL.pdb 补丁 | 查看 | 原始文档 | blame | 历史
WorkM/bin/Release/DBUtility.dll 补丁 | 查看 | 原始文档 | blame | 历史
WorkM/bin/Release/DBUtility.pdb 补丁 | 查看 | 原始文档 | blame | 历史
WorkM/bin/Release/Model.dll 补丁 | 查看 | 原始文档 | blame | 历史
WorkM/bin/Release/Model.pdb 补丁 | 查看 | 原始文档 | blame | 历史
WorkM/bin/Release/Pub_Class.dll 补丁 | 查看 | 原始文档 | blame | 历史
WorkM/bin/Release/Pub_Class.pdb 补丁 | 查看 | 原始文档 | blame | 历史
WorkM/bin/Release/Pub_Control.dll 补丁 | 查看 | 原始文档 | blame | 历史
WorkM/bin/Release/Pub_Control.pdb 补丁 | 查看 | 原始文档 | blame | 历史
WorkM/bin/Release/SQLHelper.dll 补丁 | 查看 | 原始文档 | blame | 历史
WorkM/bin/Release/SQLHelper.pdb 补丁 | 查看 | 原始文档 | blame | 历史
WorkM/bin/Release/WarM.dll 补丁 | 查看 | 原始文档 | blame | 历史
WorkM/bin/Release/WarM.pdb 补丁 | 查看 | 原始文档 | blame | 历史
WorkM/bin/Release/WorkM.dll 补丁 | 查看 | 原始文档 | blame | 历史
WorkM/bin/Release/WorkM.pdb 补丁 | 查看 | 原始文档 | blame | 历史
sdk_dingding/TopSdk/bin/Debug/TopSdk.dll 补丁 | 查看 | 原始文档 | blame | 历史
sdk_dingding/TopSdk/bin/Debug/TopSdk.pdb 补丁 | 查看 | 原始文档 | blame | 历史
sdk_dingding/TopSdk/obj/Debug/TopSdk.csproj.AssemblyReference.cache 补丁 | 查看 | 原始文档 | blame | 历史
sdk_dingding/TopSdk/obj/Debug/TopSdk.csproj.FileListAbsolute.txt 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
sdk_dingding/TopSdk/obj/Debug/TopSdk.dll 补丁 | 查看 | 原始文档 | blame | 历史
sdk_dingding/TopSdk/obj/Debug/TopSdk.pdb 补丁 | 查看 | 原始文档 | blame | 历史
APSM/bin/Release/APSM.dll
Binary files differ
APSM/bin/Release/APSM.pdb
Binary files differ
APSM/bin/Release/BLL.dll
Binary files differ
APSM/bin/Release/BLL.pdb
Binary files differ
APSM/bin/Release/BaseSet.dll
Binary files differ
APSM/bin/Release/BaseSet.pdb
Binary files differ
APSM/bin/Release/DAL.dll
Binary files differ
APSM/bin/Release/DAL.pdb
Binary files differ
APSM/bin/Release/DBUtility.dll
Binary files differ
APSM/bin/Release/DBUtility.pdb
Binary files differ
APSM/bin/Release/Model.dll
Binary files differ
APSM/bin/Release/Model.pdb
Binary files differ
APSM/bin/Release/PlanM.dll
Binary files differ
APSM/bin/Release/PlanM.pdb
Binary files differ
APSM/bin/Release/Pub_Class.dll
Binary files differ
APSM/bin/Release/Pub_Class.pdb
Binary files differ
APSM/bin/Release/Pub_Control.dll
Binary files differ
APSM/bin/Release/Pub_Control.pdb
Binary files differ
APSM/bin/Release/SQLHelper.dll
Binary files differ
APSM/bin/Release/SQLHelper.pdb
Binary files differ
APSM/bin/Release/WarM.dll
Binary files differ
APSM/bin/Release/WarM.pdb
Binary files differ
APSM/bin/Release/WorkM.dll
Binary files differ
APSM/bin/Release/WorkM.pdb
Binary files differ
BaseSet/bin/Release/BLL.dll
Binary files differ
BaseSet/bin/Release/BLL.pdb
Binary files differ
BaseSet/bin/Release/BaseSet.dll
Binary files differ
BaseSet/bin/Release/BaseSet.pdb
Binary files differ
BaseSet/bin/Release/DAL.dll
Binary files differ
BaseSet/bin/Release/DAL.pdb
Binary files differ
BaseSet/bin/Release/DBUtility.dll
Binary files differ
BaseSet/bin/Release/DBUtility.pdb
Binary files differ
BaseSet/bin/Release/Model.dll
Binary files differ
BaseSet/bin/Release/Model.pdb
Binary files differ
BaseSet/bin/Release/Pub_Class.dll
Binary files differ
BaseSet/bin/Release/Pub_Class.pdb
Binary files differ
BaseSet/bin/Release/Pub_Control.dll
Binary files differ
BaseSet/bin/Release/Pub_Control.pdb
Binary files differ
BaseSet/bin/Release/SQLHelper.dll
Binary files differ
BaseSet/bin/Release/SQLHelper.pdb
Binary files differ
DBUtility/obj/Release/DBUtility.csproj.AssemblyReference.cache
Binary files differ
LMES/LMES.csproj
@@ -126,6 +126,12 @@
    </Compile>
    <Compile Include="Program.cs" />
    <Compile Include="Properties\AssemblyInfo.cs" />
    <Compile Include="XiaoZhuGe_autoGetData.cs">
      <SubType>Form</SubType>
    </Compile>
    <Compile Include="XiaoZhuGe_autoGetData.Designer.cs">
      <DependentUpon>XiaoZhuGe_autoGetData.cs</DependentUpon>
    </Compile>
    <Compile Include="Xt_Wait.cs">
      <SubType>Form</SubType>
    </Compile>
@@ -160,6 +166,9 @@
      <DependentUpon>Resources.resx</DependentUpon>
      <DesignTime>True</DesignTime>
    </Compile>
    <EmbeddedResource Include="XiaoZhuGe_autoGetData.resx">
      <DependentUpon>XiaoZhuGe_autoGetData.cs</DependentUpon>
    </EmbeddedResource>
    <EmbeddedResource Include="Xt_Wait.resx">
      <DependentUpon>Xt_Wait.cs</DependentUpon>
      <SubType>Designer</SubType>
LMES/Program.cs
@@ -16,6 +16,7 @@
            Application.EnableVisualStyles();
            Application.SetCompatibleTextRenderingDefault(false);
            //Application.Run(new DingDing_autoGetData());
            //Application.Run(new XiaoZhuGe_autoGetData());
            DBUtility.ClsPub.AppPath = System.Environment.CurrentDirectory;
LMES/XiaoZhuGe_autoGetData.Designer.cs
New file
@@ -0,0 +1,61 @@

namespace LMES
{
    partial class XiaoZhuGe_autoGetData
    {
        /// <summary>
        /// Required designer variable.
        /// </summary>
        private System.ComponentModel.IContainer components = null;
        /// <summary>
        /// Clean up any resources being used.
        /// </summary>
        /// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
        protected override void Dispose(bool disposing)
        {
            if (disposing && (components != null))
            {
                components.Dispose();
            }
            base.Dispose(disposing);
        }
        #region Windows Form Designer generated code
        /// <summary>
        /// Required method for Designer support - do not modify
        /// the contents of this method with the code editor.
        /// </summary>
        private void InitializeComponent()
        {
            this.button1 = new System.Windows.Forms.Button();
            this.SuspendLayout();
            //
            // button1
            //
            this.button1.Location = new System.Drawing.Point(35, 22);
            this.button1.Name = "button1";
            this.button1.Size = new System.Drawing.Size(105, 52);
            this.button1.TabIndex = 0;
            this.button1.Text = "button1";
            this.button1.UseVisualStyleBackColor = true;
            this.button1.Click += new System.EventHandler(this.button1_Click);
            //
            // XiaoZhuGe_autoGetData
            //
            this.AutoScaleDimensions = new System.Drawing.SizeF(9F, 18F);
            this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
            this.ClientSize = new System.Drawing.Size(800, 450);
            this.Controls.Add(this.button1);
            this.Name = "XiaoZhuGe_autoGetData";
            this.Text = "XiaoZhuGe_autoGetData";
            this.ResumeLayout(false);
        }
        #endregion
        private System.Windows.Forms.Button button1;
    }
}
LMES/XiaoZhuGe_autoGetData.cs
New file
@@ -0,0 +1,29 @@
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
using WebAPI.Controllers;
namespace LMES
{
    public partial class XiaoZhuGe_autoGetData : Form
    {
        public XiaoZhuGe_autoGetData()
        {
            InitializeComponent();
        }
        private void button1_Click(object sender, EventArgs e)
        {
            XZG_DataSynchronizationController t = new XZG_DataSynchronizationController();
            //t.getAddMaterAsync_1();
            t.icmoInfoSyncFromERPToXZG();
        }
    }
}
LMES/XiaoZhuGe_autoGetData.resx
New file
@@ -0,0 +1,120 @@
<?xml version="1.0" encoding="utf-8"?>
<root>
  <!--
    Microsoft ResX Schema
    Version 2.0
    The primary goals of this format is to allow a simple XML format
    that is mostly human readable. The generation and parsing of the
    various data types are done through the TypeConverter classes
    associated with the data types.
    Example:
    ... ado.net/XML headers & schema ...
    <resheader name="resmimetype">text/microsoft-resx</resheader>
    <resheader name="version">2.0</resheader>
    <resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
    <resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
    <data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
    <data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
    <data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
        <value>[base64 mime encoded serialized .NET Framework object]</value>
    </data>
    <data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
        <value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
        <comment>This is a comment</comment>
    </data>
    There are any number of "resheader" rows that contain simple
    name/value pairs.
    Each data row contains a name, and value. The row also contains a
    type or mimetype. Type corresponds to a .NET class that support
    text/value conversion through the TypeConverter architecture.
    Classes that don't support this are serialized and stored with the
    mimetype set.
    The mimetype is used for serialized objects, and tells the
    ResXResourceReader how to depersist the object. This is currently not
    extensible. For a given mimetype the value must be set accordingly:
    Note - application/x-microsoft.net.object.binary.base64 is the format
    that the ResXResourceWriter will generate, however the reader can
    read any of the formats listed below.
    mimetype: application/x-microsoft.net.object.binary.base64
    value   : The object must be serialized with
            : System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
            : and then encoded with base64 encoding.
    mimetype: application/x-microsoft.net.object.soap.base64
    value   : The object must be serialized with
            : System.Runtime.Serialization.Formatters.Soap.SoapFormatter
            : and then encoded with base64 encoding.
    mimetype: application/x-microsoft.net.object.bytearray.base64
    value   : The object must be serialized into a byte array
            : using a System.ComponentModel.TypeConverter
            : and then encoded with base64 encoding.
    -->
  <xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
    <xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
    <xsd:element name="root" msdata:IsDataSet="true">
      <xsd:complexType>
        <xsd:choice maxOccurs="unbounded">
          <xsd:element name="metadata">
            <xsd:complexType>
              <xsd:sequence>
                <xsd:element name="value" type="xsd:string" minOccurs="0" />
              </xsd:sequence>
              <xsd:attribute name="name" use="required" type="xsd:string" />
              <xsd:attribute name="type" type="xsd:string" />
              <xsd:attribute name="mimetype" type="xsd:string" />
              <xsd:attribute ref="xml:space" />
            </xsd:complexType>
          </xsd:element>
          <xsd:element name="assembly">
            <xsd:complexType>
              <xsd:attribute name="alias" type="xsd:string" />
              <xsd:attribute name="name" type="xsd:string" />
            </xsd:complexType>
          </xsd:element>
          <xsd:element name="data">
            <xsd:complexType>
              <xsd:sequence>
                <xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
                <xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
              </xsd:sequence>
              <xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
              <xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
              <xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
              <xsd:attribute ref="xml:space" />
            </xsd:complexType>
          </xsd:element>
          <xsd:element name="resheader">
            <xsd:complexType>
              <xsd:sequence>
                <xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
              </xsd:sequence>
              <xsd:attribute name="name" type="xsd:string" use="required" />
            </xsd:complexType>
          </xsd:element>
        </xsd:choice>
      </xsd:complexType>
    </xsd:element>
  </xsd:schema>
  <resheader name="resmimetype">
    <value>text/microsoft-resx</value>
  </resheader>
  <resheader name="version">
    <value>2.0</value>
  </resheader>
  <resheader name="reader">
    <value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
  </resheader>
  <resheader name="writer">
    <value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
  </resheader>
</root>
Model/obj/Release/Model.csproj.AssemblyReference.cache
Binary files differ
OAM/bin/Release/BLL.dll
Binary files differ
OAM/bin/Release/BLL.pdb
Binary files differ
OAM/bin/Release/BaseSet.dll
Binary files differ
OAM/bin/Release/BaseSet.pdb
Binary files differ
OAM/bin/Release/DAL.dll
Binary files differ
OAM/bin/Release/DAL.pdb
Binary files differ
OAM/bin/Release/DBUtility.dll
Binary files differ
OAM/bin/Release/DBUtility.pdb
Binary files differ
OAM/bin/Release/Model.dll
Binary files differ
OAM/bin/Release/Model.pdb
Binary files differ
OAM/bin/Release/OAM.dll
Binary files differ
OAM/bin/Release/OAM.pdb
Binary files differ
OAM/bin/Release/Pub_Class.dll
Binary files differ
OAM/bin/Release/Pub_Class.pdb
Binary files differ
OAM/bin/Release/Pub_Control.dll
Binary files differ
OAM/bin/Release/Pub_Control.pdb
Binary files differ
OAM/bin/Release/SQLHelper.dll
Binary files differ
OAM/bin/Release/SQLHelper.pdb
Binary files differ
PayM/bin/Debug/BLL.dll
Binary files differ
PayM/bin/Debug/BLL.pdb
Binary files differ
PayM/bin/Debug/DAL.dll
Binary files differ
PayM/bin/Debug/DAL.pdb
Binary files differ
PayM/bin/Debug/DBUtility.dll
Binary files differ
PayM/bin/Debug/DBUtility.pdb
Binary files differ
PayM/bin/Debug/Model.dll
Binary files differ
PayM/bin/Debug/Model.pdb
Binary files differ
PayM/bin/Debug/PayM.dll
Binary files differ
PayM/bin/Debug/PayM.pdb
Binary files differ
PayM/bin/Debug/Pub_Class.dll
Binary files differ
PayM/bin/Debug/Pub_Class.pdb
Binary files differ
PayM/bin/Debug/Pub_Control.dll
Binary files differ
PayM/bin/Debug/Pub_Control.pdb
Binary files differ
PayM/bin/Debug/SQLHelper.dll
Binary files differ
PayM/bin/Debug/SQLHelper.pdb
Binary files differ
PayM/bin/Release/BLL.dll
Binary files differ
PayM/bin/Release/BLL.pdb
Binary files differ
PayM/bin/Release/DAL.dll
Binary files differ
PayM/bin/Release/DAL.pdb
Binary files differ
PayM/bin/Release/DBUtility.dll
Binary files differ
PayM/bin/Release/DBUtility.pdb
Binary files differ
PayM/bin/Release/Model.dll
Binary files differ
PayM/bin/Release/Model.pdb
Binary files differ
PayM/bin/Release/PayM.dll
Binary files differ
PayM/bin/Release/PayM.pdb
Binary files differ
PayM/bin/Release/Pub_Class.dll
Binary files differ
PayM/bin/Release/Pub_Class.pdb
Binary files differ
PayM/bin/Release/Pub_Control.dll
Binary files differ
PayM/bin/Release/Pub_Control.pdb
Binary files differ
PayM/bin/Release/SQLHelper.dll
Binary files differ
PayM/bin/Release/SQLHelper.pdb
Binary files differ
PayM/obj/Debug/PayM.dll
Binary files differ
PayM/obj/Debug/PayM.pdb
Binary files differ
PayM/obj/Release/PayM.dll
Binary files differ
PayM/obj/Release/PayM.pdb
Binary files differ
PlanM/bin/Release/BLL.dll
Binary files differ
PlanM/bin/Release/BLL.pdb
Binary files differ
PlanM/bin/Release/DAL.dll
Binary files differ
PlanM/bin/Release/DAL.pdb
Binary files differ
PlanM/bin/Release/DBUtility.dll
Binary files differ
PlanM/bin/Release/DBUtility.pdb
Binary files differ
PlanM/bin/Release/Model.dll
Binary files differ
PlanM/bin/Release/Model.pdb
Binary files differ
PlanM/bin/Release/PlanM.dll
Binary files differ
PlanM/bin/Release/PlanM.pdb
Binary files differ
PlanM/bin/Release/Pub_Class.dll
Binary files differ
PlanM/bin/Release/Pub_Class.pdb
Binary files differ
PlanM/bin/Release/Pub_Control.dll
Binary files differ
PlanM/bin/Release/Pub_Control.pdb
Binary files differ
PlanM/bin/Release/SQLHelper.dll
Binary files differ
PlanM/bin/Release/SQLHelper.pdb
Binary files differ
ProM/bin/Release/BLL.dll
Binary files differ
ProM/bin/Release/BLL.pdb
Binary files differ
ProM/bin/Release/DAL.dll
Binary files differ
ProM/bin/Release/DAL.pdb
Binary files differ
ProM/bin/Release/DBUtility.dll
Binary files differ
ProM/bin/Release/DBUtility.pdb
Binary files differ
ProM/bin/Release/Model.dll
Binary files differ
ProM/bin/Release/Model.pdb
Binary files differ
ProM/bin/Release/ProM.dll
Binary files differ
ProM/bin/Release/ProM.pdb
Binary files differ
ProM/bin/Release/Pub_Class.dll
Binary files differ
ProM/bin/Release/Pub_Class.pdb
Binary files differ
ProM/bin/Release/Pub_Control.dll
Binary files differ
ProM/bin/Release/Pub_Control.pdb
Binary files differ
ProM/bin/Release/SQLHelper.dll
Binary files differ
ProM/bin/Release/SQLHelper.pdb
Binary files differ
SQLHelper/obj/Release/SQLHelper.csproj.AssemblyReference.cache
Binary files differ
SelM/bin/Release/BLL.dll
Binary files differ
SelM/bin/Release/BLL.pdb
Binary files differ
SelM/bin/Release/DAL.dll
Binary files differ
SelM/bin/Release/DAL.pdb
Binary files differ
SelM/bin/Release/DBUtility.dll
Binary files differ
SelM/bin/Release/DBUtility.pdb
Binary files differ
SelM/bin/Release/Model.dll
Binary files differ
SelM/bin/Release/Model.pdb
Binary files differ
SelM/bin/Release/Pub_Class.dll
Binary files differ
SelM/bin/Release/Pub_Class.pdb
Binary files differ
SelM/bin/Release/Pub_Control.dll
Binary files differ
SelM/bin/Release/Pub_Control.pdb
Binary files differ
SelM/bin/Release/SQLHelper.dll
Binary files differ
SelM/bin/Release/SQLHelper.pdb
Binary files differ
SelM/bin/Release/SelM.dll
Binary files differ
SelM/bin/Release/SelM.pdb
Binary files differ
SelM/bin/Release/WarM.dll
Binary files differ
SelM/bin/Release/WarM.pdb
Binary files differ
SelM/bin/Release/WorkM.dll
Binary files differ
SelM/bin/Release/WorkM.pdb
Binary files differ
SyntacticSugar/obj/Debug/SyntacticSugar.csproj.AssemblyReference.cache
Binary files differ
SyntacticSugar/obj/Debug/SyntacticSugar.csproj.FileListAbsolute.txt
@@ -14,3 +14,4 @@
D:\网站发布\后端代码\MES-WEB-API\MES-WEB-API\SyntacticSugar\obj\Debug\SyntacticSugar.csproj.CoreCompileInputs.cache
D:\网站发布\后端代码\MES-WEB-API\MES-WEB-API\SyntacticSugar\obj\Debug\SyntacticSugar.dll
D:\网站发布\后端代码\MES-WEB-API\MES-WEB-API\SyntacticSugar\obj\Debug\SyntacticSugar.pdb
D:\网站发布\后端代码\MES-WEB-API\MES-WEB-API\SyntacticSugar\obj\Debug\SyntacticSugar.csproj.AssemblyReference.cache
WarM/bin/Release/BLL.dll
Binary files differ
WarM/bin/Release/BLL.pdb
Binary files differ
WarM/bin/Release/DAL.dll
Binary files differ
WarM/bin/Release/DAL.pdb
Binary files differ
WarM/bin/Release/DBUtility.dll
Binary files differ
WarM/bin/Release/DBUtility.pdb
Binary files differ
WarM/bin/Release/Model.dll
Binary files differ
WarM/bin/Release/Model.pdb
Binary files differ
WarM/bin/Release/Pub_Class.dll
Binary files differ
WarM/bin/Release/Pub_Class.pdb
Binary files differ
WarM/bin/Release/Pub_Control.dll
Binary files differ
WarM/bin/Release/Pub_Control.pdb
Binary files differ
WarM/bin/Release/SQLHelper.dll
Binary files differ
WarM/bin/Release/SQLHelper.pdb
Binary files differ
WarM/bin/Release/WarM.dll
Binary files differ
WarM/bin/Release/WarM.pdb
Binary files differ
WebAPI/Controllers/Êý¾Ýͬ²½/СÖî¸ðͬ²½/XZG_DataSynchronizationController.cs
New file
@@ -0,0 +1,1195 @@
using Model;
using Newtonsoft.Json;
using Newtonsoft.Json.Linq;
using Pub_Class;
using System;
using System.Collections;
using System.Collections.Generic;
using System.Data;
using System.Data.SqlClient;
using System.Web.Http;
using WebAPI.Models;
using Tea;
using AlibabaCloud.SDK.Dingtalkyida_1_0.Models;
using AlibabaCloud.SDK.Dingtalkoauth2_1_0.Models;
using DingTalk.Api.Request;
using DingTalk.Api;
using DingTalk.Api.Response;
using System.Globalization;
using System.Linq;
using AlibabaCloud.SDK.Dingtalkworkflow_1_0.Models;
using System.Text.RegularExpressions;
using System.Net.Http;
using System;
using System.Collections.Generic;
using System.Net.Http;
using System.Threading.Tasks;
using System.Text;
using System.Security.Cryptography;
using System.Net.Http.Headers;
using System.Web;
namespace WebAPI.Controllers
{
    #region æ¨¡åž‹ç±»
    #region æœåŠ¡åœ°å€è¿”å›žç±»
    public class ServerAddressResponse
    {
        public string res;
        public string msg;
        public ServerAddressResponse_Data data;
    }
    public class ServerAddressResponse_Data
    {
        public string gofServerAdd;
    }
    #endregion
    #region éªŒè¯ç è¿”回类
    public class VerificationCodeResponse
    {
        public string res;
        public string msg;
        public VerificationCodeResponse_Data data;
    }
    public class VerificationCodeResponse_Data
    {
        public string VerificationCode;
    }
    #endregion
    #region Token返回类
    public class TokenResponse
    {
        public string res;
        public string msg;
        public TokenResponse_Data data;
    }
    public class TokenResponse_Data
    {
        public string key;
    }
    #endregion
    #region äº§å“æ¡£æ¡ˆ
    #region ç‰©æ–™åˆ—表
    public class MaterListResponse
    {
        public string code;
        public string msg;
        public MaterListResponse_Data data;
    }
    public class MaterListResponse_Data
    {
        public MaterListResponse_Data_Product[] product;
        public string updateTime;
        public string totalNumber;
        public string totalPage;
        public string pageIndex;
    }
    public class MaterListResponse_Data_Product
    {
        public string productName;              //产品名称
        public string productId;                //产品ID
        public string partnum;                  //产品编号
        public string cycleTime;                //循环周期
        public string spec;                     //规格型号
        public string weight;                   //产品重量
        public string headWeight;               //料头重量
        public string colorName;                //颜色名称
        public string comments;                 // å¤‡æ³¨
        public string lastUpdateTime;           //修改日期
    }
    #endregion
    #region ç‰©æ–™è¯¦ç»†ä¿¡æ¯
    public class MaterDetailResponse
    {
        public string code;
        public string msg;
        public MaterDetailResponse_Data data;
    }
    public class MaterDetailResponse_Data
    {
        public MaterDetailResponse_Data_Detail details;
        public string updateTime;                               //更新时间
        public string totalNumber;
        public string totalPage;
        public string pageIndex;
    }
    public class MaterDetailResponse_Data_Detail
    {
        public string productName;              //产品名称
        public string partNum;                  //产品编号
        public string weight;                   //产品重量
        public string headWeight;               //料头重量
        public string cycleTime;                //循环周期
        public string comments;                 // å¤‡æ³¨
        public string materialNo;               //材料编号
        public string cpNo;                     //色粉编号
        public string cpName;                   //色粉名称
        public string color;                    //颜色ID
        public string colorName;                //颜色名称
        public string unit;                     //单位
        public string partId;                   //产品ID
        public string productType;              //产品类型
        public string processWay;               //生产进度统计方式:0:数量 1:时长
        public string spec;                     //规格型号
        public string option1;                  //自定义字段1:用于记录金蝶云 ä¿®æ”¹æ—¶é—´
    }
    #endregion
    #region æ–°å¢žäº§å“ä¿¡æ¯
    public class MaterialResponse
    {
        public string code;
        public string msg;
        public MaterialResponse_Data data;
        public string productId;
    }
    public class MaterialResponse_Data
    {
        public string partId;               //产品ID
        public string productName;          //产品名称
        public string partNum;              //产品编码
        public string sepc;                 //规格型号
        public string weight;               //产品重量
        public string comments;             //备注
        public string cycleTime;            //周期
        public string headWeight;           //料头重量
        public string createDate;           //创建日期
        public string color;                //颜色ID
        public string colorName;            //颜色名称
        public string pieceWage;            //单价
    }
    public class Material
    {
        public string key;                  //密钥
        public string productName;          //产品名称
        public string partNum;              //产品编码
        public string sepc;                 //规格型号
        public string weight;               //产品重量
        public string headWeight;           //料头重量
        public string cycleTime;            //周期
        public string flightsPartnum;
        public string comments;             //备注
        public string colorName;            //颜色名称
        public string pieceWage;            //单价
        public string unit;                 //单位
        public string systemType;           //系统类型(IMM:注塑 ,CNC:精加工),不传默认注塑
        public string tdDocNo;              //工艺路线编号,多个使用,进行分开(CNC)
        public string progressWay;          //生产进度统计方式:0:数量 1:时长(CNC)
        public string groupId;              //分组id
        public string option1;              //自定义字段1:用于记录金蝶云 ä¿®æ”¹æ—¶é—´
    }
    #endregion
    #region ç¼–辑产品信息
    public class MaterialEditResponse
    {
        public string code;
        public string msg;
        public MaterialEditReponse_Data data;
        public string productId;
    }
    public class MaterialEditReponse_Data
    {
        public string partId;               //产品ID
        public string partNum;              //产品编码
        public string productName;          //产品名称
        public string sepc;                 //规格型号
        public string weight;               //产品重量
        public string comments;             //备注
        public string cycleTime;            //周期
        public string headWeight;           //料头重量
        public string lastUpdateTime;       //最后更新时间
        public string productType;          //产品类型
        public string createDate;           //创建日期
        public string colorName;            //颜色名称
        public string unit;                 //单位
        public string systemType;           //系统类型
    }
    public class MaterialEdit
    {
        public string key;                  //密钥
        public string productId;            //产品ID
        public string productName;          //产品名称
        public string partNum;              //产品编码
        public string sepc;                 //规格型号
        public string weight;               //产品重量
        public string headWeight;           //料头重量
        public string cycleTime;            //周期
        public string flightsPartnum;
        public string comments;             //备注
        public string colorName;            //颜色名称
        public string pieceWage;            //单价
        public string unit;                 //单位
        public string systemType;           //系统类型(IMM:注塑 ,CNC:精加工),不传默认注塑
        public string tdDocNo;              //工艺路线编号,多个使用,进行分开(CNC)
        public string progressWay;          //生产进度统计方式:0:数量 1:时长(CNC)
        public string groupId;              //分组id
        public string option1;              //自定义字段1:用于记录金蝶云 ä¿®æ”¹æ—¶é—´
    }
    #endregion
    #endregion
    #region ç”Ÿäº§è®¢å•
    #region ç”Ÿäº§è®¢å•列表
    public class ICMOListResponse
    {
        public string code;
        public string msg;
        public ICMOListResponse_Data data;
    }
    public class ICMOListResponse_Data
    {
        public ICMOListResponse_Data_Plan[] plan;
        public string pageIndex;
        public string pageCount;
    }
    public class ICMOListResponse_Data_Plan
    {
        public string planId;                   //计划单ID
        public string leave_qty;                //剩余数量
        public string productName;              //产品名称
        public string planNumber;               //计划单号
        public string planQty;                  //计划数量
        public string taskNo;                   //任务单号
        public string materialId;               //材料编号
        public string materialName;             //材料名称
        public string cpId;                     //色粉编号
        public string cpName;                   //色粉名称
        public string partId;                   //产品id
        public string partNum;                  //产品编号
        public string qty;                      //数量
        public string allotQty;                 //分配数量
        public string planStartDate;            //计划开始时间
        public string planFinishDate;           //计划完成时间
        public string comments;                 //备注
        public string createDate;               //创建日期
        public string spec;                     //规格型号
        public string urgent;                   //是否紧急
        public string partnum;                  //产品编号
        public string cycleTime;                //循环周期
    }
    #endregion
    #region ç”Ÿäº§è®¢å•详细信息
    public class ICMODetailResponse
    {
        public string code;
        public string msg;
        public ICMODetailResponse_Data[] data;
    }
    public class ICMODetailResponse_Data
    {
        public string planProductName;                      //产品名称
        public string planNumber;                           //计划单号
        public string planQty;                              //计划数量
        public string planStartTime;                        //计划开始时间
        public string planEndTime;                          //计划完成时间
        public string allottedQty;                          //分配数量
        public string planProductId;                        //产品id
        public string finishPercentage;                     //完成进度
        public string colorName;                            //颜色
        public string color;                                //颜色id
        public string levQty;                               //剩余数量
        public string planId;                               //计划单id
        public string createUserId;                         //创建人
        public string createUserName;                       //创建人名称
        public string customerName;                         //客户名称
        public string comments;                             //备注
        public string productName;                          //产品名称
        public string partNum;                              //产品编号(partNum或者productId二选一)
        public string urgent;                               //是否紧急 1:紧急
        public string productRemark;                        //产品备注
        public string option1;                              //自定义字段1:用于记录金蝶云 ä¿®æ”¹æ—¶é—´
    }
    #endregion
    #region æ–°å¢žç”Ÿäº§è®¢å•信息
    public class ICMOResponse
    {
        public string code;
        public string msg;
        public ICMOResponse_Data data;
    }
    public class ICMOResponse_Data
    {
        public string planId;                               //计划单id
        public string companyId;                            //公司的id
        public string planNo;                               //计划单号
        public string partId;               //产品ID
        public string qty;                              //计划数量
        public string customerName;                         //客户名称
        public string planStartTime;                        //计划开始时间
        public string planFinishDate;                          //计划完成时间
        public string allotQty;                         //分配数量
        public string finishQty;                        //完成数量
        public string comments;             //备注
        public string createDate;           //创建日期
        public string createUserId;                         //创建人
        public string createUserName;                       //创建人名称
        public string colorName;                            //颜色
        public string color;                                //颜色id
        public string productName;                          //产品名称
        public string partNum;                              //产品编号
        public string status;                               //状态
        public string urgent;                               //是否紧急 1:紧急
        public string option1;                              //自定义字段1:用于记录金蝶云 ä¿®æ”¹æ—¶é—´
    }
    public class ICMO
    {
        public string key;                  //密钥
        public string planNumber;           //计划单号
        public string planQty;              //计划数量
        public string partNum;              //产品编号
        public string planStartDate;        //计划开始时间
        public string planEndDate;          //计划结束时间
        public string comments;             //备注
        public string customerName;         //客户名称
        public string colorName;            //颜色名称
        public string spec;                 //型号规格
        public string cpNo;                 //色粉编号
        public string cpName;               //色粉名称
        public string materialNo;           //材料编号
        public string materialName;         //材料名称
        public string orderNumber;          //订单编号
        public string option1;              //自定义字段1:用于记录金蝶云 ä¿®æ”¹æ—¶é—´
    }
    #endregion
    #region ç¼–辑生产订单信息
    public class ICMOEditResponse
    {
        public string code;
        public string msg;
        public ICMOEditReponse_Data data;
    }
    public class ICMOEditReponse_Data
    {
        public string planId;                               //计划单id
        //public string companyId;                            //公司的id
        public string planNo;                               //计划单号
        public string partId;               //产品ID
        public string qty;                              //计划数量
        public string customerName;                         //客户名称
        public string planStartTime;                        //计划开始时间
        public string planFinishDate;                          //计划完成时间
        public string allotQty;                         //分配数量
        public string finishQty;                        //完成数量
        public string comments;             //备注
        public string createDate;           //创建日期
        public string createUserId;                         //创建人
        public string createUserName;                       //创建人名称
        public string colorName;                            //颜色
        public string color;                                //颜色id
        public string productName;                          //产品名称
        public string partNum;                              //产品编号
        public string status;                               //状态
        public string urgent;                               //是否紧急 1:紧急
        public string option1;                              //自定义字段1:用于记录金蝶云 ä¿®æ”¹æ—¶é—´
    }
    public class ICMOEdit
    {
        public string key;                  //密钥
        public string planId;               //计划单ID
        public string planNumber;           //计划单号
        public string planQty;              //计划数量
        public string partNum;              //产品编号
        public string planStartDate;        //计划开始时间
        public string planEndDate;          //计划结束时间
        public string comments;             //备注
        public string customerName;         //客户名称
        public string colorName;            //颜色名称
        public string spec;                 //型号规格
        public string cpNo;                 //色粉编号
        public string cpName;               //色粉名称
        public string materialNo;           //材料编号
        public string materialName;         //材料名称
        public string orderNumber;          //订单编号
        public string option1;              //自定义字段1:用于记录金蝶云 ä¿®æ”¹æ—¶é—´
    }
    #endregion
    #endregion
    #endregion
    #region å°è¯¸è‘›æ•°æ®åŒæ­¥
    public class XZG_DataSynchronizationController : ApiController
    {
        //获取系统参数
        Pub_Class.ClsXt_SystemParameter oSystemParameter = new Pub_Class.ClsXt_SystemParameter();
        public DBUtility.ClsPub.Enum_BillStatus BillStatus;
        private json objJsonResult = new json();
        SQLHelper.ClsCN oCN = new SQLHelper.ClsCN();
        DataSet ds;
        #region å°è¯¸è‘›æ•°æ®åŒæ­¥å¯†é’¥
        string APPID = "1f2e019a-ff51-f115-ce59-205606c72853";
        string APPPWD = "YYLM01A";
        #endregion
        #region èŽ·å–æœåŠ¡åœ°å€
        public async Task<string> getServerAddressAsync()
        {
            //请求地址
            string url = "https://js1.gomake.cn/kq_highnet_gof_connect/gof1.0/authorize";
            //请求参数
            Dictionary<string, string> queryParams = new Dictionary<string, string>
            {
                {"appid", APPID},
                {"ver", "1.0"},
                {"seq",DateTime.UtcNow - new DateTime(1970, 1, 1, 0, 0, 0, DateTimeKind.Utc) + "" }
            };
            //返回结果
            string responseBody = await DefinedRequestSendMethod.GetDataAsyncByGetRequest(url, queryParams);
            //将字符串转换为对象
            ServerAddressResponse serverAddressResponse = Newtonsoft.Json.JsonConvert.DeserializeObject<ServerAddressResponse>(responseBody);
            //获取对象中的数据
            string res = serverAddressResponse.data.gofServerAdd;
            return res;
        }
        #endregion
        #region èŽ·å–éªŒè¯ç 
        public async Task<string> getVerificationCodeAsync()
        {
            //请求地址
            string url = await getServerAddressAsync() + "/gof1.0/verify";
            //请求参数
            Dictionary<string, string> queryParams = new Dictionary<string, string>
            {
                {"appid", APPID},
                {"ver", "1.0"},
                {"seq",DateTime.UtcNow - new DateTime(1970, 1, 1, 0, 0, 0, DateTimeKind.Utc) + "" }
            };
            //返回结果
            string responseBody = await DefinedRequestSendMethod.GetDataAsyncByGetRequest(url, queryParams);
            //将字符串转换为对象
            VerificationCodeResponse verificationCodeResponse = Newtonsoft.Json.JsonConvert.DeserializeObject<VerificationCodeResponse>(responseBody);
            //获取对象中的数据
            string res = verificationCodeResponse.data.VerificationCode;
            return res;
        }
        #endregion
        #region èŽ·å–Token
        public async Task<string> getTokenAsync()
        {
            //请求地址
            string url = await getServerAddressAsync() + "/gof1.0/key";
            string verificationCode = await getVerificationCodeAsync();
            //请求参数
            Dictionary<string, string> queryParams = new Dictionary<string, string>
            {
                {"appid", APPID},
                {"ver", "1.0"},
                {"seq",DateTime.UtcNow - new DateTime(1970, 1, 1, 0, 0, 0, DateTimeKind.Utc) + "" },
                {"pwd", DefinedRequestSendMethod.GetMD5( DefinedRequestSendMethod.GetMD5(verificationCode) + DefinedRequestSendMethod.GetMD5(APPPWD))}
            };
            //返回结果
            string responseBody = await DefinedRequestSendMethod.GetDataAsyncByGetRequest(url, queryParams);
            //将字符串转换为对象
            TokenResponse tokenResponse = Newtonsoft.Json.JsonConvert.DeserializeObject<TokenResponse>(responseBody);
            //获取对象中的数据
            string res = tokenResponse.data.key;
            return res;
        }
        #endregion
        #region äº§å“æ¡£æ¡ˆ
        #region èŽ·å–äº§å“åˆ—è¡¨ä¿¡æ¯
        public async Task<MaterListResponse> getMaterListAsync()
        {
            //请求地址
            string url = await getServerAddressAsync() + "/v2/GET/getProductAll";
            string token = await getTokenAsync();
            //请求参数
            Dictionary<string, string> queryParams = new Dictionary<string, string>
            {
                {"key", token},
                {"page", "1"},
                {"sidx", "lastUpdateTime"},
                {"sord", "desc"},
                {"systemType","IMM" }
            };
            //返回结果
            string responseBody = await DefinedRequestSendMethod.GetDataAsyncByGetRequest(url, queryParams);
            //将字符串转换为对象
            MaterListResponse materListResponse = Newtonsoft.Json.JsonConvert.DeserializeObject<MaterListResponse>(responseBody);
            return materListResponse;
        }
        #endregion
        #region èŽ·å–äº§å“è¯¦ç»†ä¿¡æ¯
        public async Task<MaterDetailResponse> getMaterDetailAsync(string url, string key, string partNum)
        {
            //请求地址
            url = url + "/v2/GET/getProductDetails";
            //请求参数
            Dictionary<string, string> queryParams = new Dictionary<string, string>
            {
                {"key", key},
                {"partNum",partNum }
            };
            //返回结果
            string responseBody = await DefinedRequestSendMethod.GetDataAsyncByGetRequest(url, queryParams);
            //将字符串转换为对象
            MaterDetailResponse materDetailResponse = Newtonsoft.Json.JsonConvert.DeserializeObject<MaterDetailResponse>(responseBody);
            return materDetailResponse;
        }
        #endregion
        #region æ–°å¢žäº§å“
        public async Task<MaterialResponse> getAddMaterAsync(string url, Material material)
        {
            //请求地址
            url = url + "/v2/POST/AddProduct";
            //POST请求参数
            Dictionary<string, string> queryParams = new Dictionary<string, string>
            {
                {"key", DBUtility.ClsPub.isStrNull(material.key)},
                {"productName", DBUtility.ClsPub.isStrNull(material.productName)},
                {"partNum",DBUtility.ClsPub.isStrNull(material.partNum)},
                {"sepc", DBUtility.ClsPub.isStrNull(material.sepc)},
                {"weight", DBUtility.ClsPub.isStrNull(material.weight)},
                {"headWeight", DBUtility.ClsPub.isStrNull(material.headWeight)},
                {"cycletime", DBUtility.ClsPub.isStrNull(material.cycleTime)},
                {"fightsPartnum", DBUtility.ClsPub.isStrNull(material.flightsPartnum)},
                {"comments", DBUtility.ClsPub.isStrNull(material.comments)},
                {"colorName", DBUtility.ClsPub.isStrNull(material.colorName)},
                {"pieceWage", DBUtility.ClsPub.isStrNull(material.pieceWage)},
                {"unit", DBUtility.ClsPub.isStrNull(material.unit)},
                {"systemType", DBUtility.ClsPub.isStrNull(material.systemType)},
                {"tdDocNo", DBUtility.ClsPub.isStrNull(material.tdDocNo)},
                {"progressWay", DBUtility.ClsPub.isStrNull(material.progressWay)},
                {"groupId", DBUtility.ClsPub.isStrNull(material.groupId)},
                {"option1", DBUtility.ClsPub.isStrNull(material.option1)}
            };
            //POST请求Body数据
            var postData = new { };
            string json = Newtonsoft.Json.JsonConvert.SerializeObject(postData);
            //返回结果
            string responseBody = await DefinedRequestSendMethod.GetDataAsyncByPOSTRequest(url, queryParams, json);
            //将字符串转换为对象
            MaterialResponse materialResponse = Newtonsoft.Json.JsonConvert.DeserializeObject<MaterialResponse>(responseBody);
            return materialResponse;
        }
        #endregion
        #region ç¼–辑产品
        public async Task<MaterialEditResponse> getAddMaterEditAsync(string url, MaterialEdit material)
        {
            //请求地址
            url = url + "/v2/POST/UpdateProduct";
            //POST请求参数
            Dictionary<string, string> queryParams = new Dictionary<string, string>
            {
                {"key", DBUtility.ClsPub.isStrNull(material.key)},
                {"productId", DBUtility.ClsPub.isStrNull(material.productId)},
                {"productName", DBUtility.ClsPub.isStrNull(material.productName)},
                {"partNum",DBUtility.ClsPub.isStrNull(material.partNum)},
                {"cycletime", DBUtility.ClsPub.isStrNull(material.cycleTime)},
                {"sepc", DBUtility.ClsPub.isStrNull(material.sepc)},
                {"weight", DBUtility.ClsPub.isStrNull(material.weight)},
                {"headWeight", DBUtility.ClsPub.isStrNull(material.headWeight)},
                {"fightsPartnum", DBUtility.ClsPub.isStrNull(material.flightsPartnum)},
                {"comments", DBUtility.ClsPub.isStrNull(material.comments)},
                {"colorName", DBUtility.ClsPub.isStrNull(material.colorName)},
                {"unit", DBUtility.ClsPub.isStrNull(material.unit)},
                {"systemType", DBUtility.ClsPub.isStrNull(material.systemType)},
                {"tdDocNo", DBUtility.ClsPub.isStrNull(material.tdDocNo)},
                {"progressWay", DBUtility.ClsPub.isStrNull(material.progressWay)},
                {"groupId", DBUtility.ClsPub.isStrNull(material.groupId)},
                {"option1", DBUtility.ClsPub.isStrNull(material.option1)}
            };
            //POST请求Body数据
            var postData = new { };
            string json = Newtonsoft.Json.JsonConvert.SerializeObject(postData);
            //返回结果
            string responseBody = await DefinedRequestSendMethod.GetDataAsyncByPOSTRequest(url, queryParams, json);
            //将字符串转换为对象
            MaterialEditResponse materialEditResponse = Newtonsoft.Json.JsonConvert.DeserializeObject<MaterialEditResponse>(responseBody);
            return materialEditResponse;
        }
        #endregion
        #region äº§å“æ¡£æ¡ˆå®šæ—¶åŒæ­¥_从ERP到小诸葛
        public async Task<json> productInfoSyncFromERPToXZG()
        {
            try
            {
                //请求地址
                string url = await getServerAddressAsync();
                string token = await getTokenAsync();
                //获取金蝶云物料数据
                List<Material> materials = new List<Material>();
                string sql = @"select
                                a.FNUMBER HNumber
                                ,l.FNAME HName
                                ,isnull(l.FSPECIFICATION,'') HModel
                                ,'CLD-ERP导入' HRemark
                                ,unit.FNAME HUnitName
                                ,convert(varchar(100),a.FMODIFYDATE,20) HUpdateDate
                            from AIS20210811135644..T_BD_MATERIAL a with(nolock)
                            inner join AIS20210811135644..T_BD_MATERIAL_L l with(nolock) on a.FMATERIALID=l.FMATERIALID
                            inner join AIS20210811135644..T_BD_MATERIALSTOCK s with(nolock) on a.FMATERIALID=s.FMATERIALID
                            inner join AIS20210811135644..T_BD_Unit_L unit with(nolock) on isnull(s.FSTOREUNITID,0) = unit.FUNITID
                            Where l.FLOCALEID=2052
                            and unit.FLOCALEID = 2052
                            and a.FFORBIDSTATUS='A'
                            and
                                (
                                     convert(varchar(100),a.FCREATEDATE,23) >= convert(varchar(100),DATEADD(day,-7,getdate()),23)
                                     or
                                     convert(varchar(100),a.FMODIFYDATE,23) >= convert(varchar(100),DATEADD(day,-7,getdate()),23)
                                )";
                DataSet ds = oCN.RunProcReturn(sql, "AIS20210811135644..T_BD_MATERIAL");
                if (ds != null && ds.Tables.Count > 0)
                {
                    for(int i = 0; i < ds.Tables[0].Rows.Count; i++)
                    {
                        Material material = new Material();
                        material.key = token;
                        material.productName = DBUtility.ClsPub.isStrNull(ds.Tables[0].Rows[i]["HName"]);
                        material.partNum = DBUtility.ClsPub.isStrNull(ds.Tables[0].Rows[i]["HNumber"]);
                        material.sepc = DBUtility.ClsPub.isStrNull(ds.Tables[0].Rows[i]["HModel"]);
                        //material.weight = DBUtility.ClsPub.isStrNull(ds.Tables[0].Rows[i][""]);
                        //material.headWeight = DBUtility.ClsPub.isStrNull(ds.Tables[0].Rows[i][""]);
                        material.cycleTime = "1";
                        //material.flightsPartnum = "";
                        material.comments = DBUtility.ClsPub.isStrNull(ds.Tables[0].Rows[i]["HRemark"]);
                        //material.colorName = DBUtility.ClsPub.isStrNull(ds.Tables[0].Rows[i][""]);
                        //material.pieceWage = DBUtility.ClsPub.isStrNull(ds.Tables[0].Rows[i][""]);
                        material.unit = DBUtility.ClsPub.isStrNull(ds.Tables[0].Rows[i]["HUnitName"]);
                        material.systemType = "IMM";
                        material.tdDocNo = "";
                        //material.progressWay = "0";
                        //material.groupId = "";
                        material.option1 = DBUtility.ClsPub.isStrNull(ds.Tables[0].Rows[i]["HUpdateDate"]);
                        materials.Add(material);
                    }
                }
                else
                {
                    objJsonResult.code = "0";
                    objJsonResult.count = 0;
                    objJsonResult.Message = "金蝶云物料数据获取失败!";
                    objJsonResult.data = null;
                }
                //判断物料列表中的数据是否在小诸葛中已经存在且已经是最新数据。如果小诸葛中不存在则同步到小诸葛。如果小诸葛中存在,则覆盖数据。
                string errMsg = "";
                List<Material> materials_waitSync = new List<Material>();
                for(int i = 0; i < materials.Count; i++)
                {
                    string HMaterNumber = materials[i].partNum;
                    MaterDetailResponse materDetailResponse = await getMaterDetailAsync(url, token, HMaterNumber);
                    if (materDetailResponse.code == "1")
                    {
                        if (materDetailResponse.data.details.option1 != materials[i].option1)
                        {
                            MaterialEdit materialEdit = new MaterialEdit();
                            materialEdit.key = token;
                            materialEdit.productId = materDetailResponse.data.details.partId;
                            materialEdit.productName = DBUtility.ClsPub.isStrNull(materials[i].productName);
                            materialEdit.partNum = DBUtility.ClsPub.isStrNull(materials[i].partNum);
                            materialEdit.sepc = DBUtility.ClsPub.isStrNull(materials[i].sepc);
                            //materialEdit.weight = DBUtility.ClsPub.isStrNull(ds.Tables[0].Rows[i][""]);
                            //materialEdit.headWeight = DBUtility.ClsPub.isStrNull(ds.Tables[0].Rows[i][""]);
                            materialEdit.cycleTime = "1";
                            //materialEdit.flightsPartnum = "";
                            materialEdit.comments = DBUtility.ClsPub.isStrNull(materials[i].comments);
                            //materialEdit.colorName = DBUtility.ClsPub.isStrNull(ds.Tables[0].Rows[i][""]);
                            //materialEdit.pieceWage = DBUtility.ClsPub.isStrNull(ds.Tables[0].Rows[i][""]);
                            materialEdit.unit = DBUtility.ClsPub.isStrNull(materials[i].unit);
                            materialEdit.systemType = "IMM";
                            materialEdit.tdDocNo = "";
                            //materialEdit.progressWay = "";
                            //materialEdit.groupId = "";
                            materialEdit.option1 = DBUtility.ClsPub.isStrNull(materials[i].option1);
                            MaterialEditResponse materialEditResponse = await getAddMaterEditAsync(url, materialEdit);
                            if (materialEditResponse.code == "0")
                            {
                                errMsg += "【" + HMaterNumber + "】" + materialEditResponse.msg + ";";
                            }
                        }
                    }
                    else
                    {
                        MaterialResponse materialResponse = await getAddMaterAsync(url, materials[i]);
                        if (materialResponse.code == "0")
                        {
                            errMsg += "【" + HMaterNumber + "】" + materialResponse.msg + ";";
                        }
                    }
                }
                if (errMsg.Length > 0)
                {
                    objJsonResult.code = "0";
                    objJsonResult.count = 0;
                    objJsonResult.Message = "同步失败!" + errMsg;
                    objJsonResult.data = null;
                }
                objJsonResult.code = "1";
                objJsonResult.count = 1;
                objJsonResult.Message = "同步成功!" + errMsg;
                objJsonResult.data = null;
                return objJsonResult;
            }
            catch (Exception e)
            {
                objJsonResult.code = "0";
                objJsonResult.count = 0;
                objJsonResult.Message = "同步失败!" + e.Message;
                objJsonResult.data = null;
                return objJsonResult;
            }
        }
        #endregion
        #endregion
        #region ç”Ÿäº§è®¢å•
        #region èŽ·å–ç”Ÿäº§è®¢å•åˆ—è¡¨ä¿¡æ¯
        public async Task<ICMOListResponse> getICMOListAsync()
        {
            //请求地址
            string url = await getServerAddressAsync() + "/v2/GET/getPlanOrder";
            string token = await getTokenAsync();
            //请求参数
            Dictionary<string, string> queryParams = new Dictionary<string, string>
            {
                {"key", token},
                {"indexPage", "1"},
                {"planStartDate", DateTime.Now.AddDays(-1).ToString("yyyy-MM-dd")},
                {"planEndDate", DateTime.Now.ToString("yyyy-MM-dd HH:mm:ss")}
            };
            //返回结果
            string responseBody = await DefinedRequestSendMethod.GetDataAsyncByGetRequest(url, queryParams);
            //将字符串转换为对象
            ICMOListResponse icmoListResponse = Newtonsoft.Json.JsonConvert.DeserializeObject<ICMOListResponse>(responseBody);
            return icmoListResponse;
        }
        #endregion
        #region èŽ·å–ç”Ÿäº§è®¢å•è¯¦ç»†ä¿¡æ¯
        public async Task<ICMODetailResponse> getICMODetailAsync(string url, string key, string planNum)
        {
            try
            {
                //请求地址
                url = url + "/v2/GET/getPlanOrderDetail";
                //请求参数
                Dictionary<string, string> queryParams = new Dictionary<string, string>
            {
                {"key", key},
                {"planNum",planNum }
            };
                //返回结果
                string responseBody = await DefinedRequestSendMethod.GetDataAsyncByGetRequest(url, queryParams);
                //将字符串转换为对象
                ICMODetailResponse icmoDetailResponse = Newtonsoft.Json.JsonConvert.DeserializeObject<ICMODetailResponse>(responseBody);
                return icmoDetailResponse;
            }catch(Exception e)
            {
                return new ICMODetailResponse();
            }
        }
        #endregion
        #region æ–°å¢žç”Ÿäº§è®¢å•
        public async Task<ICMOResponse> getAddICMOAsync(string url, ICMO icmo)
        {
            //请求地址
            url = url + "/v2/POST/addPlan";
            //POST请求参数
            Dictionary<string, string> queryParams = new Dictionary<string, string>
            {
                {"key", DBUtility.ClsPub.isStrNull(icmo.key)},
                {"planNumber", DBUtility.ClsPub.isStrNull(icmo.planNumber)},
                {"planQty",DBUtility.ClsPub.isStrNull(icmo.planQty)},
                {"partNum", DBUtility.ClsPub.isStrNull(icmo.partNum)},
                {"planStartDate", DBUtility.ClsPub.isStrNull(icmo.planStartDate)},
                {"planEndDate", DBUtility.ClsPub.isStrNull(icmo.planEndDate)},
                {"comments", DBUtility.ClsPub.isStrNull(icmo.comments)},
                {"customerName", DBUtility.ClsPub.isStrNull(icmo.customerName)},
                {"colorName", DBUtility.ClsPub.isStrNull(icmo.colorName)},
                {"spec", DBUtility.ClsPub.isStrNull(icmo.spec)},
                {"cpNo", DBUtility.ClsPub.isStrNull(icmo.cpNo)},
                {"cpName", DBUtility.ClsPub.isStrNull(icmo.cpName)},
                {"materialNo", DBUtility.ClsPub.isStrNull(icmo.materialNo)},
                {"materialName", DBUtility.ClsPub.isStrNull(icmo.materialName)},
                {"orderNumber", DBUtility.ClsPub.isStrNull(icmo.orderNumber)},
                {"option1", DBUtility.ClsPub.isStrNull(icmo.option1)}
            };
            //POST请求Body数据
            var postData = new { };
            string json = Newtonsoft.Json.JsonConvert.SerializeObject(postData);
            //返回结果
            string responseBody = await DefinedRequestSendMethod.GetDataAsyncByPOSTRequest(url, queryParams, json);
            //将字符串转换为对象
            ICMOResponse icmoResponse = Newtonsoft.Json.JsonConvert.DeserializeObject<ICMOResponse>(responseBody);
            return icmoResponse;
        }
        #endregion
        #region ç¼–辑生产订单
        public async Task<ICMOEditResponse> getAddICMOEditAsync(string url, ICMOEdit icmo)
        {
            //请求地址
            url = url + "/v2/POST/updatePlanInfo";
            //POST请求参数
            Dictionary<string, string> queryParams = new Dictionary<string, string>
            {
                {"key", DBUtility.ClsPub.isStrNull(icmo.key)},
                {"planId", DBUtility.ClsPub.isStrNull(icmo.planId)},
                {"planNumber", DBUtility.ClsPub.isStrNull(icmo.planNumber)},
                {"planQty",DBUtility.ClsPub.isStrNull(icmo.planQty)},
                {"partNum", DBUtility.ClsPub.isStrNull(icmo.partNum)},
                {"planStartDate", DBUtility.ClsPub.isStrNull(icmo.planStartDate)},
                {"planEndDate", DBUtility.ClsPub.isStrNull(icmo.planEndDate)},
                {"comments", DBUtility.ClsPub.isStrNull(icmo.comments)},
                {"customerName", DBUtility.ClsPub.isStrNull(icmo.customerName)},
                {"colorName", DBUtility.ClsPub.isStrNull(icmo.colorName)},
                {"spec", DBUtility.ClsPub.isStrNull(icmo.spec)},
                {"cpNo", DBUtility.ClsPub.isStrNull(icmo.cpNo)},
                {"cpName", DBUtility.ClsPub.isStrNull(icmo.cpName)},
                {"materialNo", DBUtility.ClsPub.isStrNull(icmo.materialNo)},
                {"materialName", DBUtility.ClsPub.isStrNull(icmo.materialName)},
                {"orderNumber", DBUtility.ClsPub.isStrNull(icmo.orderNumber)},
                {"option1", DBUtility.ClsPub.isStrNull(icmo.option1)}
            };
            //POST请求Body数据
            var postData = new { };
            string json = Newtonsoft.Json.JsonConvert.SerializeObject(postData);
            //返回结果
            string responseBody = await DefinedRequestSendMethod.GetDataAsyncByPOSTRequest(url, queryParams, json);
            //将字符串转换为对象
            ICMOEditResponse icmoEditResponse = Newtonsoft.Json.JsonConvert.DeserializeObject<ICMOEditResponse>(responseBody);
            return icmoEditResponse;
        }
        #endregion
        #region ç”Ÿäº§è®¢å•定时同步_从ERP到小诸葛
        public async Task<json> icmoInfoSyncFromERPToXZG()
        {
            try
            {
                //请求地址
                string url = await getServerAddressAsync();
                string token = await getTokenAsync();
                //获取金蝶云生产订单数据
                List<ICMO> icmos = new List<ICMO>();
                string sql = @"select
                                cast(a.FBILLNO as varchar(100)) + '_' + cast(b.FSEQ as varchar(10)) è®¡åˆ’单号
                                ,cast(b.FQTY as int) è®¡åˆ’数量
                                ,m.FNUMBER äº§å“ç¼–号
                                ,convert(varchar(100),b.FPLANSTARTDATE,20) è®¡åˆ’开工日期
                                ,convert(varchar(100),b.FPLANFINISHDATE,20) è®¡åˆ’完工日期
                                ,'ERP导入' å¤‡æ³¨
                                ,'' å®¢æˆ·åç§°
                                ,'' é¢œè‰²
                                ,isnull(m_l.FSPECIFICATION,'') åž‹å·è§„æ ¼
                                ,'' è‰²ç²‰ç¼–号
                                ,'' è‰²ç²‰åç§°
                                ,'' ææ–™ç¼–号
                                ,'' ææ–™åç§°
                                ,a.FBILLNO è®¢å•编号
                                ,ISNULL(convert(varchar(100),c.FSTARTDATE ,20),'') å¼€å·¥æ—¥æœŸ
                                ,convert(varchar(100),a.FMODIFYDATE,20) ä¿®æ”¹æ—¥æœŸ
                            from AIS20210811135644..T_PRD_MO as a
                            inner join AIS20210811135644..T_PRD_MOENTRY as b with(nolock) on a.FID = b.FID
                            inner join AIS20210811135644..T_PRD_MOENTRY_A as c with(nolock) on b.FID = c.FID and b.FEntryID = c.FEntryID
                            inner join AIS20210811135644..T_BD_MATERIAL as m with(nolock) on b.FMATERIALID = m.FMATERIALID
                            inner join AIS20210811135644..T_BD_MATERIAL_L as m_l with(nolock) on m.FMATERIALID=m_l.FMATERIALID
                            where m_l.FLOCALEID=2052
                            and isnull(a.FAPPROVERID,0)<> 0                --已经审核
                            and isnull(c.fstatus,0) in (4)                    --业务状态(1:计划;2:计划确认;3:下达;4:开工;5:完工;6:结案)
                            and
                                (
                                convert(varchar(100),a.fmodifydate,23) >= convert(varchar(100),dateadd(day,-7,getdate()),23)
                                or
                                convert(varchar(100),c.fstartdate ,23) >= convert(varchar(100),dateadd(day,-7,getdate()),23)
                                )
                            and cast(a.FBILLNO as varchar(100)) + '_' + cast(b.FSEQ as varchar(10)) = 'MO000269_1'";
                DataSet ds = oCN.RunProcReturn(sql, "AIS20210811135644..T_PRD_MO");
                if (ds != null && ds.Tables.Count > 0)
                {
                    for (int i = 0; i < ds.Tables[0].Rows.Count; i++)
                    {
                        ICMO icmo = new ICMO();
                        icmo.key = token;
                        icmo.planNumber = DBUtility.ClsPub.isStrNull(ds.Tables[0].Rows[i]["计划单号"]);
                        icmo.planQty = DBUtility.ClsPub.isStrNull(ds.Tables[0].Rows[i]["计划数量"]);
                        icmo.partNum = DBUtility.ClsPub.isStrNull(ds.Tables[0].Rows[i]["产品编号"]);
                        icmo.planStartDate = DBUtility.ClsPub.isStrNull(ds.Tables[0].Rows[i]["计划开工日期"]);
                        icmo.planEndDate = DBUtility.ClsPub.isStrNull(ds.Tables[0].Rows[i]["计划完工日期"]);
                        icmo.comments = DBUtility.ClsPub.isStrNull(ds.Tables[0].Rows[i]["备注"]);
                        icmo.customerName = DBUtility.ClsPub.isStrNull(ds.Tables[0].Rows[i]["客户名称"]);
                        icmo.colorName = DBUtility.ClsPub.isStrNull(ds.Tables[0].Rows[i]["颜色"]);
                        icmo.spec = DBUtility.ClsPub.isStrNull(ds.Tables[0].Rows[i]["型号规格"]);
                        icmo.cpNo = DBUtility.ClsPub.isStrNull(ds.Tables[0].Rows[i]["色粉编号"]);
                        icmo.cpName = DBUtility.ClsPub.isStrNull(ds.Tables[0].Rows[i]["色粉名称"]);
                        icmo.materialNo = DBUtility.ClsPub.isStrNull(ds.Tables[0].Rows[i]["材料编号"]);
                        icmo.materialName = DBUtility.ClsPub.isStrNull(ds.Tables[0].Rows[i]["材料名称"]);
                        icmo.orderNumber = DBUtility.ClsPub.isStrNull(ds.Tables[0].Rows[i]["订单编号"]);
                        icmo.option1 = DBUtility.ClsPub.isStrNull(ds.Tables[0].Rows[i]["修改日期"]);
                        icmos.Add(icmo);
                    }
                }
                else
                {
                    objJsonResult.code = "0";
                    objJsonResult.count = 0;
                    objJsonResult.Message = "金蝶云生产订单数据获取失败!";
                    objJsonResult.data = null;
                }
                //判断生产订单列表中的数据是否在小诸葛中已经存在且已经是最新数据。如果小诸葛中不存在则同步到小诸葛。如果小诸葛中存在,则覆盖数据。
                string errMsg = "";
                for (int i = 0; i < icmos.Count; i++)
                {
                    string HPlanNumber = icmos[i].planNumber;
                    ICMODetailResponse icmoDetailResponse = await getICMODetailAsync(url, token, HPlanNumber);
                    if (icmoDetailResponse.code == "1")
                    {
                        if (icmoDetailResponse.data[0].option1 != icmos[i].option1)
                        {
                            ICMOEdit icmoEdit = new ICMOEdit();
                            icmoEdit.key = token;
                            icmoEdit.planId = icmoDetailResponse.data[0].planId;
                            icmoEdit.planNumber = DBUtility.ClsPub.isStrNull(icmos[i].planNumber);
                            icmoEdit.planQty = DBUtility.ClsPub.isStrNull(icmos[i].planQty);
                            icmoEdit.partNum = DBUtility.ClsPub.isStrNull(icmos[i].partNum);
                            icmoEdit.planStartDate = DBUtility.ClsPub.isStrNull(icmos[i].planStartDate);
                            icmoEdit.planEndDate = DBUtility.ClsPub.isStrNull(icmos[i].planEndDate);
                            icmoEdit.comments = DBUtility.ClsPub.isStrNull(icmos[i].comments);
                            icmoEdit.customerName = DBUtility.ClsPub.isStrNull(icmos[i].customerName);
                            icmoEdit.colorName = DBUtility.ClsPub.isStrNull(icmos[i].colorName);
                            icmoEdit.spec = DBUtility.ClsPub.isStrNull(icmos[i].spec);
                            icmoEdit.cpName = DBUtility.ClsPub.isStrNull(icmos[i].cpName);
                            icmoEdit.materialNo = DBUtility.ClsPub.isStrNull(icmos[i].materialNo);
                            icmoEdit.materialName = DBUtility.ClsPub.isStrNull(icmos[i].materialName);
                            icmoEdit.orderNumber = DBUtility.ClsPub.isStrNull(icmos[i].orderNumber);
                            icmoEdit.option1 = DBUtility.ClsPub.isStrNull(icmos[i].option1);
                            ICMOEditResponse icmoEditResponse = await getAddICMOEditAsync(url, icmoEdit);
                            if (icmoEditResponse.code == "0")
                            {
                                errMsg += "【" + HPlanNumber + "】" + icmoEditResponse.msg + ";";
                            }
                        }
                    }
                    else
                    {
                        ICMOResponse icmoResponse = await getAddICMOAsync(url, icmos[i]);
                        if (icmoResponse.code == "0")
                        {
                            errMsg += "【" + HPlanNumber + "】" + icmoResponse.msg + ";";
                        }
                    }
                }
                if (errMsg.Length > 0)
                {
                    objJsonResult.code = "0";
                    objJsonResult.count = 0;
                    objJsonResult.Message = "同步失败!" + errMsg;
                    objJsonResult.data = null;
                }
                objJsonResult.code = "1";
                objJsonResult.count = 1;
                objJsonResult.Message = "同步成功!" + errMsg;
                objJsonResult.data = null;
                return objJsonResult;
            }
            catch (Exception e)
            {
                objJsonResult.code = "0";
                objJsonResult.count = 0;
                objJsonResult.Message = "同步失败!" + e.Message;
                objJsonResult.data = null;
                return objJsonResult;
            }
        }
        #endregion
        #endregion
    }
    #endregion
}
#region HTTP请求类
class DefinedRequestSendMethod
{
    #region Get请求
    public static async Task<string> GetDataAsyncByGetRequest(string url, Dictionary<string, string> queryParams)
    {
        //返回字符串
        string responseBody = "";
        using (HttpClient client = new HttpClient())
        {
            string apiUrl = url + ToQueryString(queryParams);
            HttpResponseMessage response = await client.GetAsync(apiUrl);
            response.EnsureSuccessStatusCode();
            responseBody = await response.Content.ReadAsStringAsync();
        }
        return responseBody;
    }
    #endregion
    #region POST请求
    public static async Task<string> GetDataAsyncByPOSTRequest(string url, Dictionary<string, string> queryParams, string json)
    {
        //返回字符串
        string responseBody = "";
        using (HttpClient client = new HttpClient())
        {
            //准备链接
            url = url + ToQueryString(queryParams);
            // å‡†å¤‡POST数据
            var content = new StringContent(json, Encoding.UTF8, "application/json");
            // å‘送POST请求
            HttpResponseMessage response = await client.PostAsync(url, content);
            response.EnsureSuccessStatusCode();
            responseBody = await response.Content.ReadAsStringAsync();
        }
        return responseBody;
    }
    #endregion
    #region å‚数处理
    static string ToQueryString(Dictionary<string, string> parameters)
    {
        string paramsStr = "";
        foreach (var param in parameters)
        {
            if (paramsStr.Length == 0)
            {
               paramsStr += param.Key + "=" + param.Value;
            }
            else
            {
                paramsStr += "&" + param.Key + "=" + param.Value;
            }
        }
        return "?" + paramsStr;
        //var query = System.Web.HttpUtility.ParseQueryString(string.Empty);
        //foreach (var param in parameters)
        //{
        //    query[param.Key] = param.Value;
        //}
        //return "?" + query.ToString();
    }
    #endregion
    #region MD5加密
    public static string GetMD5(string input)
    {
        using (MD5 md5 = MD5.Create())
        {
            byte[] inputBytes = Encoding.UTF8.GetBytes(input);
            byte[] hashBytes = md5.ComputeHash(inputBytes);
            StringBuilder sb = new StringBuilder();
            for (int i = 0; i < hashBytes.Length; i++)
            {
                sb.Append(hashBytes[i].ToString("x2")); // "x2"表示小写的16进制格式
            }
            return sb.ToString();
        }
    }
    #endregion
}
#endregion
WebAPI/Properties/PublishProfiles/FolderProfile1.pubxml.user
@@ -4,7 +4,7 @@
-->
<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
  <PropertyGroup>
    <History>True|2025-04-18T05:54:27.4746888Z;False|2025-04-18T13:53:45.2296528+08:00;False|2025-04-18T13:53:29.7890054+08:00;False|2025-04-18T13:53:23.5770264+08:00;False|2025-04-18T13:53:18.0054565+08:00;True|2025-04-18T13:51:28.8449212+08:00;True|2025-04-18T13:24:50.1548645+08:00;True|2025-04-18T13:17:41.8781012+08:00;True|2025-04-18T13:07:11.4243777+08:00;True|2025-04-18T13:03:51.8972162+08:00;True|2025-04-18T12:59:24.3674835+08:00;True|2025-04-18T12:54:51.7546338+08:00;True|2025-04-18T12:51:54.3531129+08:00;False|2025-04-18T12:51:42.0198325+08:00;True|2025-04-18T09:11:06.5087174+08:00;False|2025-04-18T09:10:56.3178793+08:00;True|2025-04-17T11:20:10.9926709+08:00;True|2025-04-17T11:01:50.8902725+08:00;True|2025-04-17T10:53:40.1335186+08:00;True|2025-04-17T10:50:33.6109824+08:00;True|2025-04-17T10:31:35.1972930+08:00;True|2025-04-17T10:27:13.0718237+08:00;False|2025-04-17T10:27:05.4243104+08:00;True|2025-04-17T10:21:17.1039399+08:00;True|2025-04-17T10:17:30.5257362+08:00;True|2025-04-17T09:04:16.5959099+08:00;False|2025-04-17T09:04:08.5643163+08:00;True|2025-04-16T16:50:10.4001088+08:00;True|2025-04-16T16:37:30.0492166+08:00;False|2025-04-16T16:37:20.9070255+08:00;True|2025-04-15T14:55:05.4396103+08:00;True|2025-04-15T14:48:11.6729078+08:00;True|2025-04-15T14:18:53.0805178+08:00;True|2025-04-15T13:48:11.5252569+08:00;True|2025-04-15T13:37:14.4720847+08:00;True|2025-04-15T11:19:10.1766439+08:00;True|2025-04-15T11:16:15.9677953+08:00;True|2025-04-15T11:01:18.4337723+08:00;False|2025-04-15T11:01:06.9132978+08:00;True|2025-04-15T10:55:53.9650790+08:00;False|2025-04-15T10:55:45.2763971+08:00;True|2025-04-09T11:24:21.9466324+08:00;True|2025-04-09T11:14:25.0603792+08:00;True|2025-04-09T11:03:10.0252216+08:00;False|2025-04-09T11:03:01.0837419+08:00;True|2025-04-08T15:00:39.6673341+08:00;True|2025-04-08T14:55:20.5714659+08:00;True|2025-04-08T14:41:57.1855163+08:00;True|2025-04-08T13:31:03.4382266+08:00;True|2025-04-08T11:20:45.0300955+08:00;True|2025-04-08T10:59:59.6997668+08:00;False|2025-04-08T10:59:53.2827828+08:00;True|2025-04-08T10:48:17.4232977+08:00;False|2025-04-08T10:48:09.5363986+08:00;True|2025-04-03T13:53:30.6471699+08:00;False|2025-04-03T13:53:22.8762999+08:00;True|2025-04-02T12:47:31.3375226+08:00;False|2025-04-02T12:47:24.2095072+08:00;True|2025-04-01T16:29:52.7465502+08:00;False|2025-04-01T16:29:33.7844649+08:00;True|2025-03-28T16:22:29.8664470+08:00;True|2025-03-28T15:53:12.1106288+08:00;False|2025-03-28T15:53:01.4674242+08:00;True|2025-03-28T13:34:17.5506822+08:00;False|2025-03-28T13:34:09.5853308+08:00;True|2025-03-26T12:42:08.9630741+08:00;True|2025-03-26T12:40:07.7144561+08:00;True|2025-03-26T12:30:37.3503331+08:00;True|2025-03-26T12:26:47.5061658+08:00;True|2025-03-26T10:54:47.2556717+08:00;True|2025-03-26T10:49:59.7897145+08:00;True|2025-03-26T10:47:02.6195828+08:00;False|2025-03-26T10:46:54.9421244+08:00;True|2025-03-26T01:10:19.1227462+08:00;True|2025-03-26T01:00:04.3583740+08:00;True|2025-03-26T00:38:57.4757071+08:00;True|2025-03-26T00:28:24.9370188+08:00;True|2025-03-26T00:04:05.4507425+08:00;True|2025-03-25T23:06:56.2284828+08:00;False|2025-03-25T23:06:46.7023339+08:00;True|2025-03-25T22:57:08.3127897+08:00;False|2025-03-25T22:55:05.8028873+08:00;False|2025-03-25T22:54:51.2053101+08:00;False|2025-03-04T11:23:36.7757604+08:00;True|2025-02-12T14:05:06.1068587+08:00;False|2025-02-12T14:03:43.3961038+08:00;True|2025-01-18T09:42:50.3629397+08:00;True|2025-01-18T09:39:16.1773412+08:00;True|2025-01-17T11:15:39.4147082+08:00;False|2025-01-17T11:15:09.0033498+08:00;True|2025-01-14T10:20:31.1504093+08:00;False|2025-01-14T10:19:59.1429931+08:00;True|2025-01-10T16:29:54.8671377+08:00;False|2025-01-10T16:29:05.0650370+08:00;True|2025-01-04T14:30:56.5041884+08:00;True|2025-01-04T14:26:52.7448761+08:00;True|2025-01-04T14:23:27.9956967+08:00;True|2025-01-04T14:12:46.2410106+08:00;True|2025-01-04T14:09:33.1727375+08:00;True|2025-01-04T14:07:16.3373347+08:00;False|2025-01-04T14:06:33.4982458+08:00;True|2024-12-31T13:36:55.7394582+08:00;False|2024-12-31T13:35:58.6205647+08:00;True|2024-12-28T15:59:32.1394796+08:00;True|2024-12-28T13:48:20.4283118+08:00;True|2024-12-28T13:43:39.8159616+08:00;True|2024-12-28T13:23:58.4183285+08:00;True|2024-12-28T13:19:13.0583263+08:00;True|2024-12-28T13:12:03.2648502+08:00;True|2024-12-28T13:04:22.6803754+08:00;False|2024-12-28T13:03:56.5993252+08:00;True|2024-12-28T10:50:06.1597154+08:00;True|2024-12-28T10:27:58.7075320+08:00;False|2024-12-28T10:27:09.9450571+08:00;True|2024-12-24T10:52:25.3403292+08:00;False|2024-12-24T10:51:41.8017370+08:00;True|2024-12-23T15:45:21.7729300+08:00;True|2024-12-23T15:31:38.8549407+08:00;True|2024-12-23T15:20:26.2361671+08:00;True|2024-12-23T13:40:03.2774116+08:00;False|2024-12-23T13:39:39.8510770+08:00;True|2024-12-23T13:11:15.3232454+08:00;True|2024-12-23T13:05:43.3057458+08:00;True|2024-12-16T10:57:23.0694936+08:00;True|2024-12-16T10:03:48.1938775+08:00;True|2024-12-16T09:38:57.3052219+08:00;False|2024-12-16T09:38:31.7097388+08:00;True|2024-12-16T09:25:38.3751534+08:00;False|2024-12-16T09:24:19.3952981+08:00;True|2024-12-11T22:41:13.2881405+08:00;False|2024-12-11T22:40:26.3239379+08:00;True|2024-12-11T22:14:41.4392948+08:00;True|2024-12-11T22:03:03.6823866+08:00;True|2024-12-11T21:48:51.7423044+08:00;False|2024-12-11T21:47:55.6236616+08:00;True|2024-12-02T14:57:10.0773563+08:00;False|2024-12-02T14:56:35.6440156+08:00;True|2024-11-26T08:55:53.9125170+08:00;True|2024-11-26T08:24:31.3112433+08:00;False|2024-11-26T08:23:46.0894924+08:00;True|2024-11-20T10:16:03.7893118+08:00;False|2024-11-20T10:15:23.2632533+08:00;True|2024-11-20T09:06:55.2799108+08:00;False|2024-11-20T09:05:45.8751214+08:00;True|2024-11-15T10:50:02.2079520+08:00;False|2024-11-15T10:49:22.4156447+08:00;True|2024-11-11T16:53:33.6615343+08:00;False|2024-11-11T16:52:17.7499691+08:00;False|2024-11-06T11:32:23.8339166+08:00;True|2024-10-24T20:08:16.1196372+08:00;True|2024-10-24T14:53:21.0804405+08:00;False|2024-10-24T14:50:14.4659302+08:00;</History>
    <History>True|2025-04-23T07:11:05.1490455Z;True|2025-04-23T14:22:24.5406543+08:00;False|2025-04-23T14:21:47.8685695+08:00;True|2025-04-18T13:54:27.4746888+08:00;False|2025-04-18T13:53:45.2296528+08:00;False|2025-04-18T13:53:29.7890054+08:00;False|2025-04-18T13:53:23.5770264+08:00;False|2025-04-18T13:53:18.0054565+08:00;True|2025-04-18T13:51:28.8449212+08:00;True|2025-04-18T13:24:50.1548645+08:00;True|2025-04-18T13:17:41.8781012+08:00;True|2025-04-18T13:07:11.4243777+08:00;True|2025-04-18T13:03:51.8972162+08:00;True|2025-04-18T12:59:24.3674835+08:00;True|2025-04-18T12:54:51.7546338+08:00;True|2025-04-18T12:51:54.3531129+08:00;False|2025-04-18T12:51:42.0198325+08:00;True|2025-04-18T09:11:06.5087174+08:00;False|2025-04-18T09:10:56.3178793+08:00;True|2025-04-17T11:20:10.9926709+08:00;True|2025-04-17T11:01:50.8902725+08:00;True|2025-04-17T10:53:40.1335186+08:00;True|2025-04-17T10:50:33.6109824+08:00;True|2025-04-17T10:31:35.1972930+08:00;True|2025-04-17T10:27:13.0718237+08:00;False|2025-04-17T10:27:05.4243104+08:00;True|2025-04-17T10:21:17.1039399+08:00;True|2025-04-17T10:17:30.5257362+08:00;True|2025-04-17T09:04:16.5959099+08:00;False|2025-04-17T09:04:08.5643163+08:00;True|2025-04-16T16:50:10.4001088+08:00;True|2025-04-16T16:37:30.0492166+08:00;False|2025-04-16T16:37:20.9070255+08:00;True|2025-04-15T14:55:05.4396103+08:00;True|2025-04-15T14:48:11.6729078+08:00;True|2025-04-15T14:18:53.0805178+08:00;True|2025-04-15T13:48:11.5252569+08:00;True|2025-04-15T13:37:14.4720847+08:00;True|2025-04-15T11:19:10.1766439+08:00;True|2025-04-15T11:16:15.9677953+08:00;True|2025-04-15T11:01:18.4337723+08:00;False|2025-04-15T11:01:06.9132978+08:00;True|2025-04-15T10:55:53.9650790+08:00;False|2025-04-15T10:55:45.2763971+08:00;True|2025-04-09T11:24:21.9466324+08:00;True|2025-04-09T11:14:25.0603792+08:00;True|2025-04-09T11:03:10.0252216+08:00;False|2025-04-09T11:03:01.0837419+08:00;True|2025-04-08T15:00:39.6673341+08:00;True|2025-04-08T14:55:20.5714659+08:00;True|2025-04-08T14:41:57.1855163+08:00;True|2025-04-08T13:31:03.4382266+08:00;True|2025-04-08T11:20:45.0300955+08:00;True|2025-04-08T10:59:59.6997668+08:00;False|2025-04-08T10:59:53.2827828+08:00;True|2025-04-08T10:48:17.4232977+08:00;False|2025-04-08T10:48:09.5363986+08:00;True|2025-04-03T13:53:30.6471699+08:00;False|2025-04-03T13:53:22.8762999+08:00;True|2025-04-02T12:47:31.3375226+08:00;False|2025-04-02T12:47:24.2095072+08:00;True|2025-04-01T16:29:52.7465502+08:00;False|2025-04-01T16:29:33.7844649+08:00;True|2025-03-28T16:22:29.8664470+08:00;True|2025-03-28T15:53:12.1106288+08:00;False|2025-03-28T15:53:01.4674242+08:00;True|2025-03-28T13:34:17.5506822+08:00;False|2025-03-28T13:34:09.5853308+08:00;True|2025-03-26T12:42:08.9630741+08:00;True|2025-03-26T12:40:07.7144561+08:00;True|2025-03-26T12:30:37.3503331+08:00;True|2025-03-26T12:26:47.5061658+08:00;True|2025-03-26T10:54:47.2556717+08:00;True|2025-03-26T10:49:59.7897145+08:00;True|2025-03-26T10:47:02.6195828+08:00;False|2025-03-26T10:46:54.9421244+08:00;True|2025-03-26T01:10:19.1227462+08:00;True|2025-03-26T01:00:04.3583740+08:00;True|2025-03-26T00:38:57.4757071+08:00;True|2025-03-26T00:28:24.9370188+08:00;True|2025-03-26T00:04:05.4507425+08:00;True|2025-03-25T23:06:56.2284828+08:00;False|2025-03-25T23:06:46.7023339+08:00;True|2025-03-25T22:57:08.3127897+08:00;False|2025-03-25T22:55:05.8028873+08:00;False|2025-03-25T22:54:51.2053101+08:00;False|2025-03-04T11:23:36.7757604+08:00;True|2025-02-12T14:05:06.1068587+08:00;False|2025-02-12T14:03:43.3961038+08:00;True|2025-01-18T09:42:50.3629397+08:00;True|2025-01-18T09:39:16.1773412+08:00;True|2025-01-17T11:15:39.4147082+08:00;False|2025-01-17T11:15:09.0033498+08:00;True|2025-01-14T10:20:31.1504093+08:00;False|2025-01-14T10:19:59.1429931+08:00;True|2025-01-10T16:29:54.8671377+08:00;False|2025-01-10T16:29:05.0650370+08:00;True|2025-01-04T14:30:56.5041884+08:00;True|2025-01-04T14:26:52.7448761+08:00;True|2025-01-04T14:23:27.9956967+08:00;True|2025-01-04T14:12:46.2410106+08:00;True|2025-01-04T14:09:33.1727375+08:00;True|2025-01-04T14:07:16.3373347+08:00;False|2025-01-04T14:06:33.4982458+08:00;True|2024-12-31T13:36:55.7394582+08:00;False|2024-12-31T13:35:58.6205647+08:00;True|2024-12-28T15:59:32.1394796+08:00;True|2024-12-28T13:48:20.4283118+08:00;True|2024-12-28T13:43:39.8159616+08:00;True|2024-12-28T13:23:58.4183285+08:00;True|2024-12-28T13:19:13.0583263+08:00;True|2024-12-28T13:12:03.2648502+08:00;True|2024-12-28T13:04:22.6803754+08:00;False|2024-12-28T13:03:56.5993252+08:00;True|2024-12-28T10:50:06.1597154+08:00;True|2024-12-28T10:27:58.7075320+08:00;False|2024-12-28T10:27:09.9450571+08:00;True|2024-12-24T10:52:25.3403292+08:00;False|2024-12-24T10:51:41.8017370+08:00;True|2024-12-23T15:45:21.7729300+08:00;True|2024-12-23T15:31:38.8549407+08:00;True|2024-12-23T15:20:26.2361671+08:00;True|2024-12-23T13:40:03.2774116+08:00;False|2024-12-23T13:39:39.8510770+08:00;True|2024-12-23T13:11:15.3232454+08:00;True|2024-12-23T13:05:43.3057458+08:00;True|2024-12-16T10:57:23.0694936+08:00;True|2024-12-16T10:03:48.1938775+08:00;True|2024-12-16T09:38:57.3052219+08:00;False|2024-12-16T09:38:31.7097388+08:00;True|2024-12-16T09:25:38.3751534+08:00;False|2024-12-16T09:24:19.3952981+08:00;True|2024-12-11T22:41:13.2881405+08:00;False|2024-12-11T22:40:26.3239379+08:00;True|2024-12-11T22:14:41.4392948+08:00;True|2024-12-11T22:03:03.6823866+08:00;True|2024-12-11T21:48:51.7423044+08:00;False|2024-12-11T21:47:55.6236616+08:00;True|2024-12-02T14:57:10.0773563+08:00;False|2024-12-02T14:56:35.6440156+08:00;True|2024-11-26T08:55:53.9125170+08:00;True|2024-11-26T08:24:31.3112433+08:00;False|2024-11-26T08:23:46.0894924+08:00;True|2024-11-20T10:16:03.7893118+08:00;False|2024-11-20T10:15:23.2632533+08:00;True|2024-11-20T09:06:55.2799108+08:00;False|2024-11-20T09:05:45.8751214+08:00;True|2024-11-15T10:50:02.2079520+08:00;False|2024-11-15T10:49:22.4156447+08:00;True|2024-11-11T16:53:33.6615343+08:00;False|2024-11-11T16:52:17.7499691+08:00;False|2024-11-06T11:32:23.8339166+08:00;True|2024-10-24T20:08:16.1196372+08:00;True|2024-10-24T14:53:21.0804405+08:00;False|2024-10-24T14:50:14.4659302+08:00;</History>
    <_PublishTargetUrl>D:\网站发布\智云MESWMS\API</_PublishTargetUrl>
  </PropertyGroup>
  <ItemGroup>
@@ -45,28 +45,28 @@
      <publishTime>02/22/2013 16:43:40</publishTime>
    </File>
    <File Include="bin/BLL.dll">
      <publishTime>04/18/2025 13:54:11</publishTime>
      <publishTime>04/21/2025 20:28:33</publishTime>
    </File>
    <File Include="bin/BLL.pdb">
      <publishTime>04/18/2025 13:54:11</publishTime>
      <publishTime>04/21/2025 20:28:33</publishTime>
    </File>
    <File Include="bin/BouncyCastle.Crypto.dll">
      <publishTime>12/18/2020 05:32:28</publishTime>
    </File>
    <File Include="bin/DAL.dll">
      <publishTime>04/18/2025 13:54:09</publishTime>
      <publishTime>04/21/2025 20:28:30</publishTime>
    </File>
    <File Include="bin/DAL.pdb">
      <publishTime>04/18/2025 13:54:09</publishTime>
      <publishTime>04/21/2025 20:28:30</publishTime>
    </File>
    <File Include="bin/Dapper.dll">
      <publishTime>07/22/2016 22:52:40</publishTime>
    </File>
    <File Include="bin/DBUtility.dll">
      <publishTime>04/18/2025 13:54:01</publishTime>
      <publishTime>04/21/2025 20:28:21</publishTime>
    </File>
    <File Include="bin/DBUtility.pdb">
      <publishTime>04/18/2025 13:54:01</publishTime>
      <publishTime>04/21/2025 20:28:21</publishTime>
    </File>
    <File Include="bin/Grpc.Core.Api.dll">
      <publishTime>03/22/2022 13:17:26</publishTime>
@@ -111,10 +111,10 @@
      <publishTime>07/25/2012 19:48:56</publishTime>
    </File>
    <File Include="bin/Model.dll">
      <publishTime>04/18/2025 13:54:02</publishTime>
      <publishTime>04/21/2025 20:28:22</publishTime>
    </File>
    <File Include="bin/Model.pdb">
      <publishTime>04/18/2025 13:54:02</publishTime>
      <publishTime>04/21/2025 20:28:22</publishTime>
    </File>
    <File Include="bin/Models/ClsSc_MouldScrapOutBillMain.cs">
      <publishTime>04/06/2023 15:57:02</publishTime>
@@ -147,34 +147,34 @@
      <publishTime>10/23/2021 17:07:54</publishTime>
    </File>
    <File Include="bin/Pub_Class.dll">
      <publishTime>04/18/2025 13:53:57</publishTime>
      <publishTime>04/21/2025 20:28:18</publishTime>
    </File>
    <File Include="bin/Pub_Class.pdb">
      <publishTime>04/18/2025 13:53:57</publishTime>
      <publishTime>04/21/2025 20:28:18</publishTime>
    </File>
    <File Include="bin/Pub_Control.dll">
      <publishTime>04/18/2025 13:54:00</publishTime>
      <publishTime>04/21/2025 20:28:19</publishTime>
    </File>
    <File Include="bin/Pub_Control.pdb">
      <publishTime>04/18/2025 13:54:00</publishTime>
      <publishTime>04/21/2025 20:28:19</publishTime>
    </File>
    <File Include="bin/RestSharp.dll">
      <publishTime>08/31/2012 06:22:50</publishTime>
    </File>
    <File Include="bin/SQLHelper.dll">
      <publishTime>04/18/2025 13:54:00</publishTime>
      <publishTime>04/21/2025 20:28:20</publishTime>
    </File>
    <File Include="bin/SQLHelper.pdb">
      <publishTime>04/18/2025 13:54:00</publishTime>
      <publishTime>04/21/2025 20:28:20</publishTime>
    </File>
    <File Include="bin/Swashbuckle.Core.dll">
      <publishTime>02/16/2015 01:57:08</publishTime>
    </File>
    <File Include="bin/SyntacticSugar.dll">
      <publishTime>04/18/2025 13:53:57</publishTime>
      <publishTime>04/21/2025 20:28:15</publishTime>
    </File>
    <File Include="bin/SyntacticSugar.pdb">
      <publishTime>04/18/2025 13:53:57</publishTime>
      <publishTime>04/21/2025 20:28:15</publishTime>
    </File>
    <File Include="bin/System.Buffers.dll">
      <publishTime>07/19/2017 18:01:28</publishTime>
@@ -285,22 +285,22 @@
      <publishTime>05/09/2023 10:43:40</publishTime>
    </File>
    <File Include="bin/TopSdk.dll">
      <publishTime>04/18/2025 13:54:03</publishTime>
      <publishTime>04/21/2025 20:28:21</publishTime>
    </File>
    <File Include="bin/TopSdk.pdb">
      <publishTime>04/18/2025 13:54:03</publishTime>
      <publishTime>04/21/2025 20:28:21</publishTime>
    </File>
    <File Include="bin/WebActivatorEx.dll">
      <publishTime>11/24/2014 19:18:48</publishTime>
    </File>
    <File Include="bin/WebAPI.dll">
      <publishTime>04/18/2025 13:54:17</publishTime>
      <publishTime>04/23/2025 15:10:55</publishTime>
    </File>
    <File Include="bin/WebAPI.pdb">
      <publishTime>04/18/2025 13:54:17</publishTime>
      <publishTime>04/23/2025 15:10:55</publishTime>
    </File>
    <File Include="bin/WebAPI.XmlSerializers.dll">
      <publishTime>04/18/2025 13:54:21</publishTime>
      <publishTime>04/23/2025 15:11:03</publishTime>
    </File>
    <File Include="bin/WebGrease.dll">
      <publishTime>07/18/2013 01:03:52</publishTime>
@@ -495,7 +495,7 @@
      <publishTime>05/06/2024 13:47:57</publishTime>
    </File>
    <File Include="Web.config">
      <publishTime>04/18/2025 13:54:26</publishTime>
      <publishTime>04/23/2025 14:22:22</publishTime>
    </File>
  </ItemGroup>
</Project>
WebAPI/WebAPI.csproj
@@ -719,6 +719,7 @@
    <Compile Include="Controllers\基础资料\基础资料\Gy_RepairCheckBillController.cs" />
    <Compile Include="Controllers\基础资料\工资基础资料\Gy_ProcPriceController.cs" />
    <Compile Include="Controllers\应收管理\YS_ReceiveReportController.cs" />
    <Compile Include="Controllers\数据同步\小诸葛同步\XZG_DataSynchronizationController.cs" />
    <Compile Include="Controllers\数据同步\钉钉同步\DD_DataSynchronizationController.cs" />
    <Compile Include="Controllers\条码管理\MouldController.cs" />
    <Compile Include="Controllers\条码管理\WEBSController.cs" />
WebAPI/WebAPI.csproj.user
@@ -1,9 +1,9 @@
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
  <PropertyGroup>
    <LastActiveSolutionConfig>Release|Any CPU</LastActiveSolutionConfig>
    <LastActiveSolutionConfig>Debug|Any CPU</LastActiveSolutionConfig>
    <NameOfLastUsedPublishProfile>C:\Users\86130\Desktop\智云迈思\MES-WEB-API\WebAPI\Properties\PublishProfiles\FolderProfilewtt.pubxml</NameOfLastUsedPublishProfile>
    <NameOfLastUsedPublishProfile>D:\工作代码\智云迈思\MES\MES-WEB-API\WebAPI\Properties\PublishProfiles\JFAPI.pubxml</NameOfLastUsedPublishProfile>
    <NameOfLastUsedPublishProfile>D:\网站发布\后端代码\MES-WEB-API\MES-WEB-API\WebAPI\Properties\PublishProfiles\FolderProfile1.pubxml</NameOfLastUsedPublishProfile>
    <UseIISExpress>true</UseIISExpress>
    <Use64BitIISExpress />
    <IISExpressSSLPort />
WorkM/bin/Release/BLL.dll
Binary files differ
WorkM/bin/Release/BLL.pdb
Binary files differ
WorkM/bin/Release/DAL.dll
Binary files differ
WorkM/bin/Release/DAL.pdb
Binary files differ
WorkM/bin/Release/DBUtility.dll
Binary files differ
WorkM/bin/Release/DBUtility.pdb
Binary files differ
WorkM/bin/Release/Model.dll
Binary files differ
WorkM/bin/Release/Model.pdb
Binary files differ
WorkM/bin/Release/Pub_Class.dll
Binary files differ
WorkM/bin/Release/Pub_Class.pdb
Binary files differ
WorkM/bin/Release/Pub_Control.dll
Binary files differ
WorkM/bin/Release/Pub_Control.pdb
Binary files differ
WorkM/bin/Release/SQLHelper.dll
Binary files differ
WorkM/bin/Release/SQLHelper.pdb
Binary files differ
WorkM/bin/Release/WarM.dll
Binary files differ
WorkM/bin/Release/WarM.pdb
Binary files differ
WorkM/bin/Release/WorkM.dll
Binary files differ
WorkM/bin/Release/WorkM.pdb
Binary files differ
sdk_dingding/TopSdk/bin/Debug/TopSdk.dll
Binary files differ
sdk_dingding/TopSdk/bin/Debug/TopSdk.pdb
Binary files differ
sdk_dingding/TopSdk/obj/Debug/TopSdk.csproj.AssemblyReference.cache
Binary files differ
sdk_dingding/TopSdk/obj/Debug/TopSdk.csproj.FileListAbsolute.txt
@@ -11,7 +11,7 @@
C:\Users\86130\Desktop\智云迈思\MES-WEB-API\sdk_dingding\TopSdk\obj\Debug\TopSdk.pdb
D:\网站发布\后端代码\MES-WEB-API\MES-WEB-API\sdk_dingding\TopSdk\bin\Debug\TopSdk.dll
D:\网站发布\后端代码\MES-WEB-API\MES-WEB-API\sdk_dingding\TopSdk\bin\Debug\TopSdk.pdb
D:\网站发布\后端代码\MES-WEB-API\MES-WEB-API\sdk_dingding\TopSdk\obj\Debug\TopSdk.csproj.AssemblyReference.cache
D:\网站发布\后端代码\MES-WEB-API\MES-WEB-API\sdk_dingding\TopSdk\obj\Debug\TopSdk.csproj.CoreCompileInputs.cache
D:\网站发布\后端代码\MES-WEB-API\MES-WEB-API\sdk_dingding\TopSdk\obj\Debug\TopSdk.dll
D:\网站发布\后端代码\MES-WEB-API\MES-WEB-API\sdk_dingding\TopSdk\obj\Debug\TopSdk.pdb
D:\网站发布\后端代码\MES-WEB-API\MES-WEB-API\sdk_dingding\TopSdk\obj\Debug\TopSdk.csproj.AssemblyReference.cache
sdk_dingding/TopSdk/obj/Debug/TopSdk.dll
Binary files differ
sdk_dingding/TopSdk/obj/Debug/TopSdk.pdb
Binary files differ