forked from I3-YF/i3plus-mes-yfai
QMSCCSC检测任务
parent
91fd5c4d91
commit
71873fb9e5
@ -0,0 +1,14 @@
|
|||||||
|
package cn.estsh.i3plus.ext.mes.api.base;
|
||||||
|
|
||||||
|
import cn.estsh.i3plus.pojo.mes.bean.MesCcscRule;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @Description :质量ccsc检查规则
|
||||||
|
* @Reference :
|
||||||
|
* @Author : gsz
|
||||||
|
* @CreateDate 2024/5/23 13:28
|
||||||
|
* @Modify:
|
||||||
|
**/
|
||||||
|
public interface IMesCcscRuleService extends IBaseMesService<MesCcscRule> {
|
||||||
|
|
||||||
|
}
|
@ -0,0 +1,19 @@
|
|||||||
|
package cn.estsh.i3plus.ext.mes.api.base;
|
||||||
|
|
||||||
|
import cn.estsh.i3plus.pojo.mes.bean.MesCcscTask;
|
||||||
|
import cn.estsh.i3plus.pojo.mes.bean.MesWorkOrder;
|
||||||
|
|
||||||
|
import java.util.List;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @Description :质量检验任务
|
||||||
|
* @Reference :
|
||||||
|
* @Author : gsz
|
||||||
|
* @CreateDate 2024/5/23 13:28
|
||||||
|
* @Modify:
|
||||||
|
**/
|
||||||
|
public interface IMesCcscTaskService extends IBaseMesService<MesCcscTask> {
|
||||||
|
MesCcscTask insert(MesWorkOrder mesWorkOrder,String orderNo,Integer frequency,Integer rule);
|
||||||
|
|
||||||
|
void doCcscTaskByMesWorkOrder(String organizeCode,List<MesWorkOrder> mesWorkOrderList);
|
||||||
|
}
|
@ -0,0 +1,14 @@
|
|||||||
|
package cn.estsh.i3plus.ext.mes.api.base;
|
||||||
|
|
||||||
|
import cn.estsh.i3plus.pojo.mes.bean.MesComunicationLog;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @Description :产线工位配置
|
||||||
|
* @Reference :
|
||||||
|
* @Author : gsz
|
||||||
|
* @CreateDate 2024/5/23 13:28
|
||||||
|
* @Modify:
|
||||||
|
**/
|
||||||
|
public interface IMesComunicationLogService extends IBaseMesService<MesComunicationLog> {
|
||||||
|
|
||||||
|
}
|
@ -0,0 +1,19 @@
|
|||||||
|
package cn.estsh.i3plus.ext.mes.apiservice.serviceimpl.base;
|
||||||
|
|
||||||
|
import cn.estsh.i3plus.ext.mes.api.base.IMesCcscRuleService;
|
||||||
|
import cn.estsh.i3plus.pojo.base.bean.DdlPackBean;
|
||||||
|
import cn.estsh.i3plus.pojo.base.tool.DdlPreparedPack;
|
||||||
|
import cn.estsh.i3plus.pojo.mes.bean.MesCcscRule;
|
||||||
|
import lombok.extern.slf4j.Slf4j;
|
||||||
|
import org.springframework.stereotype.Service;
|
||||||
|
|
||||||
|
|
||||||
|
@Service
|
||||||
|
@Slf4j
|
||||||
|
public class MesCcscRuleServiceImpl extends BaseMesService<MesCcscRule> implements IMesCcscRuleService {
|
||||||
|
|
||||||
|
@Override
|
||||||
|
protected void setPackQueryBean(MesCcscRule bean, DdlPackBean packBean) {
|
||||||
|
DdlPreparedPack.getStringEqualPack(bean.getPartNo(), "partNo", packBean);
|
||||||
|
}
|
||||||
|
}
|
@ -0,0 +1,13 @@
|
|||||||
|
package cn.estsh.i3plus.ext.mes.apiservice.serviceimpl.base;
|
||||||
|
|
||||||
|
import cn.estsh.i3plus.ext.mes.api.base.IMesComunicationLogService;
|
||||||
|
import cn.estsh.i3plus.pojo.mes.bean.MesComunicationLog;
|
||||||
|
import lombok.extern.slf4j.Slf4j;
|
||||||
|
import org.springframework.stereotype.Service;
|
||||||
|
|
||||||
|
|
||||||
|
@Service
|
||||||
|
@Slf4j
|
||||||
|
public class MesComunicationLogServiceImpl extends BaseMesService<MesComunicationLog> implements IMesComunicationLogService {
|
||||||
|
|
||||||
|
}
|
Loading…
Reference in New Issue