main
黄海 9 months ago
parent 4d6f18b360
commit 591965a39a

@ -19,4 +19,15 @@ public void addWxFaultType(String type_name ){
public void delWxFaultTypeById(int type_id){
ym.delWxFaultTypeById(type_id);
renderJson(RetKit.renderSuccess());
}
/**修改维修故障类型字典
* @param type_name 类型名称
*/
@Before({POST.class})
@JwtCheckInterface({})
@IsNumericInterface({type_id)
public void updateWxFaultTypeById(int type_id , String type_name ){
ym.updateWxFaultTypeById(type_id , type_name );
renderJson(RetKit.renderSuccess());
}

@ -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());
}

@ -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());
}
Loading…
Cancel
Save