Commit 6cab61d6 authored by hezhen's avatar hezhen

123

parent 0f350e01
......@@ -20,24 +20,23 @@ public class BaseOrderRevenueVo extends BaseOrderRevenue {
private BigDecimal withdrawAmount;
private String showTypeStr;
private String showTypeStr;
public String getShowTypeStr(){
public String getShowTypeStr() {
String type = this.getType();
showTypeStr="";
if (StringUtils.isNotBlank(type)){
showTypeStr = "";
if (StringUtils.isNotBlank(type)) {
String[] values = type.split(",");
List<String> list = Arrays.asList(values);
if (list.contains(CompanyWalletSourceEnum.VEHICLE.getCode())) {
showTypeStr="租赁费";
}else if (list.contains(CompanyWalletSourceEnum.WATER.getCode())){
showTypeStr="租赁费+上级拥金";
}else if (list.contains(CompanyWalletSourceEnum.REGULATION.getCode())){
showTypeStr="违章金";
showTypeStr = "租赁费";
} else if (list.contains(CompanyWalletSourceEnum.WATER.getCode())) {
showTypeStr = "租赁费+上级拥金";
} else if (list.contains(CompanyWalletSourceEnum.REGULATION.getCode())) {
showTypeStr = "违章金";
}
return showTypeStr;
}
return showTypeStr;
}
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment