# DepartmentCategoryServiceImpl

Element | Missed Instructions | Cov. | Missed Branches | Cov. | Missed | Cxty | Missed | Lines | Missed | Methods
Total | 744 of 755 | 1% | 24 of 24 | 0% | 30 | 32 | 147 | 149 | 18 | 20
saveNewVersion(int, Integer, Integer, int) |  | 0% |  | 0% | 2 | 2 | 24 | 24 | 1 | 1
insert(CategoryDTO, int) |  | 0% |  | 0% | 2 | 2 | 13 | 13 | 1 | 1
update(DepCodeToCategory, CategoryDTO, int) |  | 0% |  | n/a | 1 | 1 | 18 | 18 | 1 | 1
list(int, DepartmentQuery) |  | 0% |  | 0% | 3 | 3 | 12 | 12 | 1 | 1
getVersion(Integer, long) |  | 0% |  | 0% | 2 | 2 | 13 | 13 | 1 | 1
checkOccupied(DepCategoryRecommendHour) |  | 0% |  | 0% | 3 | 3 | 11 | 11 | 1 | 1
getUsable(DepartmentCategory, String) |  | 0% |  | 0% | 3 | 3 | 8 | 8 | 1 | 1
lambda$list$1(int, Map, DepartmentCategory) |  | 0% |  | n/a | 1 | 1 | 9 | 9 | 1 | 1
getByVersion(int, Integer) |  | 0% |  | n/a | 1 | 1 | 5 | 5 | 1 | 1
lambda$saveNewVersion$3(int, Integer, Map, long, int, DepCodeToCategory) |  | 0% |  | n/a | 1 | 1 | 5 | 5 | 1 | 1
checkBelong(int, DepartmentCategory) |  | 0% |  | 0% | 2 | 2 | 6 | 6 | 1 | 1
checkUpdateVersion(Integer, Integer) |  | 0% |  | 0% | 2 | 2 | 6 | 6 | 1 | 1
lambda$saveNewVersion$2(int, Integer, int, long, DepartmentCategory) |  | 0% |  | n/a | 1 | 1 | 3 | 3 | 1 | 1
checkExist(int) |  | 0% |  | 0% | 2 | 2 | 5 | 5 | 1 | 1
getByName(int, String) |  | 0% |  | n/a | 1 | 1 | 3 | 3 | 1 | 1
listByVersions(int, List) |  | 0% |  | n/a | 1 | 1 | 3 | 3 | 1 | 1
removeDepartmentCategory(int) |  | 0% |  | n/a | 1 | 1 | 3 | 3 | 1 | 1
lambda$list$0(DepCodeToCategory) |  | 0% |  | n/a | 1 | 1 | 1 | 1 | 1 | 1
listByDateRangeWithNewOne(int, int, int) |  | 100% |  | n/a | 0 | 1 | 0 | 1 | 0 | 1
DepartmentCategoryServiceImpl() |  | 100% |  | n/a | 0 | 1 | 0 | 1 | 0 | 1