main
黄海 2 years ago
parent 15294a1cc4
commit e11ec9f1f3

@ -2026,12 +2026,23 @@ public class CollectModel {
//写任务分派表
List<Record> list = new ArrayList<>();
int fill_type_id;
if (forPerson) {
fill_type_id = 1;//到人,肯定是填报
} else {
//否则继承原来的fill_type_id
fill_type_id = getJobTarget(job_id, bureau_id).getInt("fill_type_id");
}
/**
--
:
(1)-- fill_type_id=1
(2)-- fill_type_id=2
(3)-> fill_type_id=1
*/
if (publish_role_id == 268) {//县区教育局办公室干事
if (target_type_id == 1) {//单位
fill_type_id = 1;
} else {//人员
fill_type_id = 2;
}
} else fill_type_id = 1;
for (String s : targetSet) {
Record record = new Record();
record.set("job_id", child_job_id);

@ -21,7 +21,8 @@ public class LoginHandler extends Handler {
private boolean isStaticFile(String uri) {
uri = uri.toLowerCase();
// 判断文件类型是否为静态文件类型,根据需要进行调整
return uri.endsWith(".css") || uri.endsWith(".js") || uri.endsWith(".png") || uri.endsWith(".jpg") || uri.endsWith(".html") || uri.endsWith(".config.yml");
return uri.endsWith(".css") || uri.endsWith(".js") || uri.endsWith(".png") || uri.endsWith(".jpg") ||
uri.endsWith(".html") || uri.endsWith(".config.yml")|| uri.endsWith(".svg");
}
@Override

Loading…
Cancel
Save