package com.zioinfo.mes.process; import org.apache.ibatis.annotations.Mapper; import org.apache.ibatis.annotations.Param; import java.util.List; @Mapper public interface ProcessMapper { List findByWorkorder(@Param("workorderId") Long workorderId); List findRunning(); MesProcessProgress findById(@Param("id") Long id); int insert(MesProcessProgress p); int update(MesProcessProgress p); int updateStatus(@Param("id") Long id, @Param("status") String status); }