|
@@ -189,15 +189,17 @@ public class task2 extends Controller {
|
|
|
@API(title = "查询任务", apiversion = R.ID2025122309161202.v1.class)
|
|
@API(title = "查询任务", apiversion = R.ID2025122309161202.v1.class)
|
|
|
public String tasklist() throws YosException {
|
|
public String tasklist() throws YosException {
|
|
|
|
|
|
|
|
|
|
+
|
|
|
|
|
+
|
|
|
//任务数据
|
|
//任务数据
|
|
|
QuerySQL taskquerySQL = SQLFactory.createQuerySQL(this, "sys_task", "t1.*").setTableAlias("t1");
|
|
QuerySQL taskquerySQL = SQLFactory.createQuerySQL(this, "sys_task", "t1.*").setTableAlias("t1");
|
|
|
taskquerySQL.setSiteid(siteid);
|
|
taskquerySQL.setSiteid(siteid);
|
|
|
taskquerySQL.setWhere("createuserid", userid);
|
|
taskquerySQL.setWhere("createuserid", userid);
|
|
|
- taskquerySQL.setWhere("week(CURRENT_DATE)=WEEK(t1.taskdate)");
|
|
|
|
|
|
|
+// taskquerySQL.setWhere("week(CURRENT_DATE)=WEEK(t1.taskdate)");
|
|
|
taskquerySQL.setCondition("t1.title", "t1.contenttext");
|
|
taskquerySQL.setCondition("t1.title", "t1.contenttext");
|
|
|
|
|
|
|
|
if (pageSorting.equals("''")) {
|
|
if (pageSorting.equals("''")) {
|
|
|
- pageSorting = "t1.createdate desc";
|
|
|
|
|
|
|
+ pageSorting = "t1.begindate desc";
|
|
|
}
|
|
}
|
|
|
Rows rows = taskquerySQL.query();
|
|
Rows rows = taskquerySQL.query();
|
|
|
|
|
|