master
admin 2 years ago
parent aee904d12e
commit 1720b4128b
  1. 1
      jeecg-boot/jeecg-boot-module-system/src/main/java/org/jeecg/modules/tablex/controller/TablexController.java

@ -126,6 +126,7 @@ public class TablexController extends JeecgController<Tablex, ITablexService> {
@ApiOperation(value="实体表-编辑", notes="实体表-编辑") @ApiOperation(value="实体表-编辑", notes="实体表-编辑")
@PutMapping(value = "/edit") @PutMapping(value = "/edit")
public Result<?> edit(@RequestBody Tablex tablex) { public Result<?> edit(@RequestBody Tablex tablex) {
tablex.setVerison(tablex.getVerison()+1);
List<Tablex> tablexList = tablexService.list(); List<Tablex> tablexList = tablexService.list();
for (Tablex tablex1 : tablexList){ for (Tablex tablex1 : tablexList){
if (tablex1.getModuleId().equals(tablex.getModuleId())){ if (tablex1.getModuleId().equals(tablex.getModuleId())){

Loading…
Cancel
Save