package com.fgkj.controller.Ld9;
|
|
import com.fgkj.dto.BadLd9_mon_flag;
|
import com.fgkj.dto.ServiceModel;
|
import com.fgkj.services.Ld9.BadLd9_mon_flagService;
|
import io.swagger.annotations.Api;
|
import io.swagger.annotations.ApiOperation;
|
import org.springframework.web.bind.annotation.PostMapping;
|
import org.springframework.web.bind.annotation.RequestBody;
|
import org.springframework.web.bind.annotation.RequestMapping;
|
import org.springframework.web.bind.annotation.RestController;
|
|
import javax.annotation.Resource;
|
|
/**
|
* TODO 接口暂未使用
|
*/
|
|
@RequestMapping("BadLd9MonFlag")
|
@RestController
|
@Api(tags = "BadLd9MonFlag接口")
|
public class BadLd9_mon_flagController{
|
|
@Resource
|
private BadLd9_mon_flagService service;
|
|
//往标识表中插入一笔数据
|
@PostMapping("/")
|
@ApiOperation(notes = "TODO 接口暂未使用",value="往标识表中插入一笔数据")
|
public ServiceModel add(@RequestBody BadLd9_mon_flag monflag) {
|
// BadLd9_mon_flag monflag = getGson().fromJson(json, BadLd9_mon_flag.class);
|
ServiceModel model = service.add(monflag);
|
return model;
|
}
|
|
}
|