修改计算方法
Merge branch '2.x' of https://github.com/superleo-cn/pos-android.git into 2.x