| | |
| | | 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); |
| | | } |
| | | } |