Pu Zhibing
3 天以前 5dacdee9b54c78372b68140e2b068d03a620eab9
ManagementQYTTravel/guns-admin/src/main/java/com/stylefeng/guns/modular/system/controller/general/TPubWithdrawalController.java
@@ -5,7 +5,6 @@
import com.stylefeng.guns.core.base.controller.BaseController;
import com.stylefeng.guns.core.beetl.ShiroExtUtil;
import com.stylefeng.guns.core.common.constant.factory.PageFactory;
import com.stylefeng.guns.core.shiro.ShiroKit;
import com.stylefeng.guns.core.util.SinataUtil;
import com.stylefeng.guns.modular.system.model.*;
import com.stylefeng.guns.modular.system.service.*;
@@ -45,12 +44,15 @@
    @Resource
    private IUserWithdrawalService userWithdrawalService;
    @Resource
    private ShiroExtUtil shiroExtUtil;
    /**
     * 跳转到提现列表首页
     */
    @RequestMapping("")
    public String index(Model model) {
        model.addAttribute("id", ShiroExtUtil.getUser().getObjectId());
        model.addAttribute("id", shiroExtUtil.getUser().getObjectId());
        return PREFIX + "tPubWithdrawal.html";
    }
@@ -138,8 +140,6 @@
//            tPubWithdrawal.setState(state);  //调用接口修改状态
            Integer stateObj = 1;
            if (2 == state){   //同意提现
                stateObj = 1;
@@ -147,7 +147,7 @@
                stateObj = 2;
            }
    
            Integer objectId = ShiroExtUtil.getUser().getObjectId();
            Integer objectId = shiroExtUtil.getUser().getObjectId();
            // 获取手续费
            Double poundage = tPubWithdrawalService.getPoundage(objectId);
            if(poundage!=null && poundage>0){