新增前端vue

This commit is contained in:
2026-01-08 17:51:00 +08:00
parent 11e81d34c3
commit 1174e19038
2 changed files with 13 additions and 0 deletions

View File

@@ -0,0 +1,11 @@
package com.jeesite.modules.app;
import org.springframework.stereotype.Controller;
@Controller
public class appStart {
}

View File

@@ -159,6 +159,7 @@ public class ErpAccountTransferController extends BaseController {
@ResponseBody
public String finish(ErpAccountTransfer erpAccountTransfer) {
ErpAccountTransfer transfer = erpAccountTransferService.get(erpAccountTransfer);
transfer.setStatus("1");
ErpAccount outAccount = erpAccountService.get(transfer.getOutAccountId());
ErpAccount inAccount = erpAccountService.get(transfer.getInAccountId());
inAccount.setUpdateTime(new Date());
@@ -167,6 +168,7 @@ public class ErpAccountTransferController extends BaseController {
outAccount.setCurrentBalance(BigDecimalUtils.subtract(outAccount.getCurrentBalance(), transfer.getTransferAmount()));
erpAccountService.save(inAccount);
erpAccountService.save(outAccount);
erpAccountTransferService.save(transfer);
return renderResult(Global.TRUE, text("转入账户成功!"));
}
}