master
erzhongxmu 2020-04-14 19:26:23 +08:00
parent 80cc46f688
commit fab42f89bf
1 changed files with 4 additions and 4 deletions

View File

@ -133,13 +133,13 @@ public class WaveToFjController extends BaseController {
String message = null; String message = null;
AjaxJson j = new AjaxJson(); AjaxJson j = new AjaxJson();
waveToFj = systemService.getEntity(WaveToFjEntity.class, waveToFj.getId()); waveToFj = systemService.getEntity(WaveToFjEntity.class, waveToFj.getId());
message = "wave_to_fj删除成功"; message = "wave_to_fj";
try{ try{
waveToFjService.delete(waveToFj); waveToFjService.delete(waveToFj);
systemService.addLog(message, Globals.Log_Type_DEL, Globals.Log_Leavel_INFO); systemService.addLog(message, Globals.Log_Type_DEL, Globals.Log_Leavel_INFO);
}catch(Exception e){ }catch(Exception e){
e.printStackTrace(); e.printStackTrace();
message = "wave_to_fj删除失败"; message = "wave_to_fj";
throw new BusinessException(e.getMessage()); throw new BusinessException(e.getMessage());
} }
j.setMsg(message); j.setMsg(message);
@ -156,7 +156,7 @@ public class WaveToFjController extends BaseController {
public AjaxJson doBatchDel(String ids,HttpServletRequest request){ public AjaxJson doBatchDel(String ids,HttpServletRequest request){
String message = null; String message = null;
AjaxJson j = new AjaxJson(); AjaxJson j = new AjaxJson();
message = "wave_to_fj删除成功"; message = "wave_to_fj";
try{ try{
for(String id:ids.split(",")){ for(String id:ids.split(",")){
WaveToFjEntity waveToFj = systemService.getEntity(WaveToFjEntity.class, WaveToFjEntity waveToFj = systemService.getEntity(WaveToFjEntity.class,
@ -167,7 +167,7 @@ public class WaveToFjController extends BaseController {
} }
}catch(Exception e){ }catch(Exception e){
e.printStackTrace(); e.printStackTrace();
message = "wave_to_fj删除失败"; message = "wave_to_fj";
throw new BusinessException(e.getMessage()); throw new BusinessException(e.getMessage());
} }
j.setMsg(message); j.setMsg(message);