fix issue
This commit is contained in:
parent
41a39c28ff
commit
d98763456c
|
|
@ -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);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue