|
|
@ -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())){ |
|
|
|