|
@@ -181,6 +181,16 @@ public class courseware extends Controller {
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
}
|
|
}
|
|
|
|
|
+ if (whereObject.containsKey("begindate_create") && !"".equals(whereObject.getString("begindate_create"))) {
|
|
|
|
|
+ where.append(" and (");
|
|
|
|
|
+ where.append("t1.createdate >='").append(whereObject.getString("begindate_create")).append("' ");
|
|
|
|
|
+ where.append(")");
|
|
|
|
|
+ }
|
|
|
|
|
+ if (whereObject.containsKey("enddate_create") && !"".equals(whereObject.getString("enddate_create"))) {
|
|
|
|
|
+ where.append(" and (");
|
|
|
|
|
+ where.append("t1.createdate <='").append(whereObject.getString("enddate_create")).append(" 23:59:59' ");
|
|
|
|
|
+ where.append(")");
|
|
|
|
|
+ }
|
|
|
if (whereObject.containsKey("begindate") && !"".equals(whereObject.getString("begindate"))) {
|
|
if (whereObject.containsKey("begindate") && !"".equals(whereObject.getString("begindate"))) {
|
|
|
where.append(" and (");
|
|
where.append(" and (");
|
|
|
where.append("t1.checkdate >='").append(whereObject.getString("begindate")).append("' ");
|
|
where.append("t1.checkdate >='").append(whereObject.getString("begindate")).append("' ");
|