[fix]:fixed some issue in account,point of sale modules

[fix]:improve code