|
@ -200,6 +200,8 @@ public class OrderVerificationResultActivity extends AppCompatActivity { |
|
|
return "年月卡"; |
|
|
return "年月卡"; |
|
|
case 5: |
|
|
case 5: |
|
|
return "课程"; |
|
|
return "课程"; |
|
|
|
|
|
case -1: |
|
|
|
|
|
return ""; // 当orderType为-1时返回空字符串 |
|
|
default: |
|
|
default: |
|
|
return "orderType:" + orderType; |
|
|
return "orderType:" + orderType; |
|
|
} |
|
|
} |
|
@ -233,7 +235,9 @@ public class OrderVerificationResultActivity extends AppCompatActivity { |
|
|
if (project != null && !project.isEmpty()) { |
|
|
if (project != null && !project.isEmpty()) { |
|
|
orderTypeTitle += " - " + project; |
|
|
orderTypeTitle += " - " + project; |
|
|
} |
|
|
} |
|
|
|
|
|
if(!orderTypeTitle.isEmpty()||!orderTypeTitle.equals("")){ |
|
|
tvTitle.setText(tvTitle.getText() + " (" + orderTypeTitle + ")"); |
|
|
tvTitle.setText(tvTitle.getText() + " (" + orderTypeTitle + ")"); |
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
// 设置状态信息 |
|
|
// 设置状态信息 |
|
|
tvStatus.setText(status); |
|
|
tvStatus.setText(status); |
|
@ -497,6 +501,10 @@ public class OrderVerificationResultActivity extends AppCompatActivity { |
|
|
* 添加基本订单信息(包含验证码) |
|
|
* 添加基本订单信息(包含验证码) |
|
|
*/ |
|
|
*/ |
|
|
private void addBasicOrderInfoWithVerificationCode() { |
|
|
private void addBasicOrderInfoWithVerificationCode() { |
|
|
|
|
|
|
|
|
|
|
|
if(!orderNo.isEmpty()){ |
|
|
|
|
|
orderNo = "暂无"; |
|
|
|
|
|
} |
|
|
addInfoRow("订单编号", orderNo); |
|
|
addInfoRow("订单编号", orderNo); |
|
|
|
|
|
|
|
|
// 从verifyResult中获取验证码,而不是使用verificationCode变量 |
|
|
// 从verifyResult中获取验证码,而不是使用verificationCode变量 |
|
|