@ -103,6 +103,17 @@ public class GenTableServiceImpl implements IGenTableService
@@ -103,6 +103,17 @@ public class GenTableServiceImpl implements IGenTableService
}
/**
*查询所有表信息
*
*@return表信息集合
*/
@Override
publicList<GenTable>selectGenTableAll()
{
returngenTableMapper.selectGenTableAll();
}
/**
*修改业务
*
*@paramgenTable业务信息
@ -179,14 +190,16 @@ public class GenTableServiceImpl implements IGenTableService
@@ -179,14 +190,16 @@ public class GenTableServiceImpl implements IGenTableService
@ -230,9 +243,10 @@ public class GenTableServiceImpl implements IGenTableService
@@ -230,9 +243,10 @@ public class GenTableServiceImpl implements IGenTableService
@ -275,6 +289,10 @@ public class GenTableServiceImpl implements IGenTableService
@@ -275,6 +289,10 @@ public class GenTableServiceImpl implements IGenTableService
@ -318,9 +336,10 @@ public class GenTableServiceImpl implements IGenTableService
@@ -318,9 +336,10 @@ public class GenTableServiceImpl implements IGenTableService
@ -374,6 +393,17 @@ public class GenTableServiceImpl implements IGenTableService
@@ -374,6 +393,17 @@ public class GenTableServiceImpl implements IGenTableService
@ -381,11 +411,10 @@ public class GenTableServiceImpl implements IGenTableService
@@ -381,11 +411,10 @@ public class GenTableServiceImpl implements IGenTableService
@ -395,7 +424,35 @@ public class GenTableServiceImpl implements IGenTableService
@@ -395,7 +424,35 @@ public class GenTableServiceImpl implements IGenTableService
@ -43,7 +43,7 @@ public class ${ClassName}Controller extends BaseController
@@ -43,7 +43,7 @@ public class ${ClassName}Controller extends BaseController
@ -55,6 +61,9 @@ public class ${ClassName}ServiceImpl implements I${ClassName}Service
@@ -55,6 +61,9 @@ public class ${ClassName}ServiceImpl implements I${ClassName}Service
* @param ${className} ${functionName}
* @return 结果
*/
#if($table.sub)
@Transactional
#end
@Override
public int insert${ClassName}(${ClassName} ${className})
{
@ -63,7 +72,13 @@ public class ${ClassName}ServiceImpl implements I${ClassName}Service
@@ -63,7 +72,13 @@ public class ${ClassName}ServiceImpl implements I${ClassName}Service
@ -72,6 +87,9 @@ public class ${ClassName}ServiceImpl implements I${ClassName}Service
@@ -72,6 +87,9 @@ public class ${ClassName}ServiceImpl implements I${ClassName}Service
* @param ${className} ${functionName}
* @return 结果
*/
#if($table.sub)
@Transactional
#end
@Override
public int update${ClassName}(${ClassName} ${className})
{
@ -80,6 +98,10 @@ public class ${ClassName}ServiceImpl implements I${ClassName}Service
@@ -80,6 +98,10 @@ public class ${ClassName}ServiceImpl implements I${ClassName}Service
@ -89,9 +111,15 @@ public class ${ClassName}ServiceImpl implements I${ClassName}Service
@@ -89,9 +111,15 @@ public class ${ClassName}ServiceImpl implements I${ClassName}Service
@ -104,6 +132,35 @@ public class ${ClassName}ServiceImpl implements I${ClassName}Service
@@ -104,6 +132,35 @@ public class ${ClassName}ServiceImpl implements I${ClassName}Service
@Override
public int delete${ClassName}ById(${pkColumn.javaType} ${pkColumn.javaField})