package com.mes.downworkstation.service;
|
|
import com.baomidou.mybatisplus.extension.service.IService;
|
import com.mes.downworkstation.entity.DownWorkstation;
|
|
import java.util.List;
|
import java.util.Map;
|
|
/**
|
* <p>
|
* 服务类
|
* </p>
|
*
|
* @author zhoush
|
* @since 2024-03-27
|
*/
|
public interface DownWorkstationService extends IService<DownWorkstation> {
|
|
/**
|
* @param startId
|
* @param endId
|
* @return 获取工位信息
|
*/
|
List<DownWorkstation> getoneDownWorkstations(int startId, int endId);
|
|
/**
|
* @param workstationId
|
* @return 获取总数量
|
*/
|
int getTotalQuantity(int workstationId);
|
|
/**
|
* @param workstationId
|
* @return 获取落架数量
|
*/
|
int getRacksNumber(int workstationId);
|
|
/**
|
* @param workstationId 清空架子信息
|
*/
|
void clearFlowCardId(int workstationId);
|
|
/**
|
* @param flowCardId
|
* @param racksnumber 更新落架数量
|
*/
|
void updateracksnumber(String flowCardId, int racksnumber);
|
|
|
/**
|
* @param flowCardId
|
* @param glassInfoCount
|
* @param workstationId
|
* @return 更新架子和数量
|
*/
|
int updateFlowCardIdAndCount(String flowCardId, int glassInfoCount, int workstationId,int artificialnumber);
|
|
|
|
/**
|
* @return //
|
* 工位显示
|
*/
|
List<Map<String, Object>> getTotalGlassDimensionsByWorkstation(int start,int end);
|
|
|
/**
|
* @param flowcardid
|
* 根据流程卡号查询
|
* @return
|
*/
|
DownWorkstation selectByFlowCardId(String flowcardid);
|
}
|