辅导员审核增加班级搜索
This commit is contained in:
@@ -36,13 +36,14 @@ public class CphSearch {
|
|||||||
private String typeName;
|
private String typeName;
|
||||||
/* 助学金审核记录操作人*/
|
/* 助学金审核记录操作人*/
|
||||||
private String operator;
|
private String operator;
|
||||||
|
|
||||||
public String step;
|
public String step;
|
||||||
|
|
||||||
public String sfzhm;
|
public String sfzhm;
|
||||||
|
|
||||||
public String xm;
|
public String xm;
|
||||||
public String xh;
|
public String xh;
|
||||||
|
private String bj;
|
||||||
/** 贫困生认定意见*/
|
/** 贫困生认定意见*/
|
||||||
public String yj;
|
public String yj;
|
||||||
public String classCode;
|
public String classCode;
|
||||||
|
|||||||
@@ -729,7 +729,7 @@
|
|||||||
total_count,
|
total_count,
|
||||||
male_count,
|
male_count,
|
||||||
female_count
|
female_count
|
||||||
from (select left (AES_DECRYPT(UNHEX(id_card), 'zhxg'), 4) as id_card, count (1) as total_count, sum (case when gender='男' then 1 else 0 end) as male_count, sum (case when gender='女' then 1 else 0 end) as female_count
|
from (select left (AES_DECRYPT(UNHEX(id_card), 'zhxg'), 4) as id_card, count(1) as total_count, sum(case when gender='男' then 1 else 0 end) as male_count, sum(case when gender='女' then 1 else 0 end) as female_count
|
||||||
from srs_student d left join srs_class e
|
from srs_student d left join srs_class e
|
||||||
on d.class_id=e.class_id
|
on d.class_id=e.class_id
|
||||||
left join srs_grade f on f.grade_id=e.grade_id
|
left join srs_grade f on f.grade_id=e.grade_id
|
||||||
@@ -781,7 +781,7 @@
|
|||||||
total_count,
|
total_count,
|
||||||
male_count,
|
male_count,
|
||||||
female_count
|
female_count
|
||||||
from (select left (AES_DECRYPT(UNHEX(id_card), 'zhxg'), 4) as id_card, count (1) as total_count, sum (case when gender='男' then 1 else 0 end) as male_count, sum (case when gender='女' then 1 else 0 end) as female_count
|
from (select left (AES_DECRYPT(UNHEX(id_card), 'zhxg'), 4) as id_card, count(1) as total_count, sum(case when gender='男' then 1 else 0 end) as male_count, sum(case when gender='女' then 1 else 0 end) as female_count
|
||||||
from srs_student d left join srs_class e
|
from srs_student d left join srs_class e
|
||||||
on d.class_id=e.class_id
|
on d.class_id=e.class_id
|
||||||
left join srs_grade f on f.grade_id=e.grade_id
|
left join srs_grade f on f.grade_id=e.grade_id
|
||||||
|
|||||||
@@ -204,6 +204,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|||||||
<if test="stuNo != null "> and a.xh = #{stuNo}</if>
|
<if test="stuNo != null "> and a.xh = #{stuNo}</if>
|
||||||
<if test="xm != null "> and a.xm like concat('%',#{xm},'%')</if>
|
<if test="xm != null "> and a.xm like concat('%',#{xm},'%')</if>
|
||||||
<if test="xh != null "> and a.xh like concat('%',#{xh},'%')</if>
|
<if test="xh != null "> and a.xh like concat('%',#{xh},'%')</if>
|
||||||
|
<if test="classId != null "> and c.class_id = #{classId}</if>
|
||||||
</where>
|
</where>
|
||||||
order by a.id asc
|
order by a.id asc
|
||||||
</select>
|
</select>
|
||||||
|
|||||||
Reference in New Issue
Block a user