| | |
| | | import io.swagger.annotations.ApiOperation; |
| | | import lombok.AllArgsConstructor; |
| | | import org.springblade.core.boot.ctrl.BladeController; |
| | | import org.springblade.core.log.annotation.ApiLog; |
| | | import org.springblade.core.mp.support.Condition; |
| | | import org.springblade.core.tool.api.R; |
| | | import org.springframework.util.CollectionUtils; |
| | |
| | | @ApiOperationSupport(order = 3) |
| | | @ApiOperation(value = "分页", notes = "传入CodeRule") |
| | | public R<IPage<CodeRuleVO>> gridCodeRule(BladeQueryObject bladeQueryObject) { |
| | | // TODO:测试错误日志 |
| | | //int i = 1/0; |
| | | IPage<CodeRuleVO> pages = codeRuleService.gridCodeRule(bladeQueryObject.getQuery().setDescs("CREATETIME"), bladeQueryObject.getConditionMap()); |
| | | return R.data(pages); |
| | | } |
| | |
| | | @ApiOperationSupport(order = 11) |
| | | @ApiOperation(value = "查看主数据编码规则的使用范围", notes = "传入oid") |
| | | public R<Collection<CodeClassifyVO>> listUseRange(@Valid @RequestParam String oid){ |
| | | Collection<CodeClassifyVO> voList = codeRuleService.listUseRangeInCodeClassify(oid); |
| | | return R.data(voList); |
| | | return R.data(codeRuleService.listUseRangeInCodeClassify(oid)); |
| | | } |
| | | |
| | | /** |