Browse Source

dev_shibei_match
zxc 4 years ago
parent
commit
f2f79f6943
  1. 3
      epmet-module/data-statistical/data-statistical-client/src/main/java/com/epmet/dto/basereport/form/AgencyProjectFormDTO.java
  2. 5
      epmet-module/data-statistical/data-statistical-server/src/main/resources/mapper/stats/BaseReportDao.xml

3
epmet-module/data-statistical/data-statistical-client/src/main/java/com/epmet/dto/basereport/form/AgencyProjectFormDTO.java

@ -24,8 +24,7 @@ public class AgencyProjectFormDTO implements Serializable {
private List<DataList> dataList; private List<DataList> dataList;
@Data @Data
public class DataList implements Serializable { public static class DataList{
private static final long serialVersionUID = 1L;
/** /**
* 客户Id dim_customer.id * 客户Id dim_customer.id

5
epmet-module/data-statistical/data-statistical-server/src/main/resources/mapper/stats/BaseReportDao.xml

@ -167,7 +167,8 @@
<!-- 批量新增组织项目数据 --> <!-- 批量新增组织项目数据 -->
<insert id="insertAgencyProject"> <insert id="insertAgencyProject">
INSERT INTO fact_agency_project_daily INSERT INTO fact_agency_project_daily
(REPLACE(UUID(), '-', ''), (
ID,
CUSTOMER_ID, CUSTOMER_ID,
AGENCY_ID, AGENCY_ID,
PARENT_ID, PARENT_ID,
@ -199,7 +200,7 @@
values values
<foreach collection="list" item="i" separator=","> <foreach collection="list" item="i" separator=",">
( (
id REPLACE(UUID(), '-', ''),
#{i.customerId}, #{i.customerId},
#{i.agencyId}, #{i.agencyId},
#{i.parentId}, #{i.parentId},

Loading…
Cancel
Save