培训完成短信

This commit is contained in:
bianyadong
2024-05-13 15:38:13 +08:00
parent acfcd163f2
commit 5d1e6f5e96
3 changed files with 22 additions and 5 deletions

View File

@@ -77,4 +77,13 @@ public class EmployeeTrainingDAO {
.andIn("assessment_status", statusList);
return employeeTrainingMapper.selectByExample(example);
}
public Integer unCompleteNum() {
List<Integer> statusList = new ArrayList<>();
statusList.add(0);
statusList.add(1);
Example example = new Example(EmployeeTrainingDO.class);
example.createCriteria().andIn("assessment_status", statusList);
return employeeTrainingMapper.selectCountByExample(example);
}
}