You've already forked FrameTour-BE
模板、设备排序
This commit is contained in:
@ -45,4 +45,8 @@ public interface DeviceMapper {
|
||||
int updateOnlineStatus(Long id, String ipAddr, int online, Date keepaliveAt);
|
||||
|
||||
DeviceEntity getByDeviceNo2(String deviceNo);
|
||||
|
||||
List<Long> listAllByScenicId(Long scenicId);
|
||||
|
||||
int updateSort(Long id, Integer sort);
|
||||
}
|
||||
|
@ -36,6 +36,8 @@ public interface TaskMapper {
|
||||
int countByMemberIdStauFinish(String userId);
|
||||
|
||||
List<TaskRespVO> selectNotRunning();
|
||||
List<TaskEntity> selectAllNotRunning();
|
||||
List<TaskEntity> selectAllRunning();
|
||||
|
||||
void assignToWorker(@Param("taskId") Long taskId, @Param("workerId") Long workerId);
|
||||
void deassign(@Param("taskId") Long taskId);
|
||||
|
@ -35,5 +35,9 @@ public interface TemplateMapper {
|
||||
List<TemplateEntity> listEnabledByScenicId(Long scenicId);
|
||||
List<TemplateEntity> listEnabled();
|
||||
List<Long> listEnabledTemplateIdByScenicId(Long scenicId);
|
||||
List<Long> listAllTemplateIdByScenicId(Long scenicId);
|
||||
List<ContentPageVO> listFor(@Param("scenicId") Long scenicId);
|
||||
|
||||
int updateSort(Long templateId, Integer sort);
|
||||
|
||||
}
|
||||
|
Reference in New Issue
Block a user