|
@@ -1,6 +1,7 @@
|
|
|
package com.jjt.biz.controller;
|
|
|
|
|
|
-import com.jjt.biz.domain.*;
|
|
|
+import com.jjt.biz.domain.BizModel;
|
|
|
+import com.jjt.biz.domain.BizObj;
|
|
|
import com.jjt.biz.service.IBizModelService;
|
|
|
import com.jjt.common.annotation.Log;
|
|
|
import com.jjt.common.core.controller.BaseController;
|
|
@@ -103,7 +104,8 @@ public class BizModelController extends BaseController {
|
|
|
@Log(title = "业务模型", businessType = BusinessType.INSERT)
|
|
|
@PostMapping
|
|
|
public AjaxResult add(@RequestBody BizModel bizModel) {
|
|
|
- return toAjax(bizModelService.insertBizModel(bizModel));
|
|
|
+ bizModelService.insertBizModel(bizModel);
|
|
|
+ return AjaxResult.success(bizModel);
|
|
|
}
|
|
|
|
|
|
/**
|