餐费数据校正调整

This commit is contained in:
andy 2025-12-15 14:07:43 +08:00
parent 40a4f2cc5d
commit 08aa070eab

View File

@ -124,6 +124,9 @@ public class RzRestaurantStatisticsServiceImpl extends ServiceImpl<RzRestaurantS
List<String> dailyWageNames = ParamUtils.getInternDailyWage();
//循环统计信息
for (RzRestaurantStatistics restaurantStatistics : rt_list) {
if(restaurantStatistics.getName().equals("高宇腾")){
System.out.println(1111);
}
//记录早午晚三餐次数
//循环打卡详情
@ -137,8 +140,8 @@ public class RzRestaurantStatisticsServiceImpl extends ServiceImpl<RzRestaurantS
restaurantStatistics.setBreakfastExpend(new BigDecimal(dicMap.get(Constants.gr_zc_code)));
//晚餐
restaurantStatistics.setSupperExpend( new BigDecimal(dicMap.get(Constants.gr_wcc_code)));
//如果不是住宿人员 或者 不是实习生住宿人员
if(notAccommodationNames.contains(restaurantStatistics.getName()) || !DataUtils.findDefaultValue(zsMap.get(restaurantStatistics.getStaffId()),true)){
//不是实习生住宿人员 或者 不是住宿人员
if(notAccommodationNames.contains(restaurantStatistics.getName()) || !DataUtils.findDefaultValue(zsMap.get(restaurantStatistics.getStaffId()),false)){
restaurantStatistics.setBreakfastExpend(new BigDecimal(dicMap.get(Constants.zc_code)));
//没有这个人员的详情, 或者是不住宿日薪 或者是实习生不住宿日薪
if(dailyWageNames.contains(restaurantStatistics.getName()) || DataUtils.findDefaultValue(rxMap.get(restaurantStatistics.getStaffId()),false)){