forked from kidgrow-microservices-platform

zhaoxiaohao
2020-09-28 3256d326f6f9f92fca30cdaf3252a11bf49b66ad
xiugai   bug
1 files modified
9 ■■■■■ changed files
kidgrow-business/kidgrow-opration-center/kidgrow-opration-center-biz/src/main/java/com/kidgrow/oprationcenter/service/impl/SaasClientPayServiceImpl.java 9 ●●●●● patch | view | raw | blame | history
kidgrow-business/kidgrow-opration-center/kidgrow-opration-center-biz/src/main/java/com/kidgrow/oprationcenter/service/impl/SaasClientPayServiceImpl.java
@@ -178,10 +178,11 @@
        if(byObject==null){
            return ResultBody.failed().msg("该部门或医院没有开通单次支付");
        }
        saasClientPay.setPayPrice(byObject.getPayPrice());
        saasClientPay.setPayPrice(Double.valueOf(byObject.getPayPrice()).intValue());
//        saasClientPay.setPayPrice(1);
        saasClientPay.setPayKidgrow(byObject.getPayKidgrow());
        saasClientPay.setPayCustom(byObject.getPayCustom());
        saasClientPay.setPayKidgrow(Double.valueOf(byObject.getPayKidgrow()).intValue());
        saasClientPay.setPayCustom(Double.valueOf(byObject.getPayCustom()).intValue());
        saasClientPay.setPayStatus(0);
        String str="";
        Map<String, String> wxCode = this.getWxCode(saasClientPay, request);
@@ -196,7 +197,7 @@
        list.add(aliCode);
        Map<String,Object> map=new HashMap<>();
        map.put("list",list);
        double v = Double.parseDouble(byObject.getPayPrice().toString())/100;
        double v = byObject.getPayPrice() / 100;
        map.put("payPrice",v);
        return ResultBody.ok().data(map);
    }