fix issue

This commit is contained in:
sxu 2024-08-20 10:20:55 +08:00
parent 41a39c28ff
commit d98763456c
1 changed files with 1 additions and 1 deletions

View File

@ -204,7 +204,7 @@ public class LeaseOutDetailsServiceImpl implements LeaseOutDetailsService {
if (maType != null) { if (maType != null) {
if ("1".equals(maType.getManageType())) { if ("1".equals(maType.getManageType())) {
return maType.getNum().intValue(); return maType.getNum().intValue();
} else { } else if ("0".equals(maType.getManageType())) {
return leaseOutDetailsMapper.getCountOfCodeMachine(record); return leaseOutDetailsMapper.getCountOfCodeMachine(record);
} }
} }