| | |
| | | balanceChangeRecordCopy.setChangeType(4); |
| | | balanceChangeRecordCopy.setBeforeAmount(balance); |
| | | balanceChangeRecordCopy.setChangeAmount(zdls_price); |
| | | balanceChangeRecordCopy.setAfterAmount(superiorLeader.getBalance()); |
| | | balanceChangeRecordCopy.setAfterAmount(superiorLeader.getBalance().add(zdls_price)); |
| | | balanceChangeRecordCopy.setDelFlag(0); |
| | | balanceChangeRecordCopy.setCreateTime(LocalDateTime.now()); |
| | | balanceChangeRecordClient.saveBalanceChangeRecordCopy(balanceChangeRecordCopy); |
| | |
| | | userPointCopy.setType(2); |
| | | userPointCopy.setHistoricalPoint(lavePoint); |
| | | userPointCopy.setVariablePoint(zdls_point); |
| | | userPointCopy.setBalance(superiorLeader.getLavePoint()); |
| | | userPointCopy.setBalance(superiorLeader.getLavePoint() + zdls_point); |
| | | userPointCopy.setCreateTime(LocalDateTime.now()); |
| | | userPointCopy.setAppUserId(superiorLeader.getId()); |
| | | userPointCopy.setObjectId(order.getId()); |
| | |
| | | shopBalanceStatementCopy.setType(1); |
| | | shopBalanceStatementCopy.setHistoricalBalance(shopBalance); |
| | | shopBalanceStatementCopy.setVariableAmount(fws_price); |
| | | shopBalanceStatementCopy.setBalance(shop1.getBalance()); |
| | | shopBalanceStatementCopy.setBalance(shop1.getBalance().add(fws_price)); |
| | | shopBalanceStatementCopy.setCreateTime(LocalDateTime.now()); |
| | | shopBalanceStatementCopy.setCreateUserId(order.getAppUserId()); |
| | | shopBalanceStatementCopy.setObjectId(order.getId()); |
| | |
| | | userPointCopy.setType(9); |
| | | userPointCopy.setHistoricalPoint(lavePoint); |
| | | userPointCopy.setVariablePoint(fws_point); |
| | | userPointCopy.setBalance(bdShopAppUser.getLavePoint()); |
| | | userPointCopy.setBalance(bdShopAppUser.getLavePoint() + fws_point); |
| | | userPointCopy.setCreateTime(LocalDateTime.now()); |
| | | userPointCopy.setAppUserId(bdShopAppUser.getId()); |
| | | userPointCopy.setObjectId(order.getId()); |
| | |
| | | shopPointCopy.setType(2); |
| | | shopPointCopy.setHistoricalPoint(shopLavePoint); |
| | | shopPointCopy.setVariablePoint(fws_point); |
| | | shopPointCopy.setBalance(shop1.getLavePoint()); |
| | | shopPointCopy.setBalance(shop1.getLavePoint() + fws_point); |
| | | shopPointCopy.setCreateTime(LocalDateTime.now()); |
| | | shopPointCopy.setCreateUserId(order.getAppUserId()); |
| | | shopPointCopy.setObjectId(order.getId()); |
| | |
| | | shopBalanceStatementCopy.setType(2); |
| | | shopBalanceStatementCopy.setHistoricalBalance(shopBalance); |
| | | shopBalanceStatementCopy.setVariableAmount(gjfws_price); |
| | | shopBalanceStatementCopy.setBalance(shop2.getBalance()); |
| | | shopBalanceStatementCopy.setBalance(shop2.getBalance().add(gjfws_price)); |
| | | shopBalanceStatementCopy.setCreateTime(LocalDateTime.now()); |
| | | shopBalanceStatementCopy.setCreateUserId(order.getAppUserId()); |
| | | shopBalanceStatementCopy.setObjectId(order.getId()); |
| | |
| | | userPointCopy.setType(14); |
| | | userPointCopy.setHistoricalPoint(lavePoint); |
| | | userPointCopy.setVariablePoint(gjfws_point); |
| | | userPointCopy.setBalance(sjShopAppUser.getLavePoint()); |
| | | userPointCopy.setBalance(sjShopAppUser.getLavePoint() + gjfws_point); |
| | | userPointCopy.setCreateTime(LocalDateTime.now()); |
| | | userPointCopy.setAppUserId(sjShopAppUser.getId()); |
| | | userPointCopy.setObjectId(order.getId()); |
| | |
| | | shopPointCopy.setType(3); |
| | | shopPointCopy.setHistoricalPoint(shopLavePoint); |
| | | shopPointCopy.setVariablePoint(gjfws_point); |
| | | shopPointCopy.setBalance(shop2.getLavePoint()); |
| | | shopPointCopy.setBalance(shop2.getLavePoint() + gjfws_point); |
| | | shopPointCopy.setCreateTime(LocalDateTime.now()); |
| | | shopPointCopy.setCreateUserId(order.getAppUserId()); |
| | | shopPointCopy.setObjectId(order.getId()); |
| | |
| | | shopBalanceStatementCopy.setType(3); |
| | | shopBalanceStatementCopy.setHistoricalBalance(shopBalance); |
| | | shopBalanceStatementCopy.setVariableAmount(hxmd_price); |
| | | shopBalanceStatementCopy.setBalance(shop.getBalance()); |
| | | shopBalanceStatementCopy.setBalance(shop.getBalance().add(hxmd_price)); |
| | | shopBalanceStatementCopy.setCreateTime(LocalDateTime.now()); |
| | | shopBalanceStatementCopy.setCreateUserId(order.getAppUserId()); |
| | | shopBalanceStatementCopy.setObjectId(order.getId()); |
| | |
| | | userPointCopy.setType(8); |
| | | userPointCopy.setHistoricalPoint(lavePoint); |
| | | userPointCopy.setVariablePoint(hxmd_point); |
| | | userPointCopy.setBalance(shopAppUser.getLavePoint()); |
| | | userPointCopy.setBalance(shopAppUser.getLavePoint() + hxmd_point); |
| | | userPointCopy.setCreateTime(LocalDateTime.now()); |
| | | userPointCopy.setAppUserId(shopAppUser.getId()); |
| | | userPointCopy.setObjectId(order.getId()); |
| | |
| | | shopPointCopy.setType(1); |
| | | shopPointCopy.setHistoricalPoint(shopLavePoint); |
| | | shopPointCopy.setVariablePoint(hxmd_point); |
| | | shopPointCopy.setBalance(shop.getLavePoint()); |
| | | shopPointCopy.setBalance(shop.getLavePoint() + hxmd_point); |
| | | shopPointCopy.setCreateTime(LocalDateTime.now()); |
| | | shopPointCopy.setCreateUserId(order.getAppUserId()); |
| | | shopPointCopy.setObjectId(order.getId()); |
| | |
| | | userPointCopy.setType(10); |
| | | userPointCopy.setHistoricalPoint(lavePoint); |
| | | userPointCopy.setVariablePoint(js_point); |
| | | userPointCopy.setBalance(technicianAppUser.getLavePoint()); |
| | | userPointCopy.setBalance(technicianAppUser.getLavePoint() + js_point); |
| | | userPointCopy.setCreateTime(LocalDateTime.now()); |
| | | userPointCopy.setAppUserId(technicianAppUser.getId()); |
| | | userPointCopy.setObjectId(order.getId()); |