| | |
| | | import cn.iocoder.yudao.module.mes.dal.dataobject.pro.feedback.MesProFeedbackDO; |
| | | import org.apache.ibatis.annotations.Mapper; |
| | | |
| | | import java.util.Collection; |
| | | import java.util.List; |
| | | |
| | | /** |
| | | * MES 生产报工 Mapper |
| | | * |
| | |
| | | .orderByDesc(MesProFeedbackDO::getId)); |
| | | } |
| | | |
| | | default Long selectCountByTaskId(Long taskId) { |
| | | return selectCount(MesProFeedbackDO::getTaskId, taskId); |
| | | } |
| | | |
| | | default List<MesProFeedbackDO> selectListByTaskId(Long taskId) { |
| | | return selectList(new LambdaQueryWrapperX<MesProFeedbackDO>() |
| | | .eq(MesProFeedbackDO::getTaskId, taskId) |
| | | .orderByDesc(MesProFeedbackDO::getId)); |
| | | } |
| | | |
| | | default List<MesProFeedbackDO> selectListByTaskIds(Collection<Long> taskIds) { |
| | | return selectList(new LambdaQueryWrapperX<MesProFeedbackDO>() |
| | | .in(MesProFeedbackDO::getTaskId, taskIds)); |
| | | } |
| | | |
| | | } |