@ -80,9 +80,7 @@ public class DcWarningController extends BaseController
@PostMapping
public AjaxResult add(@RequestBody DcWarning dcWarning)
{
//设置事件Id UUID无下划线格式32
String uuid = IdUtils.fastSimpleUUID();
dcWarning.setId(uuid);
return toAjax(dcWarningService.insertDcWarning(dcWarning));
}