| | |
| | | @ApiResource({"blade-system/bascoderule"}) |
| | | @Api(value = "编码规则", tags = {"编码规则接口"}) |
| | | @RestController |
| | | /* loaded from: blade-api.jar:BOOT-INF/classes/org/springblade/modules/system/controller/BasCoderuleController.class */ |
| | | public class BasCoderuleController extends BladeController { |
| | | private IBasCoderuleService basCoderuleService; |
| | | private IMetaObjectTypeService metaObjectTypeService; |
| | |
| | | @GetResource({"/count"}) |
| | | @ApiOperation(value = "count", notes = "编码规则查询数量") |
| | | public R<Long> count(@RequestParam("type") @ApiParam("业务对象名称") String type) { |
| | | return R.data(Long.valueOf(this.basCoderuleService.count(Lambda.eq((v0) -> { |
| | | return v0.getBillFormId(); |
| | | }, type)))); |
| | | return R.data(Long.valueOf(this.basCoderuleService.count(Lambda.eq(BasCodeRule::getBillFormId, type)))); |
| | | } |
| | | |
| | | @GetResource({"/count-all"}) |