ke
2024-07-19 08a962d2925baa255207fdf979e6fee794f1773b
skjcmanager/skjcmanager-service/skjcmanager-sm/src/main/java/cn/gistack/sm/sg/mapper/SgGxStepMapper.java
New file
@@ -0,0 +1,38 @@
package cn.gistack.sm.sg.mapper;
import cn.gistack.sm.sg.DO.SgDeviceGxStepDO;
import cn.gistack.sm.sg.DO.SgGxStepDO;
import cn.gistack.sm.sg.DTO.ProjectSearchDTO;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import org.apache.ibatis.annotations.Param;
import java.util.List;
/**
 * <p>
 * 施工工序步骤表 Mapper 接口
 * </p>
 *
 * @author shenyijian
 * @since 2024-06-13 15:46:18
 */
public interface SgGxStepMapper extends BaseMapper<SgGxStepDO> {
    List<SgGxStepDO> selectByGxInfoId(@Param("gxInfoId") Long gxInfoId);
   List<SgGxStepDO> queryPageList(IPage<SgGxStepDO> page, @Param("dto") ProjectSearchDTO searchDTO);
   /**
    * 查询设备下的工序状态
    * @param deviceId
    * @return
    */
   List<SgDeviceGxStepDO> getDeviceGXList(@Param("deviceId") Long deviceId);
    List<SgGxStepDO> queryStepList(@Param("deviceId")String deviceId);
   List<SgGxStepDO> getDEviceGXtwo();
   List<SgGxStepDO> queryStepLists(@Param("deviceType") String deviceType);
}