物资配置管理--增加序列化注解
This commit is contained in:
parent
ab23106e1a
commit
99c76a7b7d
|
|
@ -17,10 +17,7 @@ import com.bonus.material.ma.vo.MaTypeConfigVo;
|
||||||
import com.google.common.collect.ImmutableList;
|
import com.google.common.collect.ImmutableList;
|
||||||
import io.swagger.annotations.Api;
|
import io.swagger.annotations.Api;
|
||||||
import io.swagger.annotations.ApiOperation;
|
import io.swagger.annotations.ApiOperation;
|
||||||
import org.springframework.web.bind.annotation.GetMapping;
|
import org.springframework.web.bind.annotation.*;
|
||||||
import org.springframework.web.bind.annotation.PostMapping;
|
|
||||||
import org.springframework.web.bind.annotation.RequestMapping;
|
|
||||||
import org.springframework.web.bind.annotation.RestController;
|
|
||||||
|
|
||||||
import javax.annotation.Resource;
|
import javax.annotation.Resource;
|
||||||
import javax.validation.Valid;
|
import javax.validation.Valid;
|
||||||
|
|
@ -63,7 +60,7 @@ public class MaTypeConfigController extends BaseController {
|
||||||
@PreventRepeatSubmit
|
@PreventRepeatSubmit
|
||||||
@RequiresPermissions("ma:typeConfig:edit")
|
@RequiresPermissions("ma:typeConfig:edit")
|
||||||
@PostMapping("/updateMaTypeBindInfo")
|
@PostMapping("/updateMaTypeBindInfo")
|
||||||
public AjaxResult updateMaTypeBindInfo(@Valid @NotNull MaTypeConfigDto maTypeConfigDto) {
|
public AjaxResult updateMaTypeBindInfo(@RequestBody @Valid @NotNull MaTypeConfigDto maTypeConfigDto) {
|
||||||
// -------------------- 数据校验开始 ---------------------
|
// -------------------- 数据校验开始 ---------------------
|
||||||
|
|
||||||
// 1.判断绑定标识是否为空
|
// 1.判断绑定标识是否为空
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue