|
|
|
@ -23,4 +23,17 @@ public void add${beanNameWithoutT}(${fullParameters}){
|
|
|
|
|
public void del${beanNameWithoutT}ById(${key_type} ${key}){
|
|
|
|
|
${daoName}.del${beanNameWithoutT}ById(${key});
|
|
|
|
|
renderJson(RetKit.renderSuccess());
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/**修改${comment}
|
|
|
|
|
<#list params as param>
|
|
|
|
|
* @param ${param.key} ${param.comment}
|
|
|
|
|
</#list>
|
|
|
|
|
*/
|
|
|
|
|
@Before({POST.class})
|
|
|
|
|
@JwtCheckInterface({})
|
|
|
|
|
@IsNumericInterface({${key})
|
|
|
|
|
public void update${beanNameWithoutT}ById(${key_type} ${key} , ${fullParameters}){
|
|
|
|
|
${daoName}.update${beanNameWithoutT}ById(${key} , ${parameters});
|
|
|
|
|
renderJson(RetKit.renderSuccess());
|
|
|
|
|
}
|