@@ -18,6 +18,16 @@ public class PhotoQueryInfo extends QueryInfo {
private String timeLine;
+ private String year;
+
+ public String getYear() {
+ return year;
+ }
+ public void setYear(String year) {
+ this.year = year;
public String getTimeLine() {
return timeLine;
}
@@ -119,6 +119,9 @@
<if test="timeLine != null and timeLine != ''">
AND DATE_FORMAT(time_line_,"%Y%m") = #{timeLine}
</if>
+ <if test="year != null and year != ''">
+ AND DATE_FORMAT(time_line_,"%Y") = #{year}
+ </if>
<if test="type != null and type != ''">
AND type_ = #{type}
@@ -484,7 +484,7 @@
</select>
<sql id="findStudentAttendanceSql">
<where>
- cs.del_flag_ = 0 AND cs.pre_course_flag_ = 0
+ cs.del_flag_ = 0 AND cs.pre_course_flag_ = 0 AND cs.is_lock_ = 0
<if test="visitFlag != null">
<if test="visitFlag == 1">
AND sa.visit_flag_ = 1