lyh
2025-07-01 f6a84c246d587f924c2eda088070b455dec52df1
lxzn-module-system/lxzn-system-biz/src/main/java/org/jeecg/modules/system/mapper/MdcProductionMapper.java
@@ -1,9 +1,9 @@
package org.jeecg.modules.system.mapper;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;
import org.jeecg.modules.system.entity.MdcProduction;
import org.springframework.data.repository.query.Param;
import java.util.List;
@@ -29,9 +29,20 @@
    /**
     * 根据用户id和车间id获取用户拥有的车间id
     *
     * @param userId
     * @param productionId
     * @return
     */
    String findFirstProduction(@Param("userId") String userId, @Param("productionId") String productionId);
    /**
     * 根据用户id查询用户工段权限
     *
     * @param userId
     * @return
     */
    String findThreeProductionId(@Param("userId") String userId);
    MdcProduction findProductionList(@Param("equipmentId") String equipmentId);
}