| | |
| | | byId.setAuditStatus(3); |
| | | byId.setTwoRemark(steategyPassDto.getRemark()); |
| | | byId.setTwoAuditTime(LocalDateTime.now()); |
| | | |
| | | //如果parentId不为空,则将parentId对应的siteId改为现在的,并且将parenId对应的数据删除 |
| | | |
| | | |
| | | //将site表对应的模板id修改为新的这个 |
| | | |
| | | } |
| | | }else { |
| | | byId.setAuditStatus(4); |
| | |
| | | |
| | | return R.ok(res); |
| | | } |
| | | |
| | | |
| | | /** |
| | | * 根据id查询数据 |
| | | * @param id |
| | | * @return |
| | | */ |
| | | @PostMapping(value = "/getAccountingStrategyById") |
| | | public R<TAccountingStrategy> getAccountingStrategyById(@RequestParam("id") Integer id) { |
| | | TAccountingStrategy accountingStrategy = accountingStrategyService.getById(id); |
| | | return R.ok(accountingStrategy); |
| | | } |
| | | |
| | | } |
| | | |