bug修改
This commit is contained in:
parent
87363ec26b
commit
11dc85a65b
|
|
@ -244,6 +244,13 @@ public class ProjectViewServiceImpl {
|
||||||
if (StringUtils.isNotBlank(people.getPhone())) {
|
if (StringUtils.isNotBlank(people.getPhone())) {
|
||||||
people.setPhone(Sm4Utils.decode(people.getPhone()));
|
people.setPhone(Sm4Utils.decode(people.getPhone()));
|
||||||
}
|
}
|
||||||
|
if (people.getSex() != null) {
|
||||||
|
if (people.getSex() == 0) {
|
||||||
|
people.setSexName("女");
|
||||||
|
} else if (people.getSex() == 1) {
|
||||||
|
people.setSexName("男");
|
||||||
|
}
|
||||||
|
}
|
||||||
extracted(people);
|
extracted(people);
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -78,10 +78,14 @@ public class TeamRecord implements Serializable {
|
||||||
@ApiModelProperty(value="性别")
|
@ApiModelProperty(value="性别")
|
||||||
private Integer sex;
|
private Integer sex;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 性别名称
|
||||||
|
*/
|
||||||
|
private String sexName;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 班组人数
|
* 班组人数
|
||||||
*/
|
*/
|
||||||
@Excel(name = "班组人数")
|
|
||||||
private Integer peopleCount;
|
private Integer peopleCount;
|
||||||
|
|
||||||
private static final long serialVersionUID = 1L;
|
private static final long serialVersionUID = 1L;
|
||||||
|
|
|
||||||
|
|
@ -30,8 +30,8 @@
|
||||||
tt.rel_phone as masterPhone,
|
tt.rel_phone as masterPhone,
|
||||||
count(tp.id) as peopleCount
|
count(tp.id) as peopleCount
|
||||||
from tb_team tt
|
from tb_team tt
|
||||||
left join tb_people tp on tt.id = tp.team_id and tp.del_flag = 0 and tt.js_time IS NULL
|
left join tb_people tp on tt.id = tp.team_id and tp.del_flag = 0
|
||||||
where tt.del_flag = 0
|
where tt.del_flag = 0 AND tt.js_time IS NULL
|
||||||
<if test="proId != null">
|
<if test="proId != null">
|
||||||
AND tt.pro_id = #{proId}
|
AND tt.pro_id = #{proId}
|
||||||
</if>
|
</if>
|
||||||
|
|
@ -42,7 +42,6 @@
|
||||||
and tt.rel_name like concat('%',#{masterName},'%')
|
and tt.rel_name like concat('%',#{masterName},'%')
|
||||||
</if>
|
</if>
|
||||||
group by tt.id
|
group by tt.id
|
||||||
order by tt.team_name
|
|
||||||
</select>
|
</select>
|
||||||
|
|
||||||
<!-- 施工人员详情页 -->
|
<!-- 施工人员详情页 -->
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue