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