Lius
2024-07-31 0bd71968ff07a70c421a0f41a642742fedf125bd
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);
}