@ -55,8 +55,13 @@ public class CommunityBuildingManagerResultDTO implements Serializable {
/**
* 类型:0楼长;1单元长
*/
@ExcelIgnore
private String type;
@ExcelProperty(value = "类型")
@ColumnWidth(20)
private String typeName;
* 所属区县id;取名字关联customer_agency
@ -30,6 +30,12 @@
<select id="pageList" parameterType="map" resultType="com.epmet.dto.result.yt.CommunityBuildingManagerResultDTO">
SELECT
m.*,
(
case when m.type='0' then '楼长'
when m.type='1' then '单元长'
else '-'
end
)as typeName,
d.ORGANIZATION_NAME AS districtName,
s.ORGANIZATION_NAME AS streetName,
c.ORGANIZATION_NAME AS communityName,