|
@@ -6,24 +6,13 @@ import org.apache.commons.lang3.StringUtils;
|
|
|
public class OrderVoStatus {
|
|
|
|
|
|
public static String getPayStatus(String payStatus, String customerPayTime, Integer useType) {
|
|
|
-
|
|
|
if(useType != null && useType == 3){
|
|
|
return "";
|
|
|
}
|
|
|
if(StringUtils.isNotBlank(customerPayTime)){
|
|
|
return "已付款";
|
|
|
}
|
|
|
- if(payStatus == null){
|
|
|
- return "";
|
|
|
- }
|
|
|
- switch (payStatus){
|
|
|
- case "-1" :
|
|
|
- case "0" :
|
|
|
- return "未付款";
|
|
|
- case "-2" : return "已退款";
|
|
|
- case "1" : return "已付款";
|
|
|
- default: return "";
|
|
|
- }
|
|
|
+ return "";
|
|
|
}
|
|
|
|
|
|
}
|