|
@@ -128,11 +128,16 @@ public class FrontServiceImpl implements IFrontService {
|
|
|
if(!Objects.isNull(tTbXie))
|
|
|
build.setStatus(tTbXie.getJqrZhuantai());
|
|
|
//获取累计运行天数 定义:只要某天有化验,那么就算累计加一天
|
|
|
+ //2024年10月13日13:56:33 查询逻辑调整:不再查询化验记录,查询上报的数据 (T_SHUJU_1)表的数据
|
|
|
build.setDays(this.zAssayMapper.selectDistinctDays());
|
|
|
- //获取累计化验轮次
|
|
|
+ /*//获取累计化验轮次
|
|
|
build.setCounts(this.zAssayMapper.selectCount());
|
|
|
//获取累计化验次数
|
|
|
- build.setTotals(this.zAssayResultMapper.selectCount());
|
|
|
+ build.setTotals(this.zAssayResultMapper.selectCount());*/
|
|
|
+ //2024年10月13日13:56:14 化验次数和化验轮次
|
|
|
+ int count = this.shuju1Mapper.selectCountDistinctAssayNo();
|
|
|
+ build.setCounts(count);
|
|
|
+ build.setTotals(count * INT_7);
|
|
|
return build;
|
|
|
}
|
|
|
}
|