[bug fix] N_SE-29549, Check if the input value of AvailableCapacity > Capacity, set the value to same as capacity.
Merge pull request #191 from jacobchen/next

[bug fix] N_SE-29549, Check if the input value of AvailableCapacity > Ca...