Fix mysql 1052 bug of controller manhour