|
|
|
@ -1,6 +1,5 @@
|
|
|
|
|
package com.foreverwin.mesnac.anomaly.service.impl;
|
|
|
|
|
|
|
|
|
|
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
|
|
|
|
|
import com.foreverwin.mesnac.anomaly.dto.PartsManufacturing;
|
|
|
|
|
import com.foreverwin.mesnac.anomaly.mapper.ReportMapper;
|
|
|
|
|
import com.foreverwin.mesnac.anomaly.service.ReportService;
|
|
|
|
@ -61,6 +60,12 @@ public class ReportServiceImpl implements ReportService {
|
|
|
|
|
return reportMapper.partsManufacturing(site,locale,partsManufacturing);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* 余料退回明细表
|
|
|
|
|
* @param item
|
|
|
|
|
* @param itemDescription
|
|
|
|
|
* @return
|
|
|
|
|
*/
|
|
|
|
|
@Override
|
|
|
|
|
public List<Map<String, Object>> surplusReturnTable(String item, String itemDescription) {
|
|
|
|
|
String locale = LocaleContextHolder.getLocale().getLanguage();
|
|
|
|
@ -68,13 +73,16 @@ public class ReportServiceImpl implements ReportService {
|
|
|
|
|
return reportMapper.surplusReturnTable(site,locale,item,itemDescription);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* 资源维修报表
|
|
|
|
|
* @param map
|
|
|
|
|
* @return
|
|
|
|
|
*/
|
|
|
|
|
@Override
|
|
|
|
|
public List<Map<String, Object>> resourceRepair(Map<String, Object> map) {
|
|
|
|
|
String locale = LocaleContextHolder.getLocale().getLanguage();
|
|
|
|
|
String site = CommonMethods.getSite();
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Map<String, List<NcCode>> ncCodeMap = new HashMap<>();
|
|
|
|
|
NcCode ncCode = new NcCode();
|
|
|
|
|
ncCode.setSite(site);
|
|
|
|
@ -132,6 +140,11 @@ public class ReportServiceImpl implements ReportService {
|
|
|
|
|
return maps;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* 检验记录报表
|
|
|
|
|
* @param paramMap
|
|
|
|
|
* @return
|
|
|
|
|
*/
|
|
|
|
|
@Override
|
|
|
|
|
public List<Map<String, Object>> findInspectionTask(Map paramMap) {
|
|
|
|
|
return reportMapper.findInspectionTask(paramMap);
|
|
|
|
|