With the progress of the social economy, the pace of people's life and work is accelerating, and queuing has gradually become a key factor affecting the service level and quality of enterprises. Although the queuing problem has been gradually optimized, there are still some problems such as queue congestion and confusion, inadequate work of staff, and low efficiency. It can be seen that effective measures have been taken to properly solve the queuing problem in China's service industry and other industries. This paper is aimed at using the method that combined linear programming with queue theory to develop 3 steps to optimize the manpower scheduling problem for a real-world situation. A case study of the local government service counter is provided. After applying our model to the case problem, we have achieved three goals: to reduce the number of staff to a more accurate state. Our research finds that there exist some real problems with the service like their service rate is a bit low and needs to improve. In addition, this model has application value for a wide range of other fields, such as banks, post offices and other scenarios.