浏览代码

Z991239-5508 #comment feat: 去除设置物料JS接口定义

Signed-Off-By: commit-hook
刘文涛80174520 1 年之前
父节点
当前提交
634e6f203e

+ 0 - 98
Module/mod_cardissuerstore/CardIssuerStore_client_g.h

@@ -1928,104 +1928,6 @@ public:
 		return Error;
 	}
 
-	ErrorCodeEnum SetMaterialCountJS(CardIssuerStoreService_SetMaterialCountJS_Req &Req, CSmartPointer<IAsynWaitSp> &spAsyncWait, DWORD dwTimeout)
-	{
-		CSmartPointer<IClientSessionFunction> pFunc = GetFunction();
-		CAutoBuffer Buf = SpObject2Buffer(Req);
-		if (m_context.checkEmpty())
-		{
-			m_context.AutoGenerate();
-			DbgToBeidou(m_context, m_pEntityBase != NULL ? m_pEntityBase->GetEntityName() : "")();
-			m_context = m_context.upgradeLink();
-		}
-		auto ret = pFunc->AsyncRequest(CardIssuerStoreService_Method_SetMaterialCountJS, CardIssuerStoreService_MethodSignature_SetMaterialCountJS, Buf, spAsyncWait, m_context, dwTimeout);
-		m_context.clear();
-		return ret;
-	}
-	ErrorCodeEnum SetMaterialCountJS(CardIssuerStoreService_SetMaterialCountJS_Req &Req, CardIssuerStoreService_SetMaterialCountJS_Ans &Ans, DWORD dwTimeout)
-	{
-		CSmartPointer<IAsynWaitSp> spAsyncWait;
-		ErrorCodeEnum Error = SetMaterialCountJS(Req, spAsyncWait, dwTimeout);
-		if (Error == Error_Succeed) {
-			bool bEnd = false;
-			Error = SpWaitAnswerObject(spAsyncWait, Ans, bEnd, dwTimeout);
-			LOG_ASSERT(Error || bEnd);
-		}
-		return Error;
-	}
-	ErrorCodeEnum SetMaterialCountJS(CardIssuerStoreService_SetMaterialCountJS_Req &Req, CardIssuerStoreService_SetMaterialCountJS_Ans &Ans, DWORD dwTimeout, DWORD &dwUserError, CSimpleString &str)
-	{
-		CSmartPointer<IAsynWaitSp> spAsyncWait;
-		ErrorCodeEnum Error = SetMaterialCountJS(Req, spAsyncWait, dwTimeout);
-		if (Error == Error_Succeed) {
-			bool bEnd = false;
-			Error = SpWaitAnswerObject(spAsyncWait, Ans, bEnd, dwUserError, str, dwTimeout);
-			LOG_ASSERT(Error || bEnd);
-		}
-		return Error;
-	}
-	ErrorCodeEnum SetMaterialCountJS(CardIssuerStoreService_SetMaterialCountJS_Req &Req, CardIssuerStoreService_SetMaterialCountJS_Ans &Ans, DWORD dwTimeout, DWORD &dwUserError)
-	{
-		CSmartPointer<IAsynWaitSp> spAsyncWait;
-		ErrorCodeEnum Error = SetMaterialCountJS(Req, spAsyncWait, dwTimeout);
-		if (Error == Error_Succeed) {
-			bool bEnd = false;
-			CSimpleString str;
-			Error = SpWaitAnswerObject(spAsyncWait, Ans, bEnd, dwUserError, str, dwTimeout);
-			LOG_ASSERT(Error || bEnd);
-		}
-		return Error;
-	}
-
-	ErrorCodeEnum GetMaterialCountJS(CardIssuerStoreService_GetMaterialCountJS_Req &Req, CSmartPointer<IAsynWaitSp> &spAsyncWait, DWORD dwTimeout)
-	{
-		CSmartPointer<IClientSessionFunction> pFunc = GetFunction();
-		CAutoBuffer Buf = SpObject2Buffer(Req);
-		if (m_context.checkEmpty())
-		{
-			m_context.AutoGenerate();
-			DbgToBeidou(m_context, m_pEntityBase != NULL ? m_pEntityBase->GetEntityName() : "")();
-			m_context = m_context.upgradeLink();
-		}
-		auto ret = pFunc->AsyncRequest(CardIssuerStoreService_Method_GetMaterialCountJS, CardIssuerStoreService_MethodSignature_GetMaterialCountJS, Buf, spAsyncWait, m_context, dwTimeout);
-		m_context.clear();
-		return ret;
-	}
-	ErrorCodeEnum GetMaterialCountJS(CardIssuerStoreService_GetMaterialCountJS_Req &Req, CardIssuerStoreService_GetMaterialCountJS_Ans &Ans, DWORD dwTimeout)
-	{
-		CSmartPointer<IAsynWaitSp> spAsyncWait;
-		ErrorCodeEnum Error = GetMaterialCountJS(Req, spAsyncWait, dwTimeout);
-		if (Error == Error_Succeed) {
-			bool bEnd = false;
-			Error = SpWaitAnswerObject(spAsyncWait, Ans, bEnd, dwTimeout);
-			LOG_ASSERT(Error || bEnd);
-		}
-		return Error;
-	}
-	ErrorCodeEnum GetMaterialCountJS(CardIssuerStoreService_GetMaterialCountJS_Req &Req, CardIssuerStoreService_GetMaterialCountJS_Ans &Ans, DWORD dwTimeout, DWORD &dwUserError, CSimpleString &str)
-	{
-		CSmartPointer<IAsynWaitSp> spAsyncWait;
-		ErrorCodeEnum Error = GetMaterialCountJS(Req, spAsyncWait, dwTimeout);
-		if (Error == Error_Succeed) {
-			bool bEnd = false;
-			Error = SpWaitAnswerObject(spAsyncWait, Ans, bEnd, dwUserError, str, dwTimeout);
-			LOG_ASSERT(Error || bEnd);
-		}
-		return Error;
-	}
-	ErrorCodeEnum GetMaterialCountJS(CardIssuerStoreService_GetMaterialCountJS_Req &Req, CardIssuerStoreService_GetMaterialCountJS_Ans &Ans, DWORD dwTimeout, DWORD &dwUserError)
-	{
-		CSmartPointer<IAsynWaitSp> spAsyncWait;
-		ErrorCodeEnum Error = GetMaterialCountJS(Req, spAsyncWait, dwTimeout);
-		if (Error == Error_Succeed) {
-			bool bEnd = false;
-			CSimpleString str;
-			Error = SpWaitAnswerObject(spAsyncWait, Ans, bEnd, dwUserError, str, dwTimeout);
-			LOG_ASSERT(Error || bEnd);
-		}
-		return Error;
-	}
-
 	ErrorCodeEnum SAMICCommandJS(CardIssuerStoreService_SAMICCommandJS_Req &Req, CSmartPointer<IAsynWaitSp> &spAsyncWait, DWORD dwTimeout)
 	{
 		CSmartPointer<IClientSessionFunction> pFunc = GetFunction();

+ 0 - 80
Module/mod_cardissuerstore/CardIssuerStore_def_g.h

@@ -53,8 +53,6 @@ namespace CardIssuerStore {
 #define CardIssuerStoreService_Method_QueryInternalHasCardJS 44
 #define CardIssuerStoreService_Method_IssueFromBoxJS 45
 #define CardIssuerStoreService_Method_IssueFromSlotJS 46
-#define CardIssuerStoreService_Method_SetMaterialCountJS 47
-#define CardIssuerStoreService_Method_GetMaterialCountJS 48
 #define CardIssuerStoreService_Method_SAMICCommandJS 49
 #define CardIssuerStoreService_Method_WriteTrackJS 50
 #define CardIssuerStoreService_Method_PrintCardImmediatelyJS 51
@@ -106,8 +104,6 @@ namespace CardIssuerStore {
 #define CardIssuerStoreService_MethodSignature_QueryInternalHasCardJS -233766940
 #define CardIssuerStoreService_MethodSignature_IssueFromBoxJS -372937885
 #define CardIssuerStoreService_MethodSignature_IssueFromSlotJS 1061987729
-#define CardIssuerStoreService_MethodSignature_SetMaterialCountJS 780405825
-#define CardIssuerStoreService_MethodSignature_GetMaterialCountJS 1546227351
 #define CardIssuerStoreService_MethodSignature_SAMICCommandJS -535533507
 #define CardIssuerStoreService_MethodSignature_WriteTrackJS 1028099039
 #define CardIssuerStoreService_MethodSignature_PrintCardImmediatelyJS -315448088
@@ -159,8 +155,6 @@ namespace CardIssuerStore {
 #define CardIssuerStoreService_LogCode_QueryInternalHasCardJS "QLR040222044"
 #define CardIssuerStoreService_LogCode_IssueFromBoxJS "QLR040222045"
 #define CardIssuerStoreService_LogCode_IssueFromSlotJS "QLR040222046"
-#define CardIssuerStoreService_LogCode_SetMaterialCountJS "QLR040222047"
-#define CardIssuerStoreService_LogCode_GetMaterialCountJS "QLR040222048"
 #define CardIssuerStoreService_LogCode_SAMICCommandJS "QLR040222049"
 #define CardIssuerStoreService_LogCode_WriteTrackJS "QLR040222050"
 #define CardIssuerStoreService_LogCode_PrintCardImmediatelyJS "QLR040222051"
@@ -1219,80 +1213,6 @@ struct CardIssuerStoreService_IssueFromSlotJS_Ans
 
 };
 
-struct CardIssuerStoreService_SetMaterialCountJS_Req
-{
-	CAutoArray<int> SetHopper;
-	int SetCaptured;
-	int captured;
-	CAutoArray<CSimpleStringA> CardBoxNo;
-	CAutoArray<CSimpleStringA> PsbCode;
-	CAutoArray<CSimpleStringA> PsbName;
-	CAutoArray<CSimpleStringA> Maintainer;
-	CAutoArray<CSimpleStringA> MaintainTime;
-	CAutoArray<int> CardInit;
-	CAutoArray<int> CardPercent;
-	CAutoArray<int> remains;
-	CAutoArray<int> issued;
-	CAutoArray<int> mixed;
-	CAutoArray<int> reserved1;
-	CAutoArray<CSimpleStringA> reserved2;
-
-	void Serialize(SpBuffer &Buf)
-	{
-		auto & buf = Buf & SetHopper & SetCaptured & captured & CardBoxNo & PsbCode & PsbName & Maintainer & MaintainTime & CardInit & CardPercent & remains & issued & mixed & reserved1 & reserved2;
-	}
-
-};
-
-struct CardIssuerStoreService_SetMaterialCountJS_Ans
-{
-	CAutoArray<int> reserved1;
-	CAutoArray<CSimpleStringA> reserved2;
-
-	void Serialize(SpBuffer &Buf)
-	{
-		auto & buf = Buf & reserved1 & reserved2;
-	}
-
-};
-
-struct CardIssuerStoreService_GetMaterialCountJS_Req
-{
-	CAutoArray<int> GetHopper;
-	CAutoArray<int> reserved1;
-	CAutoArray<CSimpleStringA> reserved2;
-
-	void Serialize(SpBuffer &Buf)
-	{
-		auto & buf = Buf & GetHopper & reserved1 & reserved2;
-	}
-
-};
-
-struct CardIssuerStoreService_GetMaterialCountJS_Ans
-{
-	int captured;
-	CAutoArray<int> hasHopper;
-	CAutoArray<CSimpleStringA> CardBoxNo;
-	CAutoArray<CSimpleStringA> PsbCode;
-	CAutoArray<CSimpleStringA> PsbName;
-	CAutoArray<CSimpleStringA> Maintainer;
-	CAutoArray<CSimpleStringA> MaintainTime;
-	CAutoArray<int> CardInit;
-	CAutoArray<int> CardPercent;
-	CAutoArray<int> remains;
-	CAutoArray<int> issued;
-	CAutoArray<int> mixed;
-	CAutoArray<int> reserved1;
-	CAutoArray<CSimpleStringA> reserved2;
-
-	void Serialize(SpBuffer &Buf)
-	{
-		auto & buf = Buf & captured & hasHopper & CardBoxNo & PsbCode & PsbName & Maintainer & MaintainTime & CardInit & CardPercent & remains & issued & mixed & reserved1 & reserved2;
-	}
-
-};
-
 struct CardIssuerStoreService_SAMICCommandJS_Req
 {
 	int cmdType;

+ 0 - 54
Module/mod_cardissuerstore/CardIssuerStore_server_g.h

@@ -317,20 +317,6 @@ public:
 				Error = Error_MethodSignatureFailed;
 			}
 			break;
-		case CardIssuerStoreService_Method_SetMaterialCountJS:
-			if (dwSignature == CardIssuerStoreService_MethodSignature_SetMaterialCountJS) {
-				bOverlap = true;
-			} else {
-				Error = Error_MethodSignatureFailed;
-			}
-			break;
-		case CardIssuerStoreService_Method_GetMaterialCountJS:
-			if (dwSignature == CardIssuerStoreService_MethodSignature_GetMaterialCountJS) {
-				bOverlap = true;
-			} else {
-				Error = Error_MethodSignatureFailed;
-			}
-			break;
 		case CardIssuerStoreService_Method_SAMICCommandJS:
 			if (dwSignature == CardIssuerStoreService_MethodSignature_SAMICCommandJS) {
 				bOverlap = true;
@@ -610,16 +596,6 @@ public:
 				Error = Error_MethodSignatureFailed;
 			}
 			break;
-		case CardIssuerStoreService_Method_SetMaterialCountJS:
-			if (dwSignature != CardIssuerStoreService_MethodSignature_SetMaterialCountJS) {
-				Error = Error_MethodSignatureFailed;
-			}
-			break;
-		case CardIssuerStoreService_Method_GetMaterialCountJS:
-			if (dwSignature != CardIssuerStoreService_MethodSignature_GetMaterialCountJS) {
-				Error = Error_MethodSignatureFailed;
-			}
-			break;
 		case CardIssuerStoreService_Method_SAMICCommandJS:
 			if (dwSignature != CardIssuerStoreService_MethodSignature_SAMICCommandJS) {
 				Error = Error_MethodSignatureFailed;
@@ -877,16 +853,6 @@ public:
 	/// override by user
 	}
 
-	virtual void Handle_SetMaterialCountJS(SpReqAnsContext<CardIssuerStoreService_SetMaterialCountJS_Req, CardIssuerStoreService_SetMaterialCountJS_Ans>::Pointer ctx)
-	{
-	/// override by user
-	}
-
-	virtual void Handle_GetMaterialCountJS(SpReqAnsContext<CardIssuerStoreService_GetMaterialCountJS_Req, CardIssuerStoreService_GetMaterialCountJS_Ans>::Pointer ctx)
-	{
-	/// override by user
-	}
-
 	virtual void Handle_SAMICCommandJS(SpReqAnsContext<CardIssuerStoreService_SAMICCommandJS_Req, CardIssuerStoreService_SAMICCommandJS_Ans>::Pointer ctx)
 	{
 	/// override by user
@@ -1358,26 +1324,6 @@ public:
 						Handle_IssueFromSlotJS(ctx);
 					}
 					break;
-				case CardIssuerStoreService_Method_SetMaterialCountJS:
-					{
-						SpReqAnsContext<CardIssuerStoreService_SetMaterialCountJS_Req,CardIssuerStoreService_SetMaterialCountJS_Ans>::Pointer ctx;
-						ctx.Attach(new SpReqAnsContext<CardIssuerStoreService_SetMaterialCountJS_Req,CardIssuerStoreService_SetMaterialCountJS_Ans>(pTransactionContext));
-						SpBuffer2Object(Buf, ctx->Req);
-						pTransactionContext->GetLinkContext(ctx->link);
-						EntityResource::setLink(ctx->link);
-						Handle_SetMaterialCountJS(ctx);
-					}
-					break;
-				case CardIssuerStoreService_Method_GetMaterialCountJS:
-					{
-						SpReqAnsContext<CardIssuerStoreService_GetMaterialCountJS_Req,CardIssuerStoreService_GetMaterialCountJS_Ans>::Pointer ctx;
-						ctx.Attach(new SpReqAnsContext<CardIssuerStoreService_GetMaterialCountJS_Req,CardIssuerStoreService_GetMaterialCountJS_Ans>(pTransactionContext));
-						SpBuffer2Object(Buf, ctx->Req);
-						pTransactionContext->GetLinkContext(ctx->link);
-						EntityResource::setLink(ctx->link);
-						Handle_GetMaterialCountJS(ctx);
-					}
-					break;
 				case CardIssuerStoreService_Method_SAMICCommandJS:
 					{
 						SpReqAnsContext<CardIssuerStoreService_SAMICCommandJS_Req,CardIssuerStoreService_SAMICCommandJS_Ans>::Pointer ctx;