This commit is contained in:
commit
4b4f6e4389
|
@ -0,0 +1,36 @@
|
|||
--delete from Sys_ButtonToMenu where MenuId in (select MenuId from Sys_Menu where MenuType='Menu_CLGL')
|
||||
--go
|
||||
--delete from Sys_Menu where MenuType='Menu_CLGL'
|
||||
--go
|
||||
/****材料管理******/
|
||||
INSERT INTO dbo.Sys_Menu(MenuId,MenuName,Url,SortIndex,SuperMenu,MenuType,IsOffice,IsEnd,IsUsed)
|
||||
VALUES('64E43C10-ECA5-4C7D-97C9-670E9F05DC01','材料信息','CLGL/Material.aspx',10,'0','Menu_CLGL',0,1,1)
|
||||
GO
|
||||
|
||||
INSERT INTO dbo.Sys_Menu(MenuId,MenuName,Url,SortIndex,SuperMenu,MenuType,IsOffice,IsEnd,IsUsed)
|
||||
VALUES('414F9650-37F8-4B20-A2BB-EBBD4F620E49','货架信息','CLGL/GoodsShelves.aspx',20,'0','Menu_CLGL',0,1,1)
|
||||
GO
|
||||
|
||||
INSERT INTO dbo.Sys_Menu(MenuId,MenuName,Url,SortIndex,SuperMenu,MenuType,IsOffice,IsEnd,IsUsed)
|
||||
VALUES('4B52E7FF-AA04-489B-B0EE-DC31C5C4F45B','施工单位信息','CLGL/SubUnit.aspx',30,'0','Menu_CLGL',0,1,1)
|
||||
GO
|
||||
|
||||
INSERT INTO dbo.Sys_Menu(MenuId,MenuName,Url,SortIndex,SuperMenu,MenuType,IsOffice,IsEnd,IsUsed)
|
||||
VALUES('43A118BC-0A81-42F1-B008-829D40CFE625','供应商信息','CLGL/Supplier.aspx',40,'0','Menu_CLGL',0,1,1)
|
||||
GO
|
||||
|
||||
INSERT INTO dbo.Sys_Menu(MenuId,MenuName,Url,SortIndex,SuperMenu,MenuType,IsOffice,IsEnd,IsUsed)
|
||||
VALUES('3C87C9C0-1C22-48A0-A767-9537347F6A7D','合同量单','CLGL/ContractQuantitySheet.aspx',50,'0','Menu_CLGL',0,1,1)
|
||||
GO
|
||||
|
||||
INSERT INTO dbo.Sys_Menu(MenuId,MenuName,Url,SortIndex,SuperMenu,MenuType,IsOffice,IsEnd,IsUsed)
|
||||
VALUES('94041D2D-ADF5-47CD-8628-11837D32354D','请购单','CLGL/PurchaseRequisition.aspx',60,'0','Menu_CLGL',0,1,1)
|
||||
GO
|
||||
|
||||
INSERT INTO dbo.Sys_Menu(MenuId,MenuName,Url,SortIndex,SuperMenu,MenuType,IsOffice,IsEnd,IsUsed)
|
||||
VALUES('0E23EC47-4C05-4783-91C1-1ACFE270C4D4','领料单','CLGL/MaterialRecord.aspx',70,'0','Menu_CLGL',0,1,1)
|
||||
GO
|
||||
|
||||
|
||||
|
||||
|
|
@ -22,6 +22,13 @@ namespace BLL.MCSService {
|
|||
[System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/getVendorUserNameAndPwd", ReplyAction="*")]
|
||||
System.Threading.Tasks.Task<string> getVendorUserNameAndPwdAsync();
|
||||
|
||||
[System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/getPojectInfo", ReplyAction="*")]
|
||||
[System.ServiceModel.XmlSerializerFormatAttribute(SupportFaults=true)]
|
||||
string getPojectInfo();
|
||||
|
||||
[System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/getPojectInfo", ReplyAction="*")]
|
||||
System.Threading.Tasks.Task<string> getPojectInfoAsync();
|
||||
|
||||
[System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/getPoDetails", ReplyAction="*")]
|
||||
[System.ServiceModel.XmlSerializerFormatAttribute(SupportFaults=true)]
|
||||
string getPoDetails(long projectID);
|
||||
|
@ -36,13 +43,6 @@ namespace BLL.MCSService {
|
|||
[System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/writeShelvesNo", ReplyAction="*")]
|
||||
System.Threading.Tasks.Task<string> writeShelvesNoAsync(string JsonVoiceArray, long ProjectID);
|
||||
|
||||
[System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/overIssue", ReplyAction="*")]
|
||||
[System.ServiceModel.XmlSerializerFormatAttribute(SupportFaults=true)]
|
||||
string overIssue(string isguid, string username);
|
||||
|
||||
[System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/overIssue", ReplyAction="*")]
|
||||
System.Threading.Tasks.Task<string> overIssueAsync(string isguid, string username);
|
||||
|
||||
[System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/writeDeliveryDetails", ReplyAction="*")]
|
||||
[System.ServiceModel.XmlSerializerFormatAttribute(SupportFaults=true)]
|
||||
string writeDeliveryDetails(string JsonVoiceArray, long ProjectID);
|
||||
|
@ -50,6 +50,13 @@ namespace BLL.MCSService {
|
|||
[System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/writeDeliveryDetails", ReplyAction="*")]
|
||||
System.Threading.Tasks.Task<string> writeDeliveryDetailsAsync(string JsonVoiceArray, long ProjectID);
|
||||
|
||||
[System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/overIssue", ReplyAction="*")]
|
||||
[System.ServiceModel.XmlSerializerFormatAttribute(SupportFaults=true)]
|
||||
string overIssue(string isguid, string username);
|
||||
|
||||
[System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/overIssue", ReplyAction="*")]
|
||||
System.Threading.Tasks.Task<string> overIssueAsync(string isguid, string username);
|
||||
|
||||
[System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/getIssueDetails", ReplyAction="*")]
|
||||
[System.ServiceModel.XmlSerializerFormatAttribute(SupportFaults=true)]
|
||||
string getIssueDetails(long projectID);
|
||||
|
@ -156,6 +163,14 @@ namespace BLL.MCSService {
|
|||
return base.Channel.getVendorUserNameAndPwdAsync();
|
||||
}
|
||||
|
||||
public string getPojectInfo() {
|
||||
return base.Channel.getPojectInfo();
|
||||
}
|
||||
|
||||
public System.Threading.Tasks.Task<string> getPojectInfoAsync() {
|
||||
return base.Channel.getPojectInfoAsync();
|
||||
}
|
||||
|
||||
public string getPoDetails(long projectID) {
|
||||
return base.Channel.getPoDetails(projectID);
|
||||
}
|
||||
|
@ -172,14 +187,6 @@ namespace BLL.MCSService {
|
|||
return base.Channel.writeShelvesNoAsync(JsonVoiceArray, ProjectID);
|
||||
}
|
||||
|
||||
public string overIssue(string isguid, string username) {
|
||||
return base.Channel.overIssue(isguid, username);
|
||||
}
|
||||
|
||||
public System.Threading.Tasks.Task<string> overIssueAsync(string isguid, string username) {
|
||||
return base.Channel.overIssueAsync(isguid, username);
|
||||
}
|
||||
|
||||
public string writeDeliveryDetails(string JsonVoiceArray, long ProjectID) {
|
||||
return base.Channel.writeDeliveryDetails(JsonVoiceArray, ProjectID);
|
||||
}
|
||||
|
@ -188,6 +195,14 @@ namespace BLL.MCSService {
|
|||
return base.Channel.writeDeliveryDetailsAsync(JsonVoiceArray, ProjectID);
|
||||
}
|
||||
|
||||
public string overIssue(string isguid, string username) {
|
||||
return base.Channel.overIssue(isguid, username);
|
||||
}
|
||||
|
||||
public System.Threading.Tasks.Task<string> overIssueAsync(string isguid, string username) {
|
||||
return base.Channel.overIssueAsync(isguid, username);
|
||||
}
|
||||
|
||||
public string getIssueDetails(long projectID) {
|
||||
return base.Channel.getIssueDetails(projectID);
|
||||
}
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<ReferenceGroup xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" ID="37304c51-408b-432c-bdac-dd854304d70d" xmlns="urn:schemas-microsoft-com:xml-wcfservicemap">
|
||||
<ReferenceGroup xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" ID="5f8efb35-0475-48cd-b9af-a438f936a5ea" xmlns="urn:schemas-microsoft-com:xml-wcfservicemap">
|
||||
<ClientOptions>
|
||||
<GenerateAsynchronousMethods>false</GenerateAsynchronousMethods>
|
||||
<GenerateTaskBasedAsynchronousMethod>true</GenerateTaskBasedAsynchronousMethod>
|
||||
|
@ -19,11 +19,11 @@
|
|||
<ServiceContractMappings />
|
||||
</ClientOptions>
|
||||
<MetadataSources>
|
||||
<MetadataSource Address="http://mattest.cwcec.com/LocWebServices/WebService1.asmx" Protocol="http" SourceId="1" />
|
||||
<MetadataSource Address="http://mat.cwcec.com/LocWebServices/WebService1.asmx" Protocol="http" SourceId="1" />
|
||||
</MetadataSources>
|
||||
<Metadata>
|
||||
<MetadataFile FileName="WebService1.wsdl" MetadataType="Wsdl" ID="0f01b3bd-714b-492d-812c-7c659bae56af" SourceId="1" SourceUrl="http://mattest.cwcec.com/LocWebServices/WebService1.asmx?wsdl" />
|
||||
<MetadataFile FileName="WebService1.disco" MetadataType="Disco" ID="89d8bf32-e456-44ac-a695-20623955fbb2" SourceId="1" SourceUrl="http://mattest.cwcec.com/LocWebServices/WebService1.asmx?disco" />
|
||||
<MetadataFile FileName="WebService1.wsdl" MetadataType="Wsdl" ID="147ca4c4-e6f9-4f63-8f58-9f0252b12bb2" SourceId="1" SourceUrl="http://mat.cwcec.com/LocWebServices/WebService1.asmx?wsdl" />
|
||||
<MetadataFile FileName="WebService1.disco" MetadataType="Disco" ID="a821a427-5351-4ca8-9653-b4e32b14d913" SourceId="1" SourceUrl="http://mat.cwcec.com/LocWebServices/WebService1.asmx?disco" />
|
||||
</Metadata>
|
||||
<Extensions>
|
||||
<ExtensionFile FileName="configuration91.svcinfo" Name="configuration91.svcinfo" />
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<discovery xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="http://schemas.xmlsoap.org/disco/">
|
||||
<contractRef ref="http://mattest.cwcec.com/LocWebServices/WebService1.asmx?wsdl" docRef="http://mattest.cwcec.com/LocWebServices/WebService1.asmx" xmlns="http://schemas.xmlsoap.org/disco/scl/" />
|
||||
<soap address="http://mattest.cwcec.com/LocWebServices/WebService1.asmx" xmlns:q1="http://tempuri.org/" binding="q1:WebService1Soap" xmlns="http://schemas.xmlsoap.org/disco/soap/" />
|
||||
<soap address="http://mattest.cwcec.com/LocWebServices/WebService1.asmx" xmlns:q2="http://tempuri.org/" binding="q2:WebService1Soap12" xmlns="http://schemas.xmlsoap.org/disco/soap/" />
|
||||
<contractRef ref="http://mat.cwcec.com/LocWebServices/WebService1.asmx?wsdl" docRef="http://mat.cwcec.com/LocWebServices/WebService1.asmx" xmlns="http://schemas.xmlsoap.org/disco/scl/" />
|
||||
<soap address="http://mat.cwcec.com/LocWebServices/WebService1.asmx" xmlns:q1="http://tempuri.org/" binding="q1:WebService1Soap" xmlns="http://schemas.xmlsoap.org/disco/soap/" />
|
||||
<soap address="http://mat.cwcec.com/LocWebServices/WebService1.asmx" xmlns:q2="http://tempuri.org/" binding="q2:WebService1Soap12" xmlns="http://schemas.xmlsoap.org/disco/soap/" />
|
||||
</discovery>
|
|
@ -12,6 +12,16 @@
|
|||
</s:sequence>
|
||||
</s:complexType>
|
||||
</s:element>
|
||||
<s:element name="getPojectInfo">
|
||||
<s:complexType />
|
||||
</s:element>
|
||||
<s:element name="getPojectInfoResponse">
|
||||
<s:complexType>
|
||||
<s:sequence>
|
||||
<s:element minOccurs="0" maxOccurs="1" name="getPojectInfoResult" type="s:string" />
|
||||
</s:sequence>
|
||||
</s:complexType>
|
||||
</s:element>
|
||||
<s:element name="getPoDetails">
|
||||
<s:complexType>
|
||||
<s:sequence>
|
||||
|
@ -41,21 +51,6 @@
|
|||
</s:sequence>
|
||||
</s:complexType>
|
||||
</s:element>
|
||||
<s:element name="overIssue">
|
||||
<s:complexType>
|
||||
<s:sequence>
|
||||
<s:element minOccurs="0" maxOccurs="1" name="isguid" type="s:string" />
|
||||
<s:element minOccurs="0" maxOccurs="1" name="username" type="s:string" />
|
||||
</s:sequence>
|
||||
</s:complexType>
|
||||
</s:element>
|
||||
<s:element name="overIssueResponse">
|
||||
<s:complexType>
|
||||
<s:sequence>
|
||||
<s:element minOccurs="0" maxOccurs="1" name="overIssueResult" type="s:string" />
|
||||
</s:sequence>
|
||||
</s:complexType>
|
||||
</s:element>
|
||||
<s:element name="writeDeliveryDetails">
|
||||
<s:complexType>
|
||||
<s:sequence>
|
||||
|
@ -71,6 +66,21 @@
|
|||
</s:sequence>
|
||||
</s:complexType>
|
||||
</s:element>
|
||||
<s:element name="overIssue">
|
||||
<s:complexType>
|
||||
<s:sequence>
|
||||
<s:element minOccurs="0" maxOccurs="1" name="isguid" type="s:string" />
|
||||
<s:element minOccurs="0" maxOccurs="1" name="username" type="s:string" />
|
||||
</s:sequence>
|
||||
</s:complexType>
|
||||
</s:element>
|
||||
<s:element name="overIssueResponse">
|
||||
<s:complexType>
|
||||
<s:sequence>
|
||||
<s:element minOccurs="0" maxOccurs="1" name="overIssueResult" type="s:string" />
|
||||
</s:sequence>
|
||||
</s:complexType>
|
||||
</s:element>
|
||||
<s:element name="getIssueDetails">
|
||||
<s:complexType>
|
||||
<s:sequence>
|
||||
|
@ -220,6 +230,12 @@
|
|||
<wsdl:message name="getVendorUserNameAndPwdSoapOut">
|
||||
<wsdl:part name="parameters" element="tns:getVendorUserNameAndPwdResponse" />
|
||||
</wsdl:message>
|
||||
<wsdl:message name="getPojectInfoSoapIn">
|
||||
<wsdl:part name="parameters" element="tns:getPojectInfo" />
|
||||
</wsdl:message>
|
||||
<wsdl:message name="getPojectInfoSoapOut">
|
||||
<wsdl:part name="parameters" element="tns:getPojectInfoResponse" />
|
||||
</wsdl:message>
|
||||
<wsdl:message name="getPoDetailsSoapIn">
|
||||
<wsdl:part name="parameters" element="tns:getPoDetails" />
|
||||
</wsdl:message>
|
||||
|
@ -232,18 +248,18 @@
|
|||
<wsdl:message name="writeShelvesNoSoapOut">
|
||||
<wsdl:part name="parameters" element="tns:writeShelvesNoResponse" />
|
||||
</wsdl:message>
|
||||
<wsdl:message name="overIssueSoapIn">
|
||||
<wsdl:part name="parameters" element="tns:overIssue" />
|
||||
</wsdl:message>
|
||||
<wsdl:message name="overIssueSoapOut">
|
||||
<wsdl:part name="parameters" element="tns:overIssueResponse" />
|
||||
</wsdl:message>
|
||||
<wsdl:message name="writeDeliveryDetailsSoapIn">
|
||||
<wsdl:part name="parameters" element="tns:writeDeliveryDetails" />
|
||||
</wsdl:message>
|
||||
<wsdl:message name="writeDeliveryDetailsSoapOut">
|
||||
<wsdl:part name="parameters" element="tns:writeDeliveryDetailsResponse" />
|
||||
</wsdl:message>
|
||||
<wsdl:message name="overIssueSoapIn">
|
||||
<wsdl:part name="parameters" element="tns:overIssue" />
|
||||
</wsdl:message>
|
||||
<wsdl:message name="overIssueSoapOut">
|
||||
<wsdl:part name="parameters" element="tns:overIssueResponse" />
|
||||
</wsdl:message>
|
||||
<wsdl:message name="getIssueDetailsSoapIn">
|
||||
<wsdl:part name="parameters" element="tns:getIssueDetails" />
|
||||
</wsdl:message>
|
||||
|
@ -308,6 +324,10 @@
|
|||
<wsdl:message name="getVendorUserNameAndPwdHttpGetOut">
|
||||
<wsdl:part name="Body" element="tns:string" />
|
||||
</wsdl:message>
|
||||
<wsdl:message name="getPojectInfoHttpGetIn" />
|
||||
<wsdl:message name="getPojectInfoHttpGetOut">
|
||||
<wsdl:part name="Body" element="tns:string" />
|
||||
</wsdl:message>
|
||||
<wsdl:message name="getPoDetailsHttpGetIn">
|
||||
<wsdl:part name="projectID" type="s:string" />
|
||||
</wsdl:message>
|
||||
|
@ -321,13 +341,6 @@
|
|||
<wsdl:message name="writeShelvesNoHttpGetOut">
|
||||
<wsdl:part name="Body" element="tns:string" />
|
||||
</wsdl:message>
|
||||
<wsdl:message name="overIssueHttpGetIn">
|
||||
<wsdl:part name="isguid" type="s:string" />
|
||||
<wsdl:part name="username" type="s:string" />
|
||||
</wsdl:message>
|
||||
<wsdl:message name="overIssueHttpGetOut">
|
||||
<wsdl:part name="Body" element="tns:string" />
|
||||
</wsdl:message>
|
||||
<wsdl:message name="writeDeliveryDetailsHttpGetIn">
|
||||
<wsdl:part name="JsonVoiceArray" type="s:string" />
|
||||
<wsdl:part name="ProjectID" type="s:string" />
|
||||
|
@ -335,6 +348,13 @@
|
|||
<wsdl:message name="writeDeliveryDetailsHttpGetOut">
|
||||
<wsdl:part name="Body" element="tns:string" />
|
||||
</wsdl:message>
|
||||
<wsdl:message name="overIssueHttpGetIn">
|
||||
<wsdl:part name="isguid" type="s:string" />
|
||||
<wsdl:part name="username" type="s:string" />
|
||||
</wsdl:message>
|
||||
<wsdl:message name="overIssueHttpGetOut">
|
||||
<wsdl:part name="Body" element="tns:string" />
|
||||
</wsdl:message>
|
||||
<wsdl:message name="getIssueDetailsHttpGetIn">
|
||||
<wsdl:part name="projectID" type="s:string" />
|
||||
</wsdl:message>
|
||||
|
@ -401,6 +421,10 @@
|
|||
<wsdl:message name="getVendorUserNameAndPwdHttpPostOut">
|
||||
<wsdl:part name="Body" element="tns:string" />
|
||||
</wsdl:message>
|
||||
<wsdl:message name="getPojectInfoHttpPostIn" />
|
||||
<wsdl:message name="getPojectInfoHttpPostOut">
|
||||
<wsdl:part name="Body" element="tns:string" />
|
||||
</wsdl:message>
|
||||
<wsdl:message name="getPoDetailsHttpPostIn">
|
||||
<wsdl:part name="projectID" type="s:string" />
|
||||
</wsdl:message>
|
||||
|
@ -414,13 +438,6 @@
|
|||
<wsdl:message name="writeShelvesNoHttpPostOut">
|
||||
<wsdl:part name="Body" element="tns:string" />
|
||||
</wsdl:message>
|
||||
<wsdl:message name="overIssueHttpPostIn">
|
||||
<wsdl:part name="isguid" type="s:string" />
|
||||
<wsdl:part name="username" type="s:string" />
|
||||
</wsdl:message>
|
||||
<wsdl:message name="overIssueHttpPostOut">
|
||||
<wsdl:part name="Body" element="tns:string" />
|
||||
</wsdl:message>
|
||||
<wsdl:message name="writeDeliveryDetailsHttpPostIn">
|
||||
<wsdl:part name="JsonVoiceArray" type="s:string" />
|
||||
<wsdl:part name="ProjectID" type="s:string" />
|
||||
|
@ -428,6 +445,13 @@
|
|||
<wsdl:message name="writeDeliveryDetailsHttpPostOut">
|
||||
<wsdl:part name="Body" element="tns:string" />
|
||||
</wsdl:message>
|
||||
<wsdl:message name="overIssueHttpPostIn">
|
||||
<wsdl:part name="isguid" type="s:string" />
|
||||
<wsdl:part name="username" type="s:string" />
|
||||
</wsdl:message>
|
||||
<wsdl:message name="overIssueHttpPostOut">
|
||||
<wsdl:part name="Body" element="tns:string" />
|
||||
</wsdl:message>
|
||||
<wsdl:message name="getIssueDetailsHttpPostIn">
|
||||
<wsdl:part name="projectID" type="s:string" />
|
||||
</wsdl:message>
|
||||
|
@ -495,6 +519,10 @@
|
|||
<wsdl:input message="tns:getVendorUserNameAndPwdSoapIn" />
|
||||
<wsdl:output message="tns:getVendorUserNameAndPwdSoapOut" />
|
||||
</wsdl:operation>
|
||||
<wsdl:operation name="getPojectInfo">
|
||||
<wsdl:input message="tns:getPojectInfoSoapIn" />
|
||||
<wsdl:output message="tns:getPojectInfoSoapOut" />
|
||||
</wsdl:operation>
|
||||
<wsdl:operation name="getPoDetails">
|
||||
<wsdl:input message="tns:getPoDetailsSoapIn" />
|
||||
<wsdl:output message="tns:getPoDetailsSoapOut" />
|
||||
|
@ -503,14 +531,14 @@
|
|||
<wsdl:input message="tns:writeShelvesNoSoapIn" />
|
||||
<wsdl:output message="tns:writeShelvesNoSoapOut" />
|
||||
</wsdl:operation>
|
||||
<wsdl:operation name="overIssue">
|
||||
<wsdl:input message="tns:overIssueSoapIn" />
|
||||
<wsdl:output message="tns:overIssueSoapOut" />
|
||||
</wsdl:operation>
|
||||
<wsdl:operation name="writeDeliveryDetails">
|
||||
<wsdl:input message="tns:writeDeliveryDetailsSoapIn" />
|
||||
<wsdl:output message="tns:writeDeliveryDetailsSoapOut" />
|
||||
</wsdl:operation>
|
||||
<wsdl:operation name="overIssue">
|
||||
<wsdl:input message="tns:overIssueSoapIn" />
|
||||
<wsdl:output message="tns:overIssueSoapOut" />
|
||||
</wsdl:operation>
|
||||
<wsdl:operation name="getIssueDetails">
|
||||
<wsdl:input message="tns:getIssueDetailsSoapIn" />
|
||||
<wsdl:output message="tns:getIssueDetailsSoapOut" />
|
||||
|
@ -557,6 +585,10 @@
|
|||
<wsdl:input message="tns:getVendorUserNameAndPwdHttpGetIn" />
|
||||
<wsdl:output message="tns:getVendorUserNameAndPwdHttpGetOut" />
|
||||
</wsdl:operation>
|
||||
<wsdl:operation name="getPojectInfo">
|
||||
<wsdl:input message="tns:getPojectInfoHttpGetIn" />
|
||||
<wsdl:output message="tns:getPojectInfoHttpGetOut" />
|
||||
</wsdl:operation>
|
||||
<wsdl:operation name="getPoDetails">
|
||||
<wsdl:input message="tns:getPoDetailsHttpGetIn" />
|
||||
<wsdl:output message="tns:getPoDetailsHttpGetOut" />
|
||||
|
@ -565,14 +597,14 @@
|
|||
<wsdl:input message="tns:writeShelvesNoHttpGetIn" />
|
||||
<wsdl:output message="tns:writeShelvesNoHttpGetOut" />
|
||||
</wsdl:operation>
|
||||
<wsdl:operation name="overIssue">
|
||||
<wsdl:input message="tns:overIssueHttpGetIn" />
|
||||
<wsdl:output message="tns:overIssueHttpGetOut" />
|
||||
</wsdl:operation>
|
||||
<wsdl:operation name="writeDeliveryDetails">
|
||||
<wsdl:input message="tns:writeDeliveryDetailsHttpGetIn" />
|
||||
<wsdl:output message="tns:writeDeliveryDetailsHttpGetOut" />
|
||||
</wsdl:operation>
|
||||
<wsdl:operation name="overIssue">
|
||||
<wsdl:input message="tns:overIssueHttpGetIn" />
|
||||
<wsdl:output message="tns:overIssueHttpGetOut" />
|
||||
</wsdl:operation>
|
||||
<wsdl:operation name="getIssueDetails">
|
||||
<wsdl:input message="tns:getIssueDetailsHttpGetIn" />
|
||||
<wsdl:output message="tns:getIssueDetailsHttpGetOut" />
|
||||
|
@ -619,6 +651,10 @@
|
|||
<wsdl:input message="tns:getVendorUserNameAndPwdHttpPostIn" />
|
||||
<wsdl:output message="tns:getVendorUserNameAndPwdHttpPostOut" />
|
||||
</wsdl:operation>
|
||||
<wsdl:operation name="getPojectInfo">
|
||||
<wsdl:input message="tns:getPojectInfoHttpPostIn" />
|
||||
<wsdl:output message="tns:getPojectInfoHttpPostOut" />
|
||||
</wsdl:operation>
|
||||
<wsdl:operation name="getPoDetails">
|
||||
<wsdl:input message="tns:getPoDetailsHttpPostIn" />
|
||||
<wsdl:output message="tns:getPoDetailsHttpPostOut" />
|
||||
|
@ -627,14 +663,14 @@
|
|||
<wsdl:input message="tns:writeShelvesNoHttpPostIn" />
|
||||
<wsdl:output message="tns:writeShelvesNoHttpPostOut" />
|
||||
</wsdl:operation>
|
||||
<wsdl:operation name="overIssue">
|
||||
<wsdl:input message="tns:overIssueHttpPostIn" />
|
||||
<wsdl:output message="tns:overIssueHttpPostOut" />
|
||||
</wsdl:operation>
|
||||
<wsdl:operation name="writeDeliveryDetails">
|
||||
<wsdl:input message="tns:writeDeliveryDetailsHttpPostIn" />
|
||||
<wsdl:output message="tns:writeDeliveryDetailsHttpPostOut" />
|
||||
</wsdl:operation>
|
||||
<wsdl:operation name="overIssue">
|
||||
<wsdl:input message="tns:overIssueHttpPostIn" />
|
||||
<wsdl:output message="tns:overIssueHttpPostOut" />
|
||||
</wsdl:operation>
|
||||
<wsdl:operation name="getIssueDetails">
|
||||
<wsdl:input message="tns:getIssueDetailsHttpPostIn" />
|
||||
<wsdl:output message="tns:getIssueDetailsHttpPostOut" />
|
||||
|
@ -687,6 +723,15 @@
|
|||
<soap:body use="literal" />
|
||||
</wsdl:output>
|
||||
</wsdl:operation>
|
||||
<wsdl:operation name="getPojectInfo">
|
||||
<soap:operation soapAction="http://tempuri.org/getPojectInfo" style="document" />
|
||||
<wsdl:input>
|
||||
<soap:body use="literal" />
|
||||
</wsdl:input>
|
||||
<wsdl:output>
|
||||
<soap:body use="literal" />
|
||||
</wsdl:output>
|
||||
</wsdl:operation>
|
||||
<wsdl:operation name="getPoDetails">
|
||||
<soap:operation soapAction="http://tempuri.org/getPoDetails" style="document" />
|
||||
<wsdl:input>
|
||||
|
@ -705,8 +750,8 @@
|
|||
<soap:body use="literal" />
|
||||
</wsdl:output>
|
||||
</wsdl:operation>
|
||||
<wsdl:operation name="overIssue">
|
||||
<soap:operation soapAction="http://tempuri.org/overIssue" style="document" />
|
||||
<wsdl:operation name="writeDeliveryDetails">
|
||||
<soap:operation soapAction="http://tempuri.org/writeDeliveryDetails" style="document" />
|
||||
<wsdl:input>
|
||||
<soap:body use="literal" />
|
||||
</wsdl:input>
|
||||
|
@ -714,8 +759,8 @@
|
|||
<soap:body use="literal" />
|
||||
</wsdl:output>
|
||||
</wsdl:operation>
|
||||
<wsdl:operation name="writeDeliveryDetails">
|
||||
<soap:operation soapAction="http://tempuri.org/writeDeliveryDetails" style="document" />
|
||||
<wsdl:operation name="overIssue">
|
||||
<soap:operation soapAction="http://tempuri.org/overIssue" style="document" />
|
||||
<wsdl:input>
|
||||
<soap:body use="literal" />
|
||||
</wsdl:input>
|
||||
|
@ -825,6 +870,15 @@
|
|||
<soap12:body use="literal" />
|
||||
</wsdl:output>
|
||||
</wsdl:operation>
|
||||
<wsdl:operation name="getPojectInfo">
|
||||
<soap12:operation soapAction="http://tempuri.org/getPojectInfo" style="document" />
|
||||
<wsdl:input>
|
||||
<soap12:body use="literal" />
|
||||
</wsdl:input>
|
||||
<wsdl:output>
|
||||
<soap12:body use="literal" />
|
||||
</wsdl:output>
|
||||
</wsdl:operation>
|
||||
<wsdl:operation name="getPoDetails">
|
||||
<soap12:operation soapAction="http://tempuri.org/getPoDetails" style="document" />
|
||||
<wsdl:input>
|
||||
|
@ -843,8 +897,8 @@
|
|||
<soap12:body use="literal" />
|
||||
</wsdl:output>
|
||||
</wsdl:operation>
|
||||
<wsdl:operation name="overIssue">
|
||||
<soap12:operation soapAction="http://tempuri.org/overIssue" style="document" />
|
||||
<wsdl:operation name="writeDeliveryDetails">
|
||||
<soap12:operation soapAction="http://tempuri.org/writeDeliveryDetails" style="document" />
|
||||
<wsdl:input>
|
||||
<soap12:body use="literal" />
|
||||
</wsdl:input>
|
||||
|
@ -852,8 +906,8 @@
|
|||
<soap12:body use="literal" />
|
||||
</wsdl:output>
|
||||
</wsdl:operation>
|
||||
<wsdl:operation name="writeDeliveryDetails">
|
||||
<soap12:operation soapAction="http://tempuri.org/writeDeliveryDetails" style="document" />
|
||||
<wsdl:operation name="overIssue">
|
||||
<soap12:operation soapAction="http://tempuri.org/overIssue" style="document" />
|
||||
<wsdl:input>
|
||||
<soap12:body use="literal" />
|
||||
</wsdl:input>
|
||||
|
@ -963,6 +1017,15 @@
|
|||
<mime:mimeXml part="Body" />
|
||||
</wsdl:output>
|
||||
</wsdl:operation>
|
||||
<wsdl:operation name="getPojectInfo">
|
||||
<http:operation location="/getPojectInfo" />
|
||||
<wsdl:input>
|
||||
<http:urlEncoded />
|
||||
</wsdl:input>
|
||||
<wsdl:output>
|
||||
<mime:mimeXml part="Body" />
|
||||
</wsdl:output>
|
||||
</wsdl:operation>
|
||||
<wsdl:operation name="getPoDetails">
|
||||
<http:operation location="/getPoDetails" />
|
||||
<wsdl:input>
|
||||
|
@ -981,8 +1044,8 @@
|
|||
<mime:mimeXml part="Body" />
|
||||
</wsdl:output>
|
||||
</wsdl:operation>
|
||||
<wsdl:operation name="overIssue">
|
||||
<http:operation location="/overIssue" />
|
||||
<wsdl:operation name="writeDeliveryDetails">
|
||||
<http:operation location="/writeDeliveryDetails" />
|
||||
<wsdl:input>
|
||||
<http:urlEncoded />
|
||||
</wsdl:input>
|
||||
|
@ -990,8 +1053,8 @@
|
|||
<mime:mimeXml part="Body" />
|
||||
</wsdl:output>
|
||||
</wsdl:operation>
|
||||
<wsdl:operation name="writeDeliveryDetails">
|
||||
<http:operation location="/writeDeliveryDetails" />
|
||||
<wsdl:operation name="overIssue">
|
||||
<http:operation location="/overIssue" />
|
||||
<wsdl:input>
|
||||
<http:urlEncoded />
|
||||
</wsdl:input>
|
||||
|
@ -1101,6 +1164,15 @@
|
|||
<mime:mimeXml part="Body" />
|
||||
</wsdl:output>
|
||||
</wsdl:operation>
|
||||
<wsdl:operation name="getPojectInfo">
|
||||
<http:operation location="/getPojectInfo" />
|
||||
<wsdl:input>
|
||||
<mime:content type="application/x-www-form-urlencoded" />
|
||||
</wsdl:input>
|
||||
<wsdl:output>
|
||||
<mime:mimeXml part="Body" />
|
||||
</wsdl:output>
|
||||
</wsdl:operation>
|
||||
<wsdl:operation name="getPoDetails">
|
||||
<http:operation location="/getPoDetails" />
|
||||
<wsdl:input>
|
||||
|
@ -1119,8 +1191,8 @@
|
|||
<mime:mimeXml part="Body" />
|
||||
</wsdl:output>
|
||||
</wsdl:operation>
|
||||
<wsdl:operation name="overIssue">
|
||||
<http:operation location="/overIssue" />
|
||||
<wsdl:operation name="writeDeliveryDetails">
|
||||
<http:operation location="/writeDeliveryDetails" />
|
||||
<wsdl:input>
|
||||
<mime:content type="application/x-www-form-urlencoded" />
|
||||
</wsdl:input>
|
||||
|
@ -1128,8 +1200,8 @@
|
|||
<mime:mimeXml part="Body" />
|
||||
</wsdl:output>
|
||||
</wsdl:operation>
|
||||
<wsdl:operation name="writeDeliveryDetails">
|
||||
<http:operation location="/writeDeliveryDetails" />
|
||||
<wsdl:operation name="overIssue">
|
||||
<http:operation location="/overIssue" />
|
||||
<wsdl:input>
|
||||
<mime:content type="application/x-www-form-urlencoded" />
|
||||
</wsdl:input>
|
||||
|
@ -1230,16 +1302,16 @@
|
|||
</wsdl:binding>
|
||||
<wsdl:service name="WebService1">
|
||||
<wsdl:port name="WebService1Soap" binding="tns:WebService1Soap">
|
||||
<soap:address location="http://mattest.cwcec.com/LocWebServices/WebService1.asmx" />
|
||||
<soap:address location="http://mat.cwcec.com/LocWebServices/WebService1.asmx" />
|
||||
</wsdl:port>
|
||||
<wsdl:port name="WebService1Soap12" binding="tns:WebService1Soap12">
|
||||
<soap12:address location="http://mattest.cwcec.com/LocWebServices/WebService1.asmx" />
|
||||
<soap12:address location="http://mat.cwcec.com/LocWebServices/WebService1.asmx" />
|
||||
</wsdl:port>
|
||||
<wsdl:port name="WebService1HttpGet" binding="tns:WebService1HttpGet">
|
||||
<http:address location="http://mattest.cwcec.com/LocWebServices/WebService1.asmx" />
|
||||
<http:address location="http://mat.cwcec.com/LocWebServices/WebService1.asmx" />
|
||||
</wsdl:port>
|
||||
<wsdl:port name="WebService1HttpPost" binding="tns:WebService1HttpPost">
|
||||
<http:address location="http://mattest.cwcec.com/LocWebServices/WebService1.asmx" />
|
||||
<http:address location="http://mat.cwcec.com/LocWebServices/WebService1.asmx" />
|
||||
</wsdl:port>
|
||||
</wsdl:service>
|
||||
</wsdl:definitions>
|
|
@ -6,7 +6,7 @@
|
|||
<binding digest="System.ServiceModel.Configuration.CustomBindingElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089:<?xml version="1.0" encoding="utf-16"?><Data name="WebService1Soap12"><httpTransport /><textMessageEncoding messageVersion="Soap12" /></Data>" bindingType="customBinding" name="WebService1Soap12" />
|
||||
</bindings>
|
||||
<endpoints>
|
||||
<endpoint normalizedDigest="<?xml version="1.0" encoding="utf-16"?><Data address="http://mattest.cwcec.com/LocWebServices/WebService1.asmx" binding="basicHttpBinding" bindingConfiguration="WebService1Soap" contract="MCSService.WebService1Soap" name="WebService1Soap" />" digest="<?xml version="1.0" encoding="utf-16"?><Data address="http://mattest.cwcec.com/LocWebServices/WebService1.asmx" binding="basicHttpBinding" bindingConfiguration="WebService1Soap" contract="MCSService.WebService1Soap" name="WebService1Soap" />" contractName="MCSService.WebService1Soap" name="WebService1Soap" />
|
||||
<endpoint normalizedDigest="<?xml version="1.0" encoding="utf-16"?><Data address="http://mattest.cwcec.com/LocWebServices/WebService1.asmx" binding="customBinding" bindingConfiguration="WebService1Soap12" contract="MCSService.WebService1Soap" name="WebService1Soap12" />" digest="<?xml version="1.0" encoding="utf-16"?><Data address="http://mattest.cwcec.com/LocWebServices/WebService1.asmx" binding="customBinding" bindingConfiguration="WebService1Soap12" contract="MCSService.WebService1Soap" name="WebService1Soap12" />" contractName="MCSService.WebService1Soap" name="WebService1Soap12" />
|
||||
<endpoint normalizedDigest="<?xml version="1.0" encoding="utf-16"?><Data address="http://mat.cwcec.com/LocWebServices/WebService1.asmx" binding="basicHttpBinding" bindingConfiguration="WebService1Soap" contract="MCSService.WebService1Soap" name="WebService1Soap" />" digest="<?xml version="1.0" encoding="utf-16"?><Data address="http://mat.cwcec.com/LocWebServices/WebService1.asmx" binding="basicHttpBinding" bindingConfiguration="WebService1Soap" contract="MCSService.WebService1Soap" name="WebService1Soap" />" contractName="MCSService.WebService1Soap" name="WebService1Soap" />
|
||||
<endpoint normalizedDigest="<?xml version="1.0" encoding="utf-16"?><Data address="http://mat.cwcec.com/LocWebServices/WebService1.asmx" binding="customBinding" bindingConfiguration="WebService1Soap12" contract="MCSService.WebService1Soap" name="WebService1Soap12" />" digest="<?xml version="1.0" encoding="utf-16"?><Data address="http://mat.cwcec.com/LocWebServices/WebService1.asmx" binding="customBinding" bindingConfiguration="WebService1Soap12" contract="MCSService.WebService1Soap" name="WebService1Soap12" />" contractName="MCSService.WebService1Soap" name="WebService1Soap12" />
|
||||
</endpoints>
|
||||
</configurationSnapshot>
|
|
@ -1,5 +1,5 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<SavedWcfConfigurationInformation xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" Version="9.1" CheckSum="3WsJQm8+47Y+tKXgcQf3xwpSakU=">
|
||||
<SavedWcfConfigurationInformation xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" Version="9.1" CheckSum="uG86B3WT1jeys7x2zmrq1Sa3bTc=">
|
||||
<bindingConfigurations>
|
||||
<bindingConfiguration bindingType="basicHttpBinding" name="WebService1Soap">
|
||||
<properties>
|
||||
|
@ -263,10 +263,10 @@
|
|||
</bindingConfiguration>
|
||||
</bindingConfigurations>
|
||||
<endpoints>
|
||||
<endpoint name="WebService1Soap" contract="MCSService.WebService1Soap" bindingType="basicHttpBinding" address="http://mattest.cwcec.com/LocWebServices/WebService1.asmx" bindingConfiguration="WebService1Soap">
|
||||
<endpoint name="WebService1Soap" contract="MCSService.WebService1Soap" bindingType="basicHttpBinding" address="http://mat.cwcec.com/LocWebServices/WebService1.asmx" bindingConfiguration="WebService1Soap">
|
||||
<properties>
|
||||
<property path="/address" isComplexType="false" isExplicitlyDefined="true" clrType="System.Uri, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<serializedValue>http://mattest.cwcec.com/LocWebServices/WebService1.asmx</serializedValue>
|
||||
<serializedValue>http://mat.cwcec.com/LocWebServices/WebService1.asmx</serializedValue>
|
||||
</property>
|
||||
<property path="/behaviorConfiguration" isComplexType="false" isExplicitlyDefined="false" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<serializedValue />
|
||||
|
@ -348,10 +348,10 @@
|
|||
</property>
|
||||
</properties>
|
||||
</endpoint>
|
||||
<endpoint name="WebService1Soap12" contract="MCSService.WebService1Soap" bindingType="customBinding" address="http://mattest.cwcec.com/LocWebServices/WebService1.asmx" bindingConfiguration="WebService1Soap12">
|
||||
<endpoint name="WebService1Soap12" contract="MCSService.WebService1Soap" bindingType="customBinding" address="http://mat.cwcec.com/LocWebServices/WebService1.asmx" bindingConfiguration="WebService1Soap12">
|
||||
<properties>
|
||||
<property path="/address" isComplexType="false" isExplicitlyDefined="true" clrType="System.Uri, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<serializedValue>http://mattest.cwcec.com/LocWebServices/WebService1.asmx</serializedValue>
|
||||
<serializedValue>http://mat.cwcec.com/LocWebServices/WebService1.asmx</serializedValue>
|
||||
</property>
|
||||
<property path="/behaviorConfiguration" isComplexType="false" isExplicitlyDefined="false" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<serializedValue />
|
||||
|
|
|
@ -2,7 +2,6 @@
|
|||
{
|
||||
using Newtonsoft.Json.Linq;
|
||||
using System;
|
||||
using System.Timers;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
|
@ -10,79 +9,8 @@
|
|||
|
||||
public static class MCSWebService
|
||||
{
|
||||
#region 启动监视器 系统启动5分钟
|
||||
/// <summary>
|
||||
/// 监视组件
|
||||
/// </summary>
|
||||
private static Timer messageTimer;
|
||||
|
||||
/// <summary>
|
||||
/// 启动监视器,不一定能成功,根据系统设置决定对监视器执行的操作 系统启动5分钟
|
||||
/// </summary>
|
||||
public static void StartMonitor()
|
||||
{
|
||||
if (messageTimer != null)
|
||||
{
|
||||
messageTimer.Stop();
|
||||
messageTimer.Dispose();
|
||||
messageTimer = null;
|
||||
}
|
||||
messageTimer = new Timer
|
||||
{
|
||||
AutoReset = true
|
||||
};
|
||||
messageTimer.Elapsed += new ElapsedEventHandler(GetCLData);
|
||||
messageTimer.Interval = 1000 * 60 * 60 * 24;// 60分钟 60000 * adTimeJ;
|
||||
messageTimer.Start();
|
||||
}
|
||||
#endregion
|
||||
|
||||
private static void GetCLData(object sender, ElapsedEventArgs e)
|
||||
{
|
||||
getPojectInfo();
|
||||
getVendor();
|
||||
var projects = from x in Funs.DB.Base_Project where x.CLProjectCode != null select x;
|
||||
foreach (var project in projects)
|
||||
{
|
||||
getPoDetails(project.CLProjectCode ?? 0);
|
||||
getIssueDetails(project.CLProjectCode ?? 0);
|
||||
getPartNoInfo(project.CLProjectCode ?? 0);
|
||||
getShelvesNo(project.CLProjectCode ?? 0);
|
||||
getSubcontractor(project.CLProjectCode ?? 0);
|
||||
getReqDetails(project.CLProjectCode ?? 0);
|
||||
}
|
||||
}
|
||||
|
||||
public static void getPojectInfo()
|
||||
{
|
||||
try
|
||||
{
|
||||
MCSService.WebService1SoapClient mscsC = new MCSService.WebService1SoapClient();
|
||||
var details = mscsC.getPojectInfo();
|
||||
if (!string.IsNullOrEmpty(details))
|
||||
{
|
||||
Model.SGGLDB db = Funs.DB;
|
||||
JArray arr = JArray.Parse(details);
|
||||
foreach (var item in arr)
|
||||
{
|
||||
Model.Base_Project project = db.Base_Project.FirstOrDefault(x => x.ProjectCode == item["项目编码"].ToString());
|
||||
if (project != null)
|
||||
{
|
||||
project.CLProjectCode = Funs.GetNewInt(item["项目ID"].ToString());
|
||||
db.SubmitChanges();
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
catch (Exception ex)
|
||||
{
|
||||
ErrLogInfo.WriteLog(ex, "材料管理接口定时器", "MCSWebService.getPojectInfo");
|
||||
}
|
||||
}
|
||||
|
||||
public static void getPoDetails(long projectId)
|
||||
{
|
||||
try
|
||||
{
|
||||
MCSService.WebService1SoapClient mscsC = new MCSService.WebService1SoapClient();
|
||||
var details = mscsC.getPoDetails(projectId);
|
||||
|
@ -118,15 +46,8 @@
|
|||
}
|
||||
}
|
||||
}
|
||||
catch (Exception ex)
|
||||
{
|
||||
ErrLogInfo.WriteLog(ex, "材料管理接口定时器", "MCSWebService.getPoDetails");
|
||||
}
|
||||
}
|
||||
|
||||
public static void getIssueDetails(long projectId)
|
||||
{
|
||||
try
|
||||
{
|
||||
MCSService.WebService1SoapClient mscsC = new MCSService.WebService1SoapClient();
|
||||
var details = mscsC.getIssueDetails(projectId);
|
||||
|
@ -168,15 +89,8 @@
|
|||
}
|
||||
}
|
||||
}
|
||||
catch (Exception ex)
|
||||
{
|
||||
ErrLogInfo.WriteLog(ex, "材料管理接口定时器", "MCSWebService.getIssueDetails");
|
||||
}
|
||||
}
|
||||
|
||||
public static void getPartNoInfo(long projectId)
|
||||
{
|
||||
try
|
||||
{
|
||||
MCSService.WebService1SoapClient mscsC = new MCSService.WebService1SoapClient();
|
||||
var details = mscsC.getPartNoInfo(projectId);
|
||||
|
@ -205,15 +119,8 @@
|
|||
}
|
||||
}
|
||||
}
|
||||
catch (Exception ex)
|
||||
{
|
||||
ErrLogInfo.WriteLog(ex, "材料管理接口定时器", "MCSWebService.getPartNoInfo");
|
||||
}
|
||||
}
|
||||
|
||||
public static void getShelvesNo(long projectId)
|
||||
{
|
||||
try
|
||||
{
|
||||
MCSService.WebService1SoapClient mscsC = new MCSService.WebService1SoapClient();
|
||||
var details = mscsC.getShelvesNo(projectId);
|
||||
|
@ -239,15 +146,8 @@
|
|||
}
|
||||
}
|
||||
}
|
||||
catch (Exception ex)
|
||||
{
|
||||
ErrLogInfo.WriteLog(ex, "材料管理接口定时器", "MCSWebService.getPartNoInfo");
|
||||
}
|
||||
}
|
||||
|
||||
public static void getSubcontractor(long projectId)
|
||||
{
|
||||
try
|
||||
{
|
||||
MCSService.WebService1SoapClient mscsC = new MCSService.WebService1SoapClient();
|
||||
var details = mscsC.getSubcontractor(projectId);
|
||||
|
@ -273,15 +173,8 @@
|
|||
}
|
||||
}
|
||||
}
|
||||
catch (Exception ex)
|
||||
{
|
||||
ErrLogInfo.WriteLog(ex, "材料管理接口定时器", "MCSWebService.getSubcontractor");
|
||||
}
|
||||
}
|
||||
|
||||
public static void getVendor()
|
||||
{
|
||||
try
|
||||
{
|
||||
MCSService.WebService1SoapClient mscsC = new MCSService.WebService1SoapClient();
|
||||
var details = mscsC.getVendor();
|
||||
|
@ -306,15 +199,8 @@
|
|||
}
|
||||
}
|
||||
}
|
||||
catch (Exception ex)
|
||||
{
|
||||
ErrLogInfo.WriteLog(ex, "材料管理接口定时器", "MCSWebService.getVendor");
|
||||
}
|
||||
}
|
||||
|
||||
public static void getReqDetails(long projectId)
|
||||
{
|
||||
try
|
||||
{
|
||||
MCSService.WebService1SoapClient mscsC = new MCSService.WebService1SoapClient();
|
||||
var details = mscsC.getReqDetails(projectId);
|
||||
|
@ -356,10 +242,5 @@
|
|||
}
|
||||
}
|
||||
}
|
||||
catch (Exception ex)
|
||||
{
|
||||
ErrLogInfo.WriteLog(ex, "材料管理接口定时器", "MCSWebService.getVendor");
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -264,6 +264,7 @@
|
|||
<SubType>Designer</SubType>
|
||||
</Content>
|
||||
<Content Include="common\Menu_TestRun.xml" />
|
||||
<Content Include="common\Menu_CLGL.xml" />
|
||||
<Content Include="common\Menu_ZHGL.xml" />
|
||||
<Content Include="common\themes.aspx" />
|
||||
<Content Include="Controls\FlowOperateControl.ascx" />
|
||||
|
|
2047
SGGL/Model/Model.cs
2047
SGGL/Model/Model.cs
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue