| | |
| | | import io.swagger.annotations.Api; |
| | | import io.swagger.annotations.ApiOperation; |
| | | import lombok.extern.slf4j.Slf4j; |
| | | import org.apache.commons.lang3.StringUtils; |
| | | import org.jeecg.common.api.vo.Result; |
| | | import org.jeecg.common.aspect.annotation.AutoLog; |
| | | import org.jeecg.common.constant.CommonConstant; |
| | |
| | | |
| | | @ApiOperation(value = "精度参数维护-查询所有", notes = "精度参数维护-查询所有") |
| | | @GetMapping(value = "/listAll") |
| | | public Result<?> listAll() { |
| | | public Result<?> listAll(String equipmentType) { |
| | | QueryWrapper<EamPrecisionParameters> queryWrapper = new QueryWrapper<>(); |
| | | queryWrapper.eq("del_flag", CommonConstant.DEL_FLAG_0); |
| | | queryWrapper.eq(StringUtils.isNotEmpty(equipmentType), "equipment_type", equipmentType); |
| | | List<EamPrecisionParameters> list = eamPrecisionParametersService.list(queryWrapper); |
| | | return Result.OK(list); |
| | | } |