| | |
| | | if (tOrderPrivateCar != null){ |
| | | waterVO.setCode(tOrderPrivateCar.getOrderNum()); |
| | | String string = tOrderPrivateCar.getPayMoney().toString(); |
| | | waterVO.setMoney(new BigDecimal(string)); |
| | | waterVO.setMoney(new BigDecimal(string)+""); |
| | | }else{ |
| | | waterVO.setMoney(new BigDecimal("0")); |
| | | waterVO.setMoney(new BigDecimal("0")+""); |
| | | } |
| | | TUser user1 = appUserService.selectById(tOrderPrivateCar.getUserId()); |
| | | if (user1!=null){ |
| | |
| | | // 小件物流 |
| | | waterVO.setCode(tOrderLogistic.getOrderNum()); |
| | | String string = tOrderLogistic.getPayMoney().toString(); |
| | | waterVO.setMoney(new BigDecimal(string)); |
| | | waterVO.setMoney(new BigDecimal("0")); |
| | | waterVO.setMoney(new BigDecimal(string)+""); |
| | | waterVO.setMoney(new BigDecimal("0")+""); |
| | | TUser user2 = appUserService.selectById(tOrderLogistic.getUserId()); |
| | | if (user2!=null){ |
| | | waterVO.setName(user2.getNickName()); |
| | |
| | | // 专车 |
| | | waterVO.setCode(tOrderPrivateCar.getOrderNum()); |
| | | String string = orderCancel.getMoney().toString(); |
| | | waterVO.setMoney(new BigDecimal(string)); |
| | | waterVO.setMoney(new BigDecimal(string)+""); |
| | | TUser user1 = appUserService.selectById(tOrderPrivateCar.getUserId()); |
| | | if (user1!=null){ |
| | | waterVO.setName(user1.getNickName()); |
| | |
| | | // 小件物流 |
| | | waterVO1.setCode(tOrderLogistics1.getOrderNum()); |
| | | String string1 = orderCancel.getMoney().toString(); |
| | | waterVO1.setMoney(new BigDecimal(string1)); |
| | | waterVO1.setMoney(new BigDecimal(string1)+""); |
| | | TUser user2 = appUserService.selectById(tOrderLogistics1.getUserId()); |
| | | if (user2!=null){ |
| | | waterVO1.setName(user2.getNickName()); |
| | |
| | | waterVO.setPhone(tDriver.getPhone()); |
| | | } |
| | | |
| | | waterVO.setMoney(tPubWithdrawal.getMoney()); |
| | | waterVO.setPayType("银行卡支付"); |
| | | waterVO.setMoney("-"+tPubWithdrawal.getMoney()); |
| | | waterVO.setPayType("手机支付"); |
| | | waterVO.setType("司机提现"); |
| | | waterVO.setRemark(tPubWithdrawal.getRemark()); |
| | | res.add(waterVO); |
| | |
| | | waterVO.setName(user2.getNickName()); |
| | | waterVO.setPhone(user2.getPhone()); |
| | | } |
| | | waterVO.setMoney(tPubWithdrawal.getMoney()); |
| | | waterVO.setPayType("银行卡支付"); |
| | | waterVO.setMoney("-"+tPubWithdrawal.getMoney()); |
| | | waterVO.setPayType("手机支付"); |
| | | waterVO.setType("用户提现"); |
| | | waterVO.setRemark(tPubWithdrawal.getRemark()); |
| | | res.add(waterVO); |
| | |
| | | } |
| | | } |
| | | |
| | | waterVO.setMoney(new BigDecimal(paymentRecord.getAmount().toString())); |
| | | waterVO.setMoney(new BigDecimal(paymentRecord.getAmount().toString())+""); |
| | | }else{ |
| | | continue; |
| | | } |
| | |
| | | if (income.getOrderMoney() != null){ |
| | | String string = income.getPrice().toString(); |
| | | BigDecimal bigDecimal1 = new BigDecimal(string); |
| | | platformVO.setMoney(bigDecimal1); |
| | | platformVO.setMoney(bigDecimal1+""); |
| | | }else{ |
| | | continue; |
| | | } |
| | |
| | | platformVO.setPhone(tDriver1.getPhone()); |
| | | } |
| | | platformVO.setRemark(tOrderLogistics1.getRemark()); |
| | | platformVO.setMoney(new BigDecimal(income.getPrice())); |
| | | platformVO.setMoney(new BigDecimal(income.getPrice())+""); |
| | | if (income.getCreateTime()!=null){ |
| | | platformVO.setInsertTime(format.format(income.getCreateTime())); |
| | | } |
| | |
| | | // 专车 |
| | | waterVO.setCode(tOrderPrivateCar.getOrderNum()); |
| | | String string = tOrderPrivateCar.getPayMoney().toString(); |
| | | waterVO.setMoney(new BigDecimal(string)); |
| | | waterVO.setMoney(new BigDecimal(string)+""); |
| | | TUser user1 = appUserService.selectById(tOrderPrivateCar.getUserId()); |
| | | if (user1!=null){ |
| | | waterVO.setName(user1.getNickName()); |
| | |
| | | // 小件物流 |
| | | waterVO.setCode(tOrderLogistic.getOrderNum()); |
| | | String string = tOrderLogistic.getPayMoney().toString(); |
| | | waterVO.setMoney(new BigDecimal(string)); |
| | | waterVO.setMoney(new BigDecimal("0")); |
| | | waterVO.setMoney(new BigDecimal(string)+""); |
| | | waterVO.setMoney(new BigDecimal("0")+""); |
| | | TUser user2 = appUserService.selectById(tOrderLogistic.getUserId()); |
| | | if (user2!=null){ |
| | | waterVO.setName(user2.getNickName()); |
| | |
| | | WaterVO waterVO = new WaterVO(); |
| | | switch (orderCancel.getOrderType()){ |
| | | case 1: |
| | | TOrderPrivateCar tOrderPrivateCar = orderPrivateCarService.selectById(orderCancel); |
| | | TOrderPrivateCar tOrderPrivateCar = orderPrivateCarService.selectById(orderCancel.getOrderId()); |
| | | if (tOrderPrivateCar == null){ |
| | | continue; |
| | | } |
| | |
| | | // 专车 |
| | | waterVO.setCode(tOrderPrivateCar.getOrderNum()); |
| | | String string = orderCancel.getMoney().toString(); |
| | | waterVO.setMoney(new BigDecimal(string)); |
| | | waterVO.setMoney(new BigDecimal(string)+""); |
| | | TUser user1 = appUserService.selectById(tOrderPrivateCar.getUserId()); |
| | | if (user1!=null){ |
| | | waterVO.setName(user1.getNickName()); |
| | |
| | | // 小件物流 |
| | | waterVO1.setCode(tOrderLogistics1.getOrderNum()); |
| | | String string1 = orderCancel.getMoney().toString(); |
| | | waterVO1.setMoney(new BigDecimal(string1)); |
| | | waterVO1.setMoney(new BigDecimal(string1)+""); |
| | | TUser user2 = appUserService.selectById(tOrderLogistics1.getUserId()); |
| | | if (user2!=null){ |
| | | waterVO1.setName(user2.getNickName()); |
| | |
| | | waterVO.setPhone(tDriver.getPhone()); |
| | | } |
| | | |
| | | waterVO.setMoney(tPubWithdrawal.getMoney()); |
| | | waterVO.setPayType("银行卡支付"); |
| | | waterVO.setMoney("-"+tPubWithdrawal.getMoney()); |
| | | waterVO.setPayType("手机支付"); |
| | | waterVO.setType("司机提现"); |
| | | waterVO.setRemark(tPubWithdrawal.getRemark()); |
| | | res.add(waterVO); |
| | |
| | | waterVO.setName(user2.getNickName()); |
| | | waterVO.setPhone(user2.getPhone()); |
| | | } |
| | | waterVO.setMoney(tPubWithdrawal.getMoney()); |
| | | waterVO.setPayType("银行卡支付"); |
| | | waterVO.setMoney("-"+tPubWithdrawal.getMoney()); |
| | | waterVO.setPayType("手机支付"); |
| | | waterVO.setType("用户提现"); |
| | | waterVO.setRemark(tPubWithdrawal.getRemark()); |
| | | res.add(waterVO); |
| | |
| | | } |
| | | } |
| | | |
| | | waterVO.setMoney(new BigDecimal(paymentRecord.getAmount().toString())); |
| | | waterVO.setMoney(new BigDecimal(paymentRecord.getAmount().toString())+""); |
| | | }else{ |
| | | continue; |
| | | } |
| | |
| | | if (income.getPrice() != null){ |
| | | String string = income.getPrice().toString(); |
| | | BigDecimal bigDecimal1 = new BigDecimal(string); |
| | | platformVO.setMoney(bigDecimal1); |
| | | platformVO.setMoney(bigDecimal1+""); |
| | | }else{ |
| | | continue; |
| | | } |
| | |
| | | } |
| | | |
| | | platformVO.setRemark(tOrderLogistics1.getRemark()); |
| | | platformVO.setMoney(BigDecimal.valueOf(income.getPrice())); |
| | | platformVO.setMoney(BigDecimal.valueOf(income.getPrice())+""); |
| | | if (income.getCreateTime()!=null){ |
| | | platformVO.setInsertTime(format.format(income.getCreateTime())); |
| | | } |
| | |
| | | if (tUser!=null){ |
| | | grantVO.setName(tUser.getNickName()); |
| | | } |
| | | if (userRedPacketRecord.getRedPacketActivityId() == null){ |
| | | // 后台发放的红包 |
| | | grantVO.setRemark("后台指定派发"); |
| | | } |
| | | UserActivityRedenvelope userActivityRedenvelope = |
| | | userActivityRedenvelopeService.selectById(userRedPacketRecord.getRedPacketActivityId()); |
| | | if (userActivityRedenvelope!=null){ |
| | |
| | | ; |
| | | // 红包领取记录wrapper |
| | | between3 = new EntityWrapper<UserRedPacketRecord>() |
| | | .ne("state",0) |
| | | ; |
| | | // 司机奖励 |
| | | between4 = new EntityWrapper<DriverActivityHistory>() |
| | |
| | | .between("insertTime", start, end); |
| | | // 红包领取记录wrapper |
| | | between3 = new EntityWrapper<UserRedPacketRecord>() |
| | | .ne("state",0) |
| | | .between("insertTime", start, end); |
| | | // 司机奖励 |
| | | between4 = new EntityWrapper<DriverActivityHistory>() |
| | |
| | | userRedPacketRecord.setCompanyId(1); |
| | | userRedPacketRecord.setState(1); |
| | | userRedPacketRecord.setOrderId(null); |
| | | // 标记为后台发放的红包 |
| | | userRedPacketRecord.setIsGrant(1); |
| | | userRedPacketRecord.setRedPacketActivityId(redId); |
| | | // userRedPacketRecord.setOrderType(3); |
| | | userRedPacketRecord.setUserId(Integer.valueOf(s)); |
| | |
| | | }catch (Exception e){ |
| | | e.printStackTrace(); |
| | | } |
| | | |
| | | |
| | | |
| | | } |
| | | } |
| | | return ResultUtil.success("指派成功",null,"当前红包为随机红包,可能有部分用户无法领取"); |
| | |
| | | import com.stylefeng.guns.core.log.LogObjectHolder; |
| | | import org.springframework.web.bind.annotation.RequestParam; |
| | | |
| | | import java.math.BigDecimal; |
| | | import java.text.SimpleDateFormat; |
| | | import java.util.Date; |
| | | import java.util.HashMap; |
| | |
| | | map.put("userActivityInviteUseMoney",0); |
| | | } |
| | | if(SinataUtil.isNotEmpty(userActivityDiscount1)){ |
| | | // 专车 |
| | | Map<String,Object> resultMap = userCouponRecordService.getDiscountStatic(startTimes,endTimes,userActivityDiscount1.getId()); |
| | | map.put("userActivityDiscount1Money",resultMap.get("money")); |
| | | map.put("userActivityDiscount1Number",resultMap.get("number")); |
| | | BigDecimal bigDecimal = new BigDecimal(resultMap.get("money").toString()); |
| | | String string = resultMap.get("number").toString(); |
| | | Integer i = Integer.valueOf(string); |
| | | // 小件物流 |
| | | Map<String,Object> resultMap1 = userCouponRecordService.getDiscountStatic1(startTimes,endTimes,userActivityDiscount1.getId()); |
| | | BigDecimal bigDecimal1 = new BigDecimal(resultMap1.get("money").toString()); |
| | | String string1 = resultMap1.get("number").toString(); |
| | | Integer i1 = Integer.valueOf(string1); |
| | | BigDecimal add = bigDecimal.add(bigDecimal1); |
| | | i +=i1; |
| | | map.put("userActivityDiscount1Money",add); |
| | | map.put("userActivityDiscount1Number",i); |
| | | }else{ |
| | | map.put("userActivityDiscount1Money",0); |
| | | map.put("userActivityDiscount1Number",0); |
| | |
| | | return SUCCESS_TIP; |
| | | } |
| | | |
| | | @Resource |
| | | private ITUserService userService; |
| | | |
| | | @RequestMapping(value = "/frozenOrder") |
| | | @ResponseBody |
| | | public Object frozenOrder(@RequestParam Integer tOrderPrivateCarId) throws Exception { |
| | |
| | | |
| | | //添加已收入明细 |
| | | TDriver tDriver = driverService.selectById(orderPrivateCar.getDriverId()); |
| | | orderPrivateCar = this.setMoney(orderPrivateCar, 0D, 0D);//计算费用 |
| | | |
| | | //添加已收入明细 |
| | | TCompany company = companyService.selectById(orderPrivateCar.getCompanyId()); |
| | | Double taxi = company.getSpeMoney().doubleValue(); |
| | | Integer language =tDriver.getLanguage(); |
| | | BigDecimal d = null;//企业收入 |
| | | BigDecimal c = null;//司机收入 |
| | | if(company.getIsSpeFixedOrProportional() == 2){//固定 |
| | | d = new BigDecimal(taxi); |
| | | c = orderPrivateCar.getOrderMoney().subtract(d).setScale(2, BigDecimal.ROUND_HALF_EVEN); |
| | | } |
| | | if(company.getIsSpeFixedOrProportional() == 1){//比例 |
| | | Double price = orderPrivateCar.getStartMoney().doubleValue() + orderPrivateCar.getMileageMoney().doubleValue() + orderPrivateCar.getWaitMoney().doubleValue()+ orderPrivateCar.getDurationMoney().doubleValue() + orderPrivateCar.getLongDistanceMoney().doubleValue(); |
| | | d = new BigDecimal(price).multiply(new BigDecimal(taxi).divide(new BigDecimal(100))).setScale(2, BigDecimal.ROUND_HALF_EVEN); |
| | | c = orderPrivateCar.getOrderMoney().subtract(d).setScale(2, BigDecimal.ROUND_HALF_EVEN); |
| | | } |
| | | if(orderPrivateCar.getIsFrozen()==1){ |
| | | TDriver driver = driverService.selectById(orderPrivateCar.getDriverId()); |
| | | driver.setBusinessMoney(new BigDecimal(null != driver.getBusinessMoney() ? driver.getBusinessMoney() : 0).subtract(c).setScale(2, BigDecimal.ROUND_HALF_EVEN).doubleValue()); |
| | |
| | | orderPrivateCar1.setState(8); |
| | | orderPrivateCar1.setIsFree(2); |
| | | //添加已收入明细 |
| | | TCompany company = companyService.selectById(orderPrivateCar1.getCompanyId()); |
| | | BigDecimal speMoney = company.getSpeMoney(); |
| | | TCompany tCompany = companyService.selectById(orderPrivateCar1.getCompanyId()); |
| | | BigDecimal speMoney = tCompany.getSpeMoney(); |
| | | |
| | | if(company.getIsSpeFixedOrProportional() == 2){//固定 |
| | | if(tCompany.getIsSpeFixedOrProportional() == 2){//固定 |
| | | d = speMoney; |
| | | c = orderPrivateCar1.getOrderMoney().subtract(d);//只有出行金额参与抽成,其余归属司机 |
| | | } |
| | | if(company.getIsSpeFixedOrProportional() == 1){//比例 |
| | | if(tCompany.getIsSpeFixedOrProportional() == 1){//比例 |
| | | BigDecimal price = orderPrivateCar1.getStartMoney().add(orderPrivateCar1.getMileageMoney()).add(new BigDecimal(orderPrivateCar1.getWaitMoney())).add(orderPrivateCar1.getDurationMoney()).add(orderPrivateCar1.getLongDistanceMoney()); |
| | | d = price.multiply(speMoney).divide(new BigDecimal(100), new MathContext(2, RoundingMode.HALF_EVEN)); |
| | | c = orderPrivateCar1.getOrderMoney().subtract(d).setScale(2, BigDecimal.ROUND_HALF_EVEN); |
| | |
| | | @Param("beginTime") String beginTime, |
| | | @Param("endTime") String endTime, |
| | | @Param("activityId") Integer activityId); |
| | | Map<String,Object> getDiscountStatic1( |
| | | @Param("beginTime") String beginTime, |
| | | @Param("endTime") String endTime, |
| | | @Param("activityId") Integer activityId); |
| | | |
| | | List<Map<String,Object>> getBlanceList(@Param("page") Page<Map<String, Object>> page, |
| | | @Param("beginTime") String beginTime, |
| | |
| | | bb.id and aa.activityType = 3) where aa.state = 2 and bb.userActivityId = a.id) + |
| | | (select count(aa.id) from t_user_coupon_record aa left join t_user_activity_balance bb on (aa.couponActivityId = |
| | | bb.id and aa.activityType = 4) where aa.state = 2 and bb.userActivityId = a.id) + |
| | | (select count(id) from t_order_private_car where state in (7,8,9) and activityId = a.id) + |
| | | (select count(aa.id) from t_order_private_car aa left join t_user_activity_discount1 bb on(aa.activityId = bb.id) where aa.state in (7,8,9) and bb.userActivityId = a.id ) + |
| | | (select count(aa.id) from t_order_logistics aa left join t_user_activity_discount1 bb on(aa.activityId = bb.id) where aa.state in (7,8,9)and bb.userActivityId = a.id ) + |
| | | (select count(id) from t_order_taxi where state in (7,8,9) and activityId = a.id) + |
| | | (select count(id) from t_order_cross_city where state in (6,8,9) and activityId = a.id) |
| | | ) as number |
| | |
| | | SELECT |
| | | c.id, |
| | | c.money, |
| | | c.expirationTime, |
| | | c.endTime as expirationTime, |
| | | c.insertTime, |
| | | c.companyId, |
| | | c.state, |
| | |
| | | </if> |
| | | </select> |
| | | <select id="getDiscountStatic" resultType="map"> |
| | | SELECT IFNULL(SUM(discountMoney),0) money,COUNT(id) number FROM t_order_taxi WHERE activityId=#{activityId} |
| | | SELECT IFNULL(SUM(discountMoney),0) money,COUNT(id) number FROM t_order_private_car WHERE activityId=#{activityId} |
| | | </select> |
| | | <select id="getDiscountStatic1" resultType="map"> |
| | | SELECT IFNULL(SUM(discountMoney),0) money,COUNT(id) number FROM t_order_logistics WHERE activityId=#{activityId} |
| | | </select> |
| | | <select id="getRegStatic" resultType="map"> |
| | | SELECT |
| | |
| | | @TableField("companyId") |
| | | private Integer companyId; |
| | | /** |
| | | * 是否为后台发放的红包 0否1是 |
| | | */ |
| | | @TableField("isGrant") |
| | | private Integer isGrant; |
| | | /** |
| | | * 状态(0=临时,1=未使用,2=已使用,3=已过期) |
| | | */ |
| | | @TableField("state") |
| | |
| | | String beginTime, |
| | | String endTime, |
| | | Integer activityId); |
| | | Map<String,Object> getDiscountStatic1( |
| | | String beginTime, |
| | | String endTime, |
| | | Integer activityId); |
| | | |
| | | /** |
| | | * 获取充值记录 |
| | |
| | | public Map<String, Object> getDiscountStatic(String beginTime, String endTime, Integer activityId) { |
| | | return this.baseMapper.getDiscountStatic(beginTime,endTime,activityId); |
| | | } |
| | | @Override |
| | | public Map<String, Object> getDiscountStatic1(String beginTime, String endTime, Integer activityId) { |
| | | return this.baseMapper.getDiscountStatic1(beginTime,endTime,activityId); |
| | | } |
| | | |
| | | @Override |
| | | public List<Map<String, Object>> getBlanceList(Page<Map<String, Object>> page, String beginTime, String endTime, Integer activityId) { |
| | |
| | | @ApiModelProperty(value = "支付方手机号") |
| | | private String phone; |
| | | @ApiModelProperty(value = "支付金额") |
| | | private BigDecimal money; |
| | | private String money; |
| | | @ApiModelProperty(value = "支付方式") |
| | | private String payType; |
| | | @ApiModelProperty(value = "流水项目") |
| | |
| | | display: flex; /* 使用 Flex 布局 */ |
| | | margin-left: 50px; |
| | | margin-top: 30px; |
| | | width: 2200px; |
| | | } |
| | | .rectangle1 { |
| | | width: 250px; /* 设置框的宽度 */ |
| | | height: 160px; /* 自适应高度 */ |
| | | height: 150px; /* 自适应高度 */ |
| | | background-color: #cecece; /* 设置底色为灰色 */ |
| | | border-radius: 30px; /* 设置圆角半径为10px */ |
| | | display: flex; /* 使用 Flex 布局 */ |
| | |
| | | margin-right: 40px; /* 设置矩形框之间的间距 */ |
| | | } |
| | | .rectangle2 { |
| | | width: 150px; /* 设置框的宽度 */ |
| | | height: 130px; /* 自适应高度 */ |
| | | width: 190px; /* 设置框的宽度 */ |
| | | height: 110px; /* 自适应高度 */ |
| | | background-color: #cecece; /* 设置底色为灰色 */ |
| | | border-radius: 30px; /* 设置圆角半径为10px */ |
| | | display: flex; /* 使用 Flex 布局 */ |
| | |
| | | margin-top: 15px; |
| | | } |
| | | .rectangle3 { |
| | | width: 150px; /* 设置框的宽度 */ |
| | | height: 130px; /* 自适应高度 */ |
| | | width: 190px; /* 设置框的宽度 */ |
| | | height: 110px; /* 自适应高度 */ |
| | | background-color: #cecece; /* 设置底色为灰色 */ |
| | | border-radius: 30px; /* 设置圆角半径为10px */ |
| | | display: flex; /* 使用 Flex 布局 */ |
| | |
| | | <#button name="重置" icon="fa-trash" clickFun="TUser.resetSearch()" space="true"/> |
| | | </div> |
| | | </div> |
| | | |
| | | <div class="container"> |
| | | <div class="rectangle1"> |
| | | <h1 id="num1">0</h1> |
| | | <br> |
| | | <h2 id="text1">第三方流水余额合计</h2> |
| | | |
| | | <h2 style="text-align: center" id="text1">第三方流水余额合计</h2> |
| | | </div> |
| | | <img style="margin-top: 70px" width="25px" height="25px" src="${ctxPath}/static/img/dengyu.png"> |
| | | <div class="rectangle2"> |
| | | <h1 id="num2">0</h1> |
| | | <h2 id="num2">0</h2> |
| | | <br> |
| | | <h2 id="text2">用户订单消费</h2> |
| | | <h3 style="text-align: center" id="text2">用户订单消费</h3> |
| | | </div> |
| | | <img style="margin-top: 70px" width="25px" height="25px" src="${ctxPath}/static/img/jiahao.png"> |
| | | <div class="rectangle3"> |
| | | <h1 id="num3">0</h1> |
| | | <h2 id="num3">0</h2> |
| | | <br> |
| | | <h2 id="text3">用户充值总额</h2> |
| | | <h3 style="text-align: center" id="text3">用户充值总额</h3> |
| | | </div> |
| | | <img style="margin-top: 70px" width="25px" height="25px" src="${ctxPath}/static/img/jiahao.png"> |
| | | <div class="rectangle3"> |
| | | <h1 id="num4">0</h1> |
| | | <h2 id="num4">0</h2> |
| | | <br> |
| | | <h2 id="text4">司机结算总额</h2> |
| | | <h3 style="text-align: center" id="text4">司机结算总额</h3> |
| | | </div> |
| | | <img style="margin-top: 70px" width="25px" height="25px" src="${ctxPath}/static/img/jianhao.png"> |
| | | <div class="rectangle3"> |
| | | <h1 id="num5">0</h1> |
| | | <h2 id="num5">0</h2> |
| | | <br> |
| | | <h2 id="text5">司机提现总额</h2> |
| | | <h3 style="text-align: center" id="text5">司机提现总额</h3> |
| | | </div> |
| | | <img style="margin-top: 70px" width="25px" height="25px" src="${ctxPath}/static/img/jianhao.png"> |
| | | <div class="rectangle3"> |
| | | <h1 id="num6">0</h1> |
| | | <h2 id="num6">0</h2> |
| | | <br> |
| | | <h2 id="text6">用户提现总额</h2> |
| | | <h3 style="text-align: center" id="text6">用户提现总额</h3> |
| | | </div> |
| | | </div> |
| | | <#table id="TUserTable"/> |
| | |
| | | display: flex; /* 使用 Flex 布局 */ |
| | | margin-left: 50px; |
| | | margin-top: 30px; |
| | | width: 2200px; |
| | | } |
| | | .rectangle1 { |
| | | width: 250px; /* 设置框的宽度 */ |
| | |
| | | <div class="rectangle1"> |
| | | <h1 id="num1">0</h1> |
| | | <br> |
| | | <h2 id="text1">已发放补贴总额</h2> |
| | | <h2 style="text-align: center" id="text1">已发放补贴总额</h2> |
| | | |
| | | </div> |
| | | <img style="margin-top: 70px" width="25px" height="25px" src="${ctxPath}/static/img/dengyu.png"> |
| | | <div class="rectangle2"> |
| | | <h1 id="num2">0</h1> |
| | | <h2 id="num2">0</h2> |
| | | <br> |
| | | <h2 id="text2">已使用折扣总额(用户端)</h2> |
| | | <h3 style="text-align: center" id="text2">已使用折扣总额(用户端)</h3> |
| | | </div> |
| | | <img style="margin-top: 70px" width="25px" height="25px" src="${ctxPath}/static/img/jiahao.png"> |
| | | <div class="rectangle3"> |
| | | <h1 id="num3">0</h1> |
| | | <h2 id="num3">0</h2> |
| | | <br> |
| | | <h2 id="text3">已领取红包总额(用户端)</h2> |
| | | <h3 style="text-align: center" id="text3">已领取红包总额(用户端)</h3> |
| | | </div> |
| | | <img style="margin-top: 70px" width="25px" height="25px" src="${ctxPath}/static/img/jiahao.png"> |
| | | <div class="rectangle3"> |
| | | <h1 id="num4">0</h1> |
| | | <h2 id="num4">0</h2> |
| | | <br> |
| | | <h2 id="text4">已领取优惠券总额(用户端)</h2> |
| | | <h3 style="text-align: center" id="text4">已领取优惠券总额(用户端)</h3> |
| | | </div> |
| | | <img style="margin-top: 70px" width="25px" height="25px" src="${ctxPath}/static/img/jiahao.png"> |
| | | <div class="rectangle3"> |
| | | <h1 id="num5">0</h1> |
| | | <h2 id="num5">0</h2> |
| | | <br> |
| | | <h2 id="text5">已领取司机奖励(司机端)</h2> |
| | | <h3 style="text-align: center" id="text5">已领取司机奖励(司机端)</h3> |
| | | </div> |
| | | |
| | | </div> |
| | |
| | | display: flex; /* 使用 Flex 布局 */ |
| | | margin-left: 50px; |
| | | margin-top: 30px; |
| | | width: 2200px; |
| | | } |
| | | .rectangle1 { |
| | | width: 250px; /* 设置框的宽度 */ |
| | | width: 200px; /* 设置框的宽度 */ |
| | | height: 160px; /* 自适应高度 */ |
| | | background-color: #cecece; /* 设置底色为灰色 */ |
| | | border-radius: 30px; /* 设置圆角半径为10px */ |
| | |
| | | margin-right: 40px; /* 设置矩形框之间的间距 */ |
| | | } |
| | | .rectangle2 { |
| | | width: 200px; /* 设置框的宽度 */ |
| | | width: 170px; /* 设置框的宽度 */ |
| | | height: 130px; /* 自适应高度 */ |
| | | background-color: #cecece; /* 设置底色为灰色 */ |
| | | border-radius: 30px; /* 设置圆角半径为10px */ |
| | |
| | | margin-top: 15px; |
| | | } |
| | | .rectangle3 { |
| | | width: 200px; /* 设置框的宽度 */ |
| | | width: 170px; /* 设置框的宽度 */ |
| | | height: 130px; /* 自适应高度 */ |
| | | background-color: #cecece; /* 设置底色为灰色 */ |
| | | border-radius: 30px; /* 设置圆角半径为10px */ |
| | |
| | | margin-top: 15px; |
| | | } |
| | | .rectangle4 { |
| | | width: 250px; /* 设置框的宽度 */ |
| | | width: 170px; /* 设置框的宽度 */ |
| | | height: 170px; /* 自适应高度 */ |
| | | background-color: #cecece; /* 设置底色为灰色 */ |
| | | border-radius: 30px; /* 设置圆角半径为10px */ |
| | |
| | | <div class="rectangle1"> |
| | | <h1 id="num1">0</h1> |
| | | <br> |
| | | <h2 id="text1">已使用补贴总额</h2> |
| | | |
| | | <h2 style="text-align: center" id="text1">已使用补贴总额</h2> |
| | | </div> |
| | | <img style="margin-top: 70px" width="25px" height="25px" src="${ctxPath}/static/img/dengyu.png"> |
| | | <div class="rectangle2"> |
| | | <h1 id="num2">0</h1> |
| | | <h3 id="num2">0</h3> |
| | | <br> |
| | | <h2 id="text2">已使用折扣总额(用户端)</h2> |
| | | <h4 style="text-align: center" id="text2">已使用折扣总额(用户端)</h4> |
| | | </div> |
| | | <img style="margin-top: 70px" width="25px" height="25px" src="${ctxPath}/static/img/jiahao.png"> |
| | | <div class="rectangle3"> |
| | | <h1 id="num3">0</h1> |
| | | <h3 id="num3">0</h3> |
| | | <br> |
| | | <h2 id="text3">已使用红包总额(用户端)</h2> |
| | | <h4 style="text-align: center" id="text3">已使用红包总额(用户端)</h4> |
| | | </div> |
| | | <img style="margin-top: 70px" width="25px" height="25px" src="${ctxPath}/static/img/jiahao.png"> |
| | | <div class="rectangle3"> |
| | | <h1 id="num4">0</h1> |
| | | <h3 id="num4">0</h3> |
| | | <br> |
| | | <h2 id="text4">已使用优惠券总额(用户端)</h2> |
| | | <h4 style="text-align: center" id="text4">已使用优惠券总额(用户端)</h4> |
| | | </div> |
| | | <img style="margin-top: 70px" width="25px" height="25px" src="${ctxPath}/static/img/jiahao.png"> |
| | | <div class="rectangle4"> |
| | | <h1 id="num5">0</h1> |
| | | <h3 id="num5">0</h3> |
| | | <br> |
| | | <h2 id="text5">已使用司机奖励合计</h2> |
| | | <h4 style="text-align: center" id="text5">已使用司机奖励合计</h4> |
| | | <br> |
| | | <div style="display: flex"> |
| | | <span>已提现</span> <span id="num6">0</span> |
| | |
| | | TUser.initColumn = function () { |
| | | return [ |
| | | {field: 'selectItem', radio: true}, |
| | | {title: '付款时间', field: 'insertTime', visible: true, align: 'center', valign: 'middle'}, |
| | | {title: '交易时间', field: 'insertTime', visible: true, align: 'center', valign: 'middle'}, |
| | | {title: '订单号', field: 'code', visible: true, align: 'center', valign: 'middle'}, |
| | | {title: '支付方', field: 'name', visible: true, align: 'center', valign: 'middle'}, |
| | | {title: '支付方手机号', field: 'phone', visible: true, align: 'center', valign: 'middle', |
| | | {title: '交易方', field: 'name', visible: true, align: 'center', valign: 'middle'}, |
| | | {title: '交易手机号', field: 'phone', visible: true, align: 'center', valign: 'middle', |
| | | }, |
| | | {title: '支付金额', field: 'money', visible: true, align: 'center', valign: 'middle', |
| | | formatter: function (value, row) { |
| | |
| | | TUser.initColumn = function () { |
| | | return [ |
| | | {field: 'selectItem', radio: true}, |
| | | {title: '使用时间', field: 'insertTime', visible: true, align: 'center', valign: 'middle'}, |
| | | {title: '发放时间', field: 'insertTime', visible: true, align: 'center', valign: 'middle'}, |
| | | {title: '补贴类型', field: 'type', visible: true, align: 'center', valign: 'middle'}, |
| | | {title: '金额', field: 'amount', visible: true, align: 'center', valign: 'middle'}, |
| | | {title: '领取用户id', field: 'name', visible: true, align: 'center', valign: 'middle',}, |
| | |
| | | console.log(ids) |
| | | console.log(window.parent.SysRedPacketRecord.seItem.id) |
| | | // TUser.close(); |
| | | |
| | | var ajax = new $ax(Feng.ctxPath + "/sysRedPacketRecord/direct", function(data){ |
| | | |
| | | if (data.code!=500){ |
| | | |
| | | Feng.success(data.msg); |
| | | TUser.close(); |
| | | }else { |