Browse Source

感知uuid

develop
wangsixiang 10 months ago
parent
commit
0168fbde74
  1. 4
      zc-business/src/main/java/com/zc/business/controller/DcWarningController.java

4
zc-business/src/main/java/com/zc/business/controller/DcWarningController.java

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

Loading…
Cancel
Save