|
|
|
@ -408,10 +408,21 @@ public class WarehouseIndexServiceImpl implements IWarehouseIndexService {
|
|
|
|
|
String signScale = multiply.toString(); |
|
|
|
|
indexBillLadingSignforDayDataVO.setClerkSignforScale(signScale); |
|
|
|
|
} |
|
|
|
|
//查询当天计划数
|
|
|
|
|
String dayBillLadingPlanNum = warehouseIndexMapper.findBillLadingPlanNumByDay(indexDTO); |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
//查询当天文员复核数
|
|
|
|
|
String dayBillLadingSignforNum = warehouseIndexMapper.findBillLadingSignForNumByDay(indexDTO); |
|
|
|
|
indexBillLadingSignforDayDataVO.setClerkSignNum(dayBillLadingSignforNum); |
|
|
|
|
|
|
|
|
|
if (!"0".equals(dayBillLadingPlanNum) && !"0".equals(dayBillLadingSignforNum) ) { |
|
|
|
|
//计算当月的超时签收率
|
|
|
|
|
BigDecimal bd1 = new BigDecimal(dayBillLadingSignforNum); |
|
|
|
|
BigDecimal bd2 = new BigDecimal(dayBillLadingPlanNum); |
|
|
|
|
BigDecimal multiply = bd1.divide(bd1.add(bd2),1, BigDecimal.ROUND_CEILING); |
|
|
|
|
String signScale = multiply.toString(); |
|
|
|
|
indexBillLadingSignforDayDataVO.setClerkOverTimeScale(signScale); |
|
|
|
|
} |
|
|
|
|
//查询当天签收超时数
|
|
|
|
|
String dayBillLadingverTimeNum = warehouseIndexMapper.findBillLadingOverTimeNumByDay(indexDTO); |
|
|
|
|
indexBillLadingSignforDayDataVO.setClerkOverTimeSignfoNum(dayBillLadingverTimeNum); |
|
|
|
@ -443,7 +454,7 @@ public class WarehouseIndexServiceImpl implements IWarehouseIndexService {
|
|
|
|
|
String monthBillLadingOverTimeNum = warehouseIndexMapper.findBillLadingOverTimeNumByDay(indexDTO); |
|
|
|
|
indexBillLadingSignforMonthDataVO.setClerkOverTimeSignfoNum(monthBillLadingOverTimeNum); |
|
|
|
|
//查询当月计划总数
|
|
|
|
|
String monthBillLadingPlanNum = warehouseIndexMapper.findBillLadingPlanNumByDay(indexDTO); |
|
|
|
|
String monthBillLadingPlanNum = warehouseIndexMapper.findBillLadingPlanNumByMonth(indexDTO); |
|
|
|
|
if (!"0".equals(monthBillLadingOverTimeNum) && !"0".equals(monthBillLadingPlanNum) ) { |
|
|
|
|
//计算当月的超时签收率
|
|
|
|
|
BigDecimal bd1 = new BigDecimal(monthBillLadingOverTimeNum); |
|
|
|
|