| | |
| | | import org.springblade.core.mp.support.Condition; |
| | | import org.springblade.core.mp.support.Query; |
| | | import org.springblade.core.tool.api.R; |
| | | import org.springblade.core.tool.utils.StringUtil; |
| | | import org.springframework.web.bind.annotation.GetMapping; |
| | | import org.springframework.web.bind.annotation.PostMapping; |
| | | import org.springframework.web.bind.annotation.RequestMapping; |
| | |
| | | |
| | | @PostMapping("/update") |
| | | public R update(AttWmstBase attWmstBase){ |
| | | if (StringUtil.isBlank(attWmstBase.getGuid())) { |
| | | R.fail("参数不能为空!"); |
| | | } |
| | | boolean res = attWmstBaseService.customizeUpdate(attWmstBase); |
| | | return R.data(res); |
| | | } |