根据父级ID生成一个数据库不重复的新ID,(补漏,开头删除,中间删除,的ID都可以按顺序补上)
工具类: public String getNewModCode(String parentCode,String behindNum) { String newCode = ""; int x = 0; List codeList = sysModuleMapper.getAllModCode(parentCode); if(codeList.size()>0){ x