|
@@ -312,8 +312,7 @@ public class RecbalanceServiceImpl extends CommonBaseServiceImpl<RecbalanceMappe
|
|
|
//计算期间金额
|
|
//计算期间金额
|
|
|
Statsinfo statsinfo = new Statsinfo();
|
|
Statsinfo statsinfo = new Statsinfo();
|
|
|
List<Integer> ymList = recbalancedetMapper.selectYm(Math.toIntExact(id));
|
|
List<Integer> ymList = recbalancedetMapper.selectYm(Math.toIntExact(id));
|
|
|
- Integer ym = ymList.indexOf(0);
|
|
|
|
|
- System.out.println("ym:"+ym);
|
|
|
|
|
|
|
+ Integer ym = ymList.get(0);
|
|
|
statsinfo.setCompanyid(BaseContextHolder.getCompanyId());
|
|
statsinfo.setCompanyid(BaseContextHolder.getCompanyId());
|
|
|
Integer yms = statsinfoMapper.select(ym, BaseContextHolder.getCompanyId());
|
|
Integer yms = statsinfoMapper.select(ym, BaseContextHolder.getCompanyId());
|
|
|
statsinfo.setSi_yearmonth(Double.valueOf(ym));
|
|
statsinfo.setSi_yearmonth(Double.valueOf(ym));
|
|
@@ -442,8 +441,7 @@ public class RecbalanceServiceImpl extends CommonBaseServiceImpl<RecbalanceMappe
|
|
|
//计算期间金额
|
|
//计算期间金额
|
|
|
Statsinfo statsinfo = new Statsinfo();
|
|
Statsinfo statsinfo = new Statsinfo();
|
|
|
List<Integer> ymList = recbalancedetMapper.selectYm(Math.toIntExact(id));
|
|
List<Integer> ymList = recbalancedetMapper.selectYm(Math.toIntExact(id));
|
|
|
- Integer ym = ymList.indexOf(0);
|
|
|
|
|
- System.out.println("ym:"+ym);
|
|
|
|
|
|
|
+ Integer ym = ymList.get(0);
|
|
|
statsinfo.setCompanyid(BaseContextHolder.getCompanyId());
|
|
statsinfo.setCompanyid(BaseContextHolder.getCompanyId());
|
|
|
Integer yms = statsinfoMapper.select(ym, BaseContextHolder.getCompanyId());
|
|
Integer yms = statsinfoMapper.select(ym, BaseContextHolder.getCompanyId());
|
|
|
statsinfo.setSi_yearmonth(Double.valueOf(ym));
|
|
statsinfo.setSi_yearmonth(Double.valueOf(ym));
|