| | |
| | | import org.springblade.core.tool.api.R; |
| | | import com.vci.ubcs.system.entity.DictBiz; |
| | | import org.springframework.web.bind.annotation.GetMapping; |
| | | import org.springframework.web.bind.annotation.PostMapping; |
| | | import org.springframework.web.bind.annotation.RestController; |
| | | import springfox.documentation.annotations.ApiIgnore; |
| | | |
| | |
| | | return R.data(service.getList(code)); |
| | | } |
| | | |
| | | /** |
| | | * 新增或修改 |
| | | * |
| | | * @param dictBiz |
| | | * @return |
| | | */ |
| | | @Override |
| | | @PostMapping(CHECK_VALUE) |
| | | public R getCheck(DictBiz dictBiz) { |
| | | return service.checkOrInsert(dictBiz); |
| | | } |
| | | } |