| | |
| | | import org.springblade.mdm.basesetting.machine.entity.Machine; |
| | | import org.springblade.mdm.basesetting.machine.vo.MachineVO; |
| | | import org.springblade.mdm.program.entity.NcProgram; |
| | | import org.springblade.mdm.program.vo.NcNodeProgramQueryVO; |
| | | import org.springblade.mdm.program.vo.NcNodeProgramVO; |
| | | import org.springblade.mdm.program.vo.NcProgramVO; |
| | | |
| | | import java.util.List; |
| | | |
| | | public interface NcProgramMapper extends BladeMapper<NcProgram> { |
| | | |
| | | /** |
| | | * 获取最新固化程序 |
| | | * @param partNo 零组件号 |
| | | * @param drawingNo 零组件号 |
| | | * @param machineGroupCode 机床组代码 |
| | | * @return |
| | | */ |
| | | NcProgram getCuredNcProgram(@Param("partNo")String partNo,@Param("machineGroupCode")String machineGroupCode); |
| | | List<NcProgram> getCuredNcProgram( @Param("drawingNo")String drawingNo,@Param("machineGroupCode")String machineGroupCode); |
| | | |
| | | /** |
| | | * 根据程序名称,获取最新的程序实体 |
| | | * @param name 程序名称 |
| | | * @return nc程序 |
| | | */ |
| | | //NcProgram getLastNcProgram(String name); |
| | | IPage<NcProgramVO> pageQuery(@Param("page")IPage<NcNodeProgramVO> page, @Param("query") NcNodeProgramQueryVO query); |
| | | } |