|
|
|
@ -1902,13 +1902,13 @@ public class CollectModel {
|
|
|
|
|
* @param person_id 发布人员ID
|
|
|
|
|
* 下面的参数,为任务发布到人时扩展
|
|
|
|
|
* @param allTeacher 所有教师
|
|
|
|
|
* @param allSutdent 所有学生
|
|
|
|
|
* @param allStudent 所有学生
|
|
|
|
|
* @param njIds 哪些年级,比如1,2表示1、2年级所有学生
|
|
|
|
|
* @param personIds 哪些人员(目前只支持教师)
|
|
|
|
|
* @param classIds 哪些班级
|
|
|
|
|
*/
|
|
|
|
|
public void ForwardJob(int publish_role_id, String area_id, int job_id, int status_code, String deadline_time, int xiaShuSchool,
|
|
|
|
|
int xiaShuJiaoFu, String bureauIds, String groupIds, String memo, String bureau_id, int allTeacher, int allSutdent, String njIds, String personIds, String classIds) throws ParseException {
|
|
|
|
|
int xiaShuJiaoFu, String bureauIds, String groupIds, String memo, String bureau_id, int allTeacher, int allStudent, String njIds, String personIds, String classIds) throws ParseException {
|
|
|
|
|
//获取此县区的所有学校
|
|
|
|
|
Set<String> targetSet = new HashSet<>();
|
|
|
|
|
if (xiaShuSchool == 1) {
|
|
|
|
@ -1951,7 +1951,7 @@ public class CollectModel {
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
//所有学生
|
|
|
|
|
if (allSutdent == 1) {
|
|
|
|
|
if (allStudent == 1) {
|
|
|
|
|
for (Record r : getAllStudent(bureau_id)) {
|
|
|
|
|
targetSet.add(r.getStr("person_id"));
|
|
|
|
|
}
|
|
|
|
|