You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
26 lines
647 B
26 lines
647 B
/**
|
|
* 增加${comment}
|
|
<#list params as param>
|
|
* @param ${param.key} ${param.comment}
|
|
</#list>
|
|
*/
|
|
@Before({POST.class})
|
|
@JwtCheckInterface({})
|
|
public void add${beanNameWithoutT}(${fullParameters}){
|
|
${daoName}.add${beanNameWithoutT}(${parameters});
|
|
renderJson(RetKit.renderSuccess());
|
|
}
|
|
|
|
/**
|
|
* 删除${comment}
|
|
<#list params as param>
|
|
* @param ${param.key} ${param.comment}
|
|
</#list>
|
|
*/
|
|
@Before({POST.class})
|
|
@JwtCheckInterface({})
|
|
@IsNumericInterface({"${key}"})
|
|
public void del${beanNameWithoutT}ById(${key_type} ${key}){
|
|
${daoName}.del${beanNameWithoutT}ById(${key});
|
|
renderJson(RetKit.renderSuccess());
|
|
} |