| | |
| | | import org.springframework.util.CollectionUtils; |
| | | import org.springframework.web.bind.annotation.*; |
| | | |
| | | import javax.validation.Valid; |
| | | import java.util.ArrayList; |
| | | import java.util.Collection; |
| | | import java.util.List; |
| | |
| | | */ |
| | | @GetMapping("/gridCodeFixedValue") |
| | | @ApiOperationSupport(order = 1) |
| | | @ApiOperation(value = "分页 码段基础信息列表", notes = "CodeFixedValueVO") |
| | | @ApiOperation(value = "固定码段的码值列表", notes = "CodeFixedValueVO") |
| | | public R<IPage<CodeFixedValueVO>> gridCodeFixedValue(CodeFixedValueVO codeFixedValueVO, Query query){ |
| | | return R.data(codeFixedValueService.gridCodeFixedValue(codeFixedValueVO, Condition.getPage(query.setAscs("ordernum")))); |
| | | return R.data(codeFixedValueService.gridCodeFixedValue(codeFixedValueVO, Condition.getPage(query.setAscs("orderNum")))); |
| | | } |
| | | |
| | | /** |
| | |
| | | * @return 删除结果反馈::success:成功,fail:失败 |
| | | */ |
| | | @DeleteMapping( "/deleteData") |
| | | public R delCodeFixedValue(@RequestBody CodeFixedValueDTO codeFixedValueDTO) { |
| | | public R delCodeFixedValue(@Valid @RequestBody CodeFixedValueDTO codeFixedValueDTO) { |
| | | return codeFixedValueService.deleteCodeFixedValue(codeFixedValueDTO); |
| | | } |
| | | |