| | |
| | | package org.jeecg.modules.eam.mapper; |
| | | |
| | | import com.baomidou.mybatisplus.annotation.InterceptorIgnore; |
| | | import com.baomidou.mybatisplus.core.conditions.Wrapper; |
| | | import com.baomidou.mybatisplus.core.mapper.BaseMapper; |
| | | import com.baomidou.mybatisplus.core.metadata.IPage; |
| | | import com.baomidou.mybatisplus.core.toolkit.Constants; |
| | | import org.apache.ibatis.annotations.Param; |
| | | import org.apache.ibatis.annotations.Select; |
| | | import org.jeecg.modules.eam.entity.EamEquipment; |
| | | import org.jeecg.modules.system.entity.SysCategory; |
| | | |
| | | import java.util.List; |
| | | |
| | |
| | | */ |
| | | @Select("select * from eam_equipment where del_flag = 0 and org_id = #{productionId}") |
| | | List<EamEquipment> queryByProductionId(String productionId); |
| | | |
| | | /** |
| | | * 分页查询 |
| | | * @param page |
| | | * @param queryWrapper |
| | | * @return |
| | | */ |
| | | IPage<EamEquipment> queryPageList(IPage<EamEquipment> page, @Param(Constants.WRAPPER) Wrapper<EamEquipment> queryWrapper); |
| | | |
| | | @InterceptorIgnore( |
| | | tenantLine = "true", // 忽略多租户条件 |
| | | blockAttack = "true", // 绕过全表操作检查 |
| | | illegalSql = "true" // 禁用 SQL 注入检查 |
| | | ) |
| | | List<SysCategory> getCategoryTypeMap(); |
| | | } |