|
|
|
@ -3,6 +3,9 @@ package com.hnac.hzims.equipment.controller;
|
|
|
|
|
import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper; |
|
|
|
|
import com.baomidou.mybatisplus.core.metadata.IPage; |
|
|
|
|
import com.github.xiaoymin.knife4j.annotations.ApiOperationSupport; |
|
|
|
|
import com.hnac.hzims.common.logs.annotation.OperationAnnotation; |
|
|
|
|
import com.hnac.hzims.common.logs.enums.BusinessType; |
|
|
|
|
import com.hnac.hzims.common.logs.enums.OperatorType; |
|
|
|
|
import com.hnac.hzims.equipment.dto.EmDefinitionDTO; |
|
|
|
|
import com.hnac.hzims.equipment.entity.EmDefinitionEntity; |
|
|
|
|
import com.hnac.hzims.equipment.entity.EmTreeEntity; |
|
|
|
@ -51,6 +54,10 @@ public class EmDefinitionController extends BladeController {
|
|
|
|
|
@ApiOperation(value = "分页") |
|
|
|
|
@ApiImplicitParams({ |
|
|
|
|
}) |
|
|
|
|
@OperationAnnotation(moduleName = "设备管理", title = "设备定义" |
|
|
|
|
, operatorType = OperatorType.MOBILE, businessType = |
|
|
|
|
BusinessType.GENCODE, |
|
|
|
|
action = "分页查询设备定义列表") |
|
|
|
|
public R<IPage<EmDefinitionEntity>> getEmDefinitionPage(EmDefinitionEntity emDefinition, Query query) { |
|
|
|
|
LambdaQueryWrapper<EmDefinitionEntity> wrapper = new LambdaQueryWrapper<>(); |
|
|
|
|
if (Func.isNotEmpty(emDefinition.getStationType())) { |
|
|
|
|