修改话费订单导出

dev-discount
袁野 2 years ago
parent 98a3c14aec
commit edd4771bd8
  1. 2
      hai-bweb/src/main/java/com/bweb/controller/HighTestController.java
  2. 13
      hai-bweb/src/main/java/com/bweb/model/ExportOutRechargeOrder.java
  3. 1
      hai-service/src/main/java/com/hai/dao/OutRechargeOrderMapperExt.java
  4. 11
      hai-service/src/main/java/com/hai/model/OutRechargeOrderModel.java
  5. 2
      hai-service/src/main/java/com/hai/service/impl/HltUnionCardVipServiceImpl.java

File diff suppressed because one or more lines are too long

@ -19,6 +19,9 @@ public class ExportOutRechargeOrder {
@ExcelProperty("支付方式") @ExcelProperty("支付方式")
private String payTypeName; private String payTypeName;
@ExcelProperty("工会卡")
private String laborUnionCard;
@ExcelProperty("充值内容") @ExcelProperty("充值内容")
private String rechargeContent; private String rechargeContent;
@ -55,6 +58,8 @@ public class ExportOutRechargeOrder {
@ExcelProperty("充值状态") @ExcelProperty("充值状态")
private String rechargeStatusName; private String rechargeStatusName;
// 错误消息 // 错误消息
private String errorMessage; private String errorMessage;
@ -187,6 +192,14 @@ public class ExportOutRechargeOrder {
this.rechargeStatusName = rechargeStatusName; this.rechargeStatusName = rechargeStatusName;
} }
public String getLaborUnionCard() {
return laborUnionCard;
}
public void setLaborUnionCard(String laborUnionCard) {
this.laborUnionCard = laborUnionCard;
}
public String getErrorMessage() { public String getErrorMessage() {
return errorMessage; return errorMessage;
} }

@ -66,6 +66,7 @@ public interface OutRechargeOrderMapperExt {
"SELECT" + "SELECT" +
" order_no as orderNo," + " order_no as orderNo," +
" operator_name as operatorName," + " operator_name as operatorName," +
" labor_union_card as laborUnionCard," +
" case recharge_type when 1 then '快充' when 2 then '慢充' end rechargeTypeName ," + " case recharge_type when 1 then '快充' when 2 then '慢充' end rechargeTypeName ," +
" case pay_type when 2 then '微信支付' when 3 then '工会卡支付' when 4 then '银联支付' when null then '积分抵扣' end payTypeName," + " case pay_type when 2 then '微信支付' when 3 then '工会卡支付' when 4 then '银联支付' when null then '积分抵扣' end payTypeName," +
" recharge_content as rechargeContent,recharge_price as rechargePrice,pay_price as payPrice,discount_deduction_price as discountDeductionPrice,integral_deduction_price as integralDeductionPrice,pay_real_price as payRealPrice," + " recharge_content as rechargeContent,recharge_price as rechargePrice,pay_price as payPrice,discount_deduction_price as discountDeductionPrice,integral_deduction_price as integralDeductionPrice,pay_real_price as payRealPrice," +

@ -23,6 +23,7 @@ public class OutRechargeOrderModel extends OutRechargeOrder {
private Date payTime; private Date payTime;
private String payStatusName; private String payStatusName;
private String rechargeStatusName; private String rechargeStatusName;
private String laborUnionCard;
@Override @Override
public String getOrderNo() { public String getOrderNo() {
@ -174,4 +175,14 @@ public class OutRechargeOrderModel extends OutRechargeOrder {
public void setRechargeStatusName(String rechargeStatusName) { public void setRechargeStatusName(String rechargeStatusName) {
this.rechargeStatusName = rechargeStatusName; this.rechargeStatusName = rechargeStatusName;
} }
@Override
public String getLaborUnionCard() {
return laborUnionCard;
}
@Override
public void setLaborUnionCard(String laborUnionCard) {
this.laborUnionCard = laborUnionCard;
}
} }

@ -83,6 +83,7 @@ public class HltUnionCardVipServiceImpl implements HltUnionCardVipService {
// 1: 1-E信通会员权益,2-工会卡会员权益 // 1: 1-E信通会员权益,2-工会卡会员权益
int equityLevel = 0; int equityLevel = 0;
if (cardInfoObject != null) {
// 判断用户是否有会员权益 // 判断用户是否有会员权益
for (Object dataObject : cardInfoObject.getJSONArray("data")) { for (Object dataObject : cardInfoObject.getJSONArray("data")) {
JSONObject d = (JSONObject) dataObject; JSONObject d = (JSONObject) dataObject;
@ -98,6 +99,7 @@ public class HltUnionCardVipServiceImpl implements HltUnionCardVipService {
equityLevel = 1; equityLevel = 1;
} }
} }
}
// 判断汇联通会员等级 1-E信通会员,2-工会卡会员,12-E信通和工会卡会员 // 判断汇联通会员等级 1-E信通会员,2-工会卡会员,12-E信通和工会卡会员
if (isVip) { if (isVip) {

Loading…
Cancel
Save