|
|
@ -399,10 +399,6 @@ public class EtcCustomerController { |
|
|
|
throw ErrorHelp.genException(SysCode.System, ErrorCode.COMMON_ERROR, "未查询到相关内容!"); |
|
|
|
throw ErrorHelp.genException(SysCode.System, ErrorCode.COMMON_ERROR, "未查询到相关内容!"); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
if (etcCarMsg.getVehStatus() == 11 || etcCarMsg.getVehStatus() == 12 || etcCarMsg.getVehStatus() == 13 || etcCarMsg.getVehStatus() == 15 || etcCarMsg.getVehStatus() == 20) { |
|
|
|
|
|
|
|
throw ErrorHelp.genException(SysCode.System, ErrorCode.COMMON_ERROR, "状态错误!"); |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
etcCarMsgService.deleteEtcCar(id); |
|
|
|
etcCarMsgService.deleteEtcCar(id); |
|
|
|
return ResponseMsgUtil.success("删除成功!"); |
|
|
|
return ResponseMsgUtil.success("删除成功!"); |
|
|
|
|
|
|
|
|
|
|
@ -424,8 +420,7 @@ public class EtcCustomerController { |
|
|
|
throw ErrorHelp.genException(SysCode.System, ErrorCode.COMMON_ERROR, "未查询到相关内容!"); |
|
|
|
throw ErrorHelp.genException(SysCode.System, ErrorCode.COMMON_ERROR, "未查询到相关内容!"); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
etcCustMsg.setStatus(0); |
|
|
|
etcCustMsgService.deleteEtcCust(id); |
|
|
|
etcCustMsgService.editEtcCust(etcCustMsg); |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
return ResponseMsgUtil.success("删除成功!"); |
|
|
|
return ResponseMsgUtil.success("删除成功!"); |
|
|
|
|
|
|
|
|
|
|
|