1、系统的任务催办提醒是以什么方式提醒的?
2、能否用弹出框提醒用户处理未办事务?怎么实现的?
3、平台提供的任务功能中的任务内容应该要怎么写?
我在任务内容中写了如下代码:
var userId = getWebUser().getId();
var sql = "select * from tlk_物资申购 doc where '"+userId+ "' in (select a.actorid from t_actorhis a ,t_relationhis r where r.docid = doc.id and a.nodehis_id = r.id and r.flowid in (select flowid from t_flowstatert where docid = doc.id)) and doc.statelabel <> '结束' ";
println(userId +" /////////////////userId");
var datas = queryBySQL(sql);
if(datas !=null && datas.size() >0){
println(datas.size()+" \\\\\");
createAlert("待办箱中有"+datas.size()+"项任务栏未处理!");
}
为什么都没有效果?