|
|
|
@ -6,6 +6,9 @@ import com.baomidou.dynamic.datasource.annotation.DS;
|
|
|
|
|
import com.op.common.core.utils.DateUtils;
|
|
|
|
|
import com.op.common.core.utils.uuid.IdUtils;
|
|
|
|
|
import com.op.common.security.utils.SecurityUtils;
|
|
|
|
|
import com.op.quality.domain.QcCheckType;
|
|
|
|
|
import com.op.quality.mapper.QcCheckTypeMapper;
|
|
|
|
|
import com.op.quality.service.IQcCheckTypeService;
|
|
|
|
|
import org.springframework.beans.factory.annotation.Autowired;
|
|
|
|
|
import org.springframework.stereotype.Service;
|
|
|
|
|
import com.op.quality.mapper.QcSampleRuleMapper;
|
|
|
|
@ -27,6 +30,9 @@ public class QcSampleRuleServiceImpl implements IQcSampleRuleService {
|
|
|
|
|
@Autowired
|
|
|
|
|
private QcSampleRuleMapper qcSampleRuleMapper;
|
|
|
|
|
|
|
|
|
|
@Autowired
|
|
|
|
|
private QcCheckTypeMapper qcCheckTypeMapper;
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* 查询来料抽样规则
|
|
|
|
|
*
|
|
|
|
@ -106,4 +112,12 @@ public class QcSampleRuleServiceImpl implements IQcSampleRuleService {
|
|
|
|
|
public int deleteQcSampleRuleById(String id) {
|
|
|
|
|
return qcSampleRuleMapper.deleteQcSampleRuleById(id);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
@Override
|
|
|
|
|
@DS("#header.poolName")
|
|
|
|
|
public List<QcCheckType> selectCheckType(String typeCode) {
|
|
|
|
|
QcCheckType qcCheckType = new QcCheckType();
|
|
|
|
|
qcCheckType.setTypeCode(typeCode);
|
|
|
|
|
return qcCheckTypeMapper.selectQcCheckTypeList(qcCheckType);
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|