@ -35,6 +35,8 @@ public class DimCustomerPartyMemberFormDTO implements Serializable {
*/
private String parentId;
private String pids;
/**
* 党员认证成功的日期yyyyMMdd
@ -27,4 +27,6 @@ public class GridBelongAgencyResultDTO implements Serializable {
* 机关的上级ID
}
@ -154,6 +154,7 @@ public class DimCustomerPartymemberServiceImpl extends BaseServiceImpl<DimCustom
if (party.getGridId().equals(agency.getGridId())){
party.setAgencyId(agency.getAgencyId());
party.setParentId(agency.getParentId());
party.setPids(agency.getPids());
});
@ -11,6 +11,7 @@
GRID_ID,
AGENCY_ID,
PARENT_ID,
PIDS,
DATE_ID,
WEEK_ID,
MONTH_ID,
@ -34,6 +35,7 @@
#{item.gridId},
#{item.agencyId},
#{item.parentId},
#{item.pids},
#{item.dateId},
#{item.weekId},
#{item.monthId},
@ -74,7 +74,8 @@
SELECT
dg.id AS gridId,
dg.AGENCY_ID AS agencyId,
da.PID AS parentId
da.PID AS parentId,
da.pids
FROM
dim_grid dg
LEFT JOIN dim_agency da ON da.id = dg.agency_id