大屏bug
This commit is contained in:
parent
44f5f0c510
commit
e1df8bf961
|
|
@ -113,7 +113,7 @@ public class LargeScreenController {
|
|||
Integer repairingDevNum = devInfoMapper.getRepairingDevNum();
|
||||
orderData.setDevRepairingNum(repairingDevNum);
|
||||
DevInfo devInfo = devInfoMapper.getDevUsageRatio();
|
||||
orderData.setDevUsageRatio(MathUtil.calculatePercentage(devInfo.getTotalLeaseDay(), devInfo.getTotalUpDay()));
|
||||
orderData.setDevUsageRatio(MathUtil.calculatePercentage(devInfo.getTotalLeaseDay(), devInfo.getTotalUpDay() + devInfo.getTotalLeaseDay()));
|
||||
return AjaxResult.success(orderData);
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -977,8 +977,6 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|||
sum(total_lease_day) as totalLeaseDay
|
||||
FROM
|
||||
ma_dev_info
|
||||
WHERE
|
||||
ma_status = '3'
|
||||
</select>
|
||||
|
||||
<update id="updateTotalDevUpDay">
|
||||
|
|
|
|||
Loading…
Reference in New Issue