Commit 26c41017 by dt

模板修改:更新版本3.0.6

parent 5967dcaa
...@@ -27,7 +27,7 @@ import io.swagger.annotations.ApiOperation; ...@@ -27,7 +27,7 @@ import io.swagger.annotations.ApiOperation;
* <p>说明: ${entityComment}API接口层</P> * <p>说明: ${entityComment}API接口层</P>
* @version: ${version} * @version: ${version}
* @author: ${author} * @author: ${author}
* * @time ${createTime}
*/ */
public class AbstractController<S extends IService<T>,T>{ public class AbstractController<S extends IService<T>,T>{
...@@ -40,7 +40,7 @@ public class AbstractController<S extends IService<T>,T>{ ...@@ -40,7 +40,7 @@ public class AbstractController<S extends IService<T>,T>{
* @param 对象参数:id * @param 对象参数:id
* @return JsonResult * @return JsonResult
* @author ${author} * @author ${author}
* @time 201949 * @time ${createTime}
*/ */
@GetMapping("/getById/{id}") @GetMapping("/getById/{id}")
<#if isSwagger=="true" > <#if isSwagger=="true" >
...@@ -62,7 +62,7 @@ public class AbstractController<S extends IService<T>,T>{ ...@@ -62,7 +62,7 @@ public class AbstractController<S extends IService<T>,T>{
* @param 对象参数:id * @param 对象参数:id
* @return JsonResult * @return JsonResult
* @author ${author} * @author ${author}
* @time 201949 * @time ${createTime}
*/ */
@PostMapping("/deleteById") @PostMapping("/deleteById")
<#if isSwagger=="true" > <#if isSwagger=="true" >
...@@ -90,7 +90,7 @@ public class AbstractController<S extends IService<T>,T>{ ...@@ -90,7 +90,7 @@ public class AbstractController<S extends IService<T>,T>{
* @param 对象参数:T * @param 对象参数:T
* @return Boolean * @return Boolean
* @author ${author} * @author ${author}
* @time 201949 * @time ${createTime}
*/ */
@PostMapping("/insert") @PostMapping("/insert")
<#if isSwagger=="true" > <#if isSwagger=="true" >
...@@ -116,7 +116,7 @@ public class AbstractController<S extends IService<T>,T>{ ...@@ -116,7 +116,7 @@ public class AbstractController<S extends IService<T>,T>{
* @param 对象参数:T * @param 对象参数:T
* @return Boolean * @return Boolean
* @author ${author} * @author ${author}
* @time 201949 * @time ${createTime}
*/ */
@PostMapping("/update") @PostMapping("/update")
<#if isSwagger=="true" > <#if isSwagger=="true" >
...@@ -139,14 +139,14 @@ public class AbstractController<S extends IService<T>,T>{ ...@@ -139,14 +139,14 @@ public class AbstractController<S extends IService<T>,T>{
/** /**
* @explain 分页条件查询用户 * @explain 分页条件查询用户
* @param 对象参数:AppPage<User> * @param 对象参数:AppPage<${entityName}>
* @return PageInfo<User> * @return PageInfo<${entityName}>
* @author ${author} * @author ${author}
* @time 2019520 * @time ${createTime}
*/ */
@GetMapping("/getPages") @GetMapping("/getPages")
<#if isSwagger=="true" > <#if isSwagger=="true" >
@ApiOperation(value = "分页查询", notes = "分页查询返回[IPage<T>],作者:边鹏") @ApiOperation(value = "分页查询", notes = "分页查询返回[IPage<T>],作者:${author}")
</#if> </#if>
public JsonResult<IPage<T>> getPages(PageParam<T> param){ public JsonResult<IPage<T>> getPages(PageParam<T> param){
JsonResult<IPage<T>> returnPage=new JsonResult<IPage<T>>(); JsonResult<IPage<T>> returnPage=new JsonResult<IPage<T>>();
......
...@@ -22,6 +22,7 @@ import org.slf4j.LoggerFactory; ...@@ -22,6 +22,7 @@ import org.slf4j.LoggerFactory;
* <p>说明: ${entityComment}API接口层</P> * <p>说明: ${entityComment}API接口层</P>
* @version: ${version} * @version: ${version}
* @author: ${author} * @author: ${author}
* @time ${createTime}
* *
*/ */
<#if isSwagger=="true" > <#if isSwagger=="true" >
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment