|
@@ -241,9 +241,7 @@ public class TRmWorkprocMaterialValueController extends BaseRESTfulController {
|
|
tRmWorkprocMaterialValueService.synchronousData();
|
|
tRmWorkprocMaterialValueService.synchronousData();
|
|
tRmWorkprocMaterialValueService.synchronousData4();
|
|
tRmWorkprocMaterialValueService.synchronousData4();
|
|
tRmWorkprocMaterialValueService.synchronousData5();
|
|
tRmWorkprocMaterialValueService.synchronousData5();
|
|
- //根据报表中的原料数据生成
|
|
|
|
- tRmWorkprocMaterialValueService.getReportValue(parmas);
|
|
|
|
- tRmWorkprocMaterialValueService.getMaterialValue(parmas);
|
|
|
|
|
|
+
|
|
parmas.put("useflag", "1");
|
|
parmas.put("useflag", "1");
|
|
// 查询需要统计的计量点信息
|
|
// 查询需要统计的计量点信息
|
|
List<TRmWorkprocMaterial> l = tRmWorkprocMaterialMapper.selectByParameters(parmas);
|
|
List<TRmWorkprocMaterial> l = tRmWorkprocMaterialMapper.selectByParameters(parmas);
|
|
@@ -252,6 +250,9 @@ public class TRmWorkprocMaterialValueController extends BaseRESTfulController {
|
|
TRmWorkprocMaterial t = l.get(i);
|
|
TRmWorkprocMaterial t = l.get(i);
|
|
res = formulaService.reItemVal(t.getItemid(),clock,timegranid,clocke);
|
|
res = formulaService.reItemVal(t.getItemid(),clock,timegranid,clocke);
|
|
}
|
|
}
|
|
|
|
+ //根据报表中的原料数据生成
|
|
|
|
+ //tRmWorkprocMaterialValueService.getReportValue(parmas);
|
|
|
|
+ tRmWorkprocMaterialValueService.getMaterialValue(parmas);
|
|
if(!res.isEmpty()){
|
|
if(!res.isEmpty()){
|
|
return failed(null, res);
|
|
return failed(null, res);
|
|
}
|
|
}
|