|
|
|
@ -13,6 +13,7 @@ import com.gaotao.modules.pms.entity.vo.PartInformationVo; |
|
|
|
import com.gaotao.modules.pms.entity.vo.PartLabelTemplateVo; |
|
|
|
import com.gaotao.modules.pms.mapper.QcBaseInfoMapper; |
|
|
|
import com.gaotao.modules.pms.service.QcBaseInfoService; |
|
|
|
import com.gaotao.modules.report.dao.ProcedureDao; |
|
|
|
import com.gaotao.modules.pms.util.BuResolveUtil; |
|
|
|
import com.gaotao.modules.pms.util.PmsI18nHelper; |
|
|
|
import com.gaotao.modules.sys.entity.SysUserEntity; |
|
|
|
@ -43,6 +44,8 @@ public class QcBaseInfoServiceImpl implements QcBaseInfoService { |
|
|
|
private QcBaseInfoMapper qcBaseInfoMapper; |
|
|
|
@Autowired |
|
|
|
private PmsI18nHelper pmsI18nHelper; |
|
|
|
@Autowired |
|
|
|
private ProcedureDao procedureDao; |
|
|
|
|
|
|
|
// ======================= 检验方法 ======================= |
|
|
|
|
|
|
|
@ -1029,6 +1032,13 @@ public class QcBaseInfoServiceImpl implements QcBaseInfoService { |
|
|
|
qcBaseInfoMapper.qcPartAttributeEdit(data); |
|
|
|
} |
|
|
|
|
|
|
|
@Override |
|
|
|
public void syncPartCatalog() { |
|
|
|
List<Object> params = Collections.singletonList("*"); |
|
|
|
procedureDao.execProduceData("UspSyncPartCatalog", params); |
|
|
|
log.info("UspSyncPartCatalog executed with param *"); |
|
|
|
} |
|
|
|
|
|
|
|
@Override |
|
|
|
public List<QcSpecData> qcSpecSearch(QcSpecData data) { |
|
|
|
return qcBaseInfoMapper.qcSpecSearch(data); |
|
|
|
|