xuhy
2025-08-29 e59d2141bc8f9bee8b569deaa54158b3759c431e
UserZYTravel/guns-admin/src/main/java/com/stylefeng/guns/modular/system/service/impl/IncomeServiceImpl.java
@@ -34,4 +34,26 @@
        income.setInsertTime(new Date());
        this.insert(income);
    }
    /**
     * 添加数据
     * @param userType
     * @param objectId
     * @param type
     * @param incomeId
     * @param money
     * @throws Exception
     */
    @Override
    public void saveDriverData(Integer userType, Integer objectId, Integer type, Integer incomeId, Integer orderType, Double money,Double driverBalance) throws Exception {
        Income income = new Income();
        income.setUserType(userType);
        income.setObjectId(objectId);
        income.setType(type);
        income.setIncomeId(incomeId);
        income.setOrderType(orderType);
        income.setMoney(money);
        income.setInsertTime(new Date());
        income.setDriverBalance(driverBalance);
        this.insert(income);
    }
}