From 1a9f55664a8deb94598d00e5ca23a4e02a6ecdc0 Mon Sep 17 00:00:00 2001 From: jhc <2991879965@qq.com> Date: 星期一, 04 十一月 2024 10:22:52 +0800 Subject: [PATCH] 更改生产计划结构体 --- common.h | 23 +++++++++++++++-------- 1 files changed, 15 insertions(+), 8 deletions(-) diff --git a/common.h b/common.h index f334c31..e48cee1 100644 --- a/common.h +++ b/common.h @@ -606,10 +606,11 @@ //鐢熶骇璁″垝绠$悊 struct PdplanInfo { - int id;//鐢熶骇璁″垝缂栧彿 - char planName[32];//鐢熶骇璁″垝鍚嶅瓧 + int planId;//璁㈠崟缂栧彿 + char planName[32];//璁㈠崟鍚嶅瓧 char startDate[32];//璧峰鏃ユ湡 - char closingDate[32];//鎴嚦鏃ユ湡 + char closingDate[32];//浜や粯鏃ユ湡 + char pdName[8];//浜у搧鍚� double plannedPd;//璁″垝鐢熶骇閲� double actualPd;//瀹為檯鐢熶骇閲� double progress;//鐢熶骇杩涘害 @@ -619,7 +620,9 @@ struct MonoutputInfo { int month;//鏈堜唤 - double output;//鏈堜骇閲� + double aOutput;//a浜у搧鏈堜骇閲� + double bOutput;//b浜у搧鏈堜骇閲� + double cOutput;//c浜у搧鏈堜骇閲� }; //娣诲姞涓�鏉$敓浜ц鍒掔殑璇锋眰缁撴瀯浣� @@ -693,12 +696,14 @@ struct QueryPdplanReq { Head head; - int id;//鐢熶骇璁″垝缂栧彿 - char planName[32];//鐢熶骇璁″垝鍚嶅瓧 + int planId;//璁㈠崟缂栧彿 + char planName[32];//璁㈠崟鍒掑悕瀛� char startDate[32];//璧峰鏃ユ湡 - char closingDate[32];//鎴嚦鏃ユ湡 + char closingDate[32];//浜や粯鏃ユ湡 + char pdName[8];//浜у搧鍚� double plannedPd;//璁″垝鐢熶骇閲� double actualPd;//瀹為檯鐢熶骇閲� + double progress;//鐢熶骇杩涘害 int finishOntime;//鏄惁鎸夋湡瀹屾垚 QueryPdplanReq() { head.type = QUERY_PDPLAN_REQ; @@ -791,7 +796,9 @@ { Head head; int month;//鏈堜唤 - double output;//鏈堜骇閲� + double aOutput;//a浜у搧鏈堜骇閲� + double bOutput;//b浜у搧鏈堜骇閲� + double cOutput;//c浜у搧鏈堜骇閲� QueryMonoutputReq() { head.type = QUERY_MONOUTPUT_REQ; head.len = sizeof(QueryMonoutputReq); -- Gitblit v1.8.0