main
黄海 9 months ago
parent 524e4d818e
commit e424519904

@ -11,7 +11,7 @@ public void addWxFaultType(String type_name){
/**
* 删除维修故障类型字典
* @param type_name 类型名称
* @param type_id 主键
*/
@Before({POST.class})
@JwtCheckInterface({})
@ -21,7 +21,9 @@ public void delWxFaultTypeById(int type_id){
renderJson(RetKit.renderSuccess());
}
/**按ID修改维修故障类型字典
/**
按ID修改维修故障类型字典
* @param type_id 主键
* @param type_name 类型名称
*/
@Before({POST.class})
@ -32,7 +34,8 @@ public void updateWxFaultTypeById(int type_id , String type_name){
renderJson(RetKit.renderSuccess());
}
/**按ID查询维修故障类型字典
/**
按ID查询维修故障类型字典
* @para type_id 主键
*/
@Before({GET.class})
@ -42,7 +45,10 @@ public void getWxFaultTypeById(int type_id){
renderJson(RetKit.renderSuccess(ym.getWxFaultTypeById(type_id)));
}
/** 分页查询维修故障类型字典
/**
分页查询维修故障类型字典
@param pageNum 页码
@param pageSize 每页数量
*/
@Before({GET.class})
@JwtCheckInterface({})

@ -1,4 +1,5 @@
/**增加维修故障类型字典
/**
增加维修故障类型字典
* @param type_name 类型名称
*/
public void addWxFaultType(String type_name){

@ -23,7 +23,8 @@ public void del${beanName}ById(${primary_key_type} ${primary_key}){
renderJson(RetKit.renderSuccess());
}
/**按ID修改${comment}
/**
按ID修改${comment}
* @param ${primary_key} 主键
<#list paraList as param>
* @param ${param.key} ${param.comment}
@ -37,7 +38,8 @@ public void update${beanName}ById(${primary_key_type} ${primary_key} , ${parasWi
renderJson(RetKit.renderSuccess());
}
/**按ID查询${comment}
/**
按ID查询${comment}
* @para ${primary_key} 主键
*/
@Before({GET.class})
@ -47,7 +49,10 @@ public void get${beanName}ById(${primary_key_type} ${primary_key}){
renderJson(RetKit.renderSuccess(${daoName}.get${beanName}ById(${primary_key})));
}
/** 分页查询${comment}
/**
分页查询${comment}
@param pageNum 页码
@param pageSize 每页数量
*/
@Before({GET.class})
@JwtCheckInterface({})

@ -23,7 +23,8 @@ public void del${beanName}ById(${primary_key_type} ${primary_key}){
renderJson(RetKit.renderSuccess());
}
/**按ID修改${comment}
/**
按ID修改${comment}
* @param ${primary_key} 主键
<#list paraList as param>
* @param ${param.key} ${param.comment}
@ -37,7 +38,8 @@ public void update${beanName}ById(${primary_key_type} ${primary_key} , ${parasWi
renderJson(RetKit.renderSuccess());
}
/**按ID查询${comment}
/**
按ID查询${comment}
* @para ${primary_key} 主键
*/
@Before({GET.class})
@ -47,7 +49,10 @@ public void get${beanName}ById(${primary_key_type} ${primary_key}){
renderJson(RetKit.renderSuccess(${daoName}.get${beanName}ById(${primary_key})));
}
/** 分页查询${comment}
/**
分页查询${comment}
@param pageNum 页码
@param pageSize 每页数量
*/
@Before({GET.class})
@JwtCheckInterface({})

Loading…
Cancel
Save