From 8b2191df2f7d94aa299bd43dcbe97c94e5a61bbd Mon Sep 17 00:00:00 2001 From: admin <weikou2014> Date: 星期三, 20 十一月 2019 14:53:34 +0800 Subject: [PATCH] RocketMQ的消息整改 --- fanli/src/main/java/com/yeshi/fanli/util/factory/goods/CommonOrderFactory.java | 20 ++++++++++++++++++++ 1 files changed, 20 insertions(+), 0 deletions(-) diff --git a/fanli/src/main/java/com/yeshi/fanli/util/factory/goods/CommonOrderFactory.java b/fanli/src/main/java/com/yeshi/fanli/util/factory/goods/CommonOrderFactory.java index df62970..c6e20fa 100644 --- a/fanli/src/main/java/com/yeshi/fanli/util/factory/goods/CommonOrderFactory.java +++ b/fanli/src/main/java/com/yeshi/fanli/util/factory/goods/CommonOrderFactory.java @@ -89,6 +89,26 @@ int state = 0; if (order.getValidCode() < 16) { state = CommonOrder.STATE_SX; + String stateDesc = null; + if (order.getValidCode() == 4) + stateDesc = "浜笢甯富璁㈠崟"; + else if (order.getValidCode() == 5) + stateDesc = "璐﹀彿寮傚父"; + else if (order.getValidCode() == 6) + stateDesc = "璧犲搧绫荤洰"; + else if (order.getValidCode() == 7) + stateDesc = "鏍″洯璁㈠崟"; + else if (order.getValidCode() == 8) + stateDesc = "浼佷笟璁㈠崟"; + else if (order.getValidCode() == 9) + stateDesc = "鍥㈣喘璁㈠崟"; + else if (order.getValidCode() == 10) + stateDesc = "涓撶敤鍙戠エ"; + else if (order.getValidCode() == 11) + stateDesc = "涔℃潙鎺ㄥ箍鍛�"; + else if (order.getValidCode() == 13) + stateDesc = "杩濊璁㈠崟"; + commonOrder.setStateDesc(stateDesc); } else if (order.getValidCode() == 16) { state = CommonOrder.STATE_FK; } else if (order.getValidCode() == 17) { -- Gitblit v1.8.0