Browse Source

parymember时间戳改为秒级

dev_shibei_match
yinzuomei 5 years ago
parent
commit
90f2bf02d4
  1. 4
      epmet-module/resi-partymember/resi-partymember-server/src/main/java/com/epmet/modules/partymember/service/impl/PartymemberInfoServiceImpl.java
  2. 6
      epmet-module/resi-partymember/resi-partymember-server/src/main/resources/mapper/partymember/PartymemberBaseInfoDao.xml

4
epmet-module/resi-partymember/resi-partymember-server/src/main/java/com/epmet/modules/partymember/service/impl/PartymemberInfoServiceImpl.java

@ -150,7 +150,7 @@ public class PartymemberInfoServiceImpl extends BaseServiceImpl<PartymemberInfoD
return new ArrayList<>();
}
for (CertifiedResultDTO certifiedResultDTO : certifiedResultDTOS) {
certifiedResultDTO.setApplyTime(certifiedResultDTO.getApplyTime()*1000L);
certifiedResultDTO.setApplyTime(certifiedResultDTO.getApplyTime());
}
Result<List<CertifiedResultDTO>> listResult = epmetUserFeignClient.selectUserHeadPhotoByUserId(certifiedResultDTOS);
Result<GridInfoResultDTO> gridInfoResult = govOrgFeignClient.queryGridInfo(certifiedFormDTO.getGridId());
@ -180,7 +180,7 @@ public class PartymemberInfoServiceImpl extends BaseServiceImpl<PartymemberInfoD
if (certifiedDetail==null){
return new CertifiedDetailResultDTO();
}
certifiedDetail.setApplyTime(certifiedDetail.getApplyTime() * 1000L);//时间戳转换毫秒级
certifiedDetail.setApplyTime(certifiedDetail.getApplyTime());
CreatedTimeByUserIdFormDTO time = new CreatedTimeByUserIdFormDTO();
time.setUserId(certifiedDetail.getUserId());
//查询用户注册时间

6
epmet-module/resi-partymember/resi-partymember-server/src/main/resources/mapper/partymember/PartymemberBaseInfoDao.xml

@ -60,7 +60,7 @@
SELECT
pi.USER_ID AS userId,
concat( pi.SURNAME, pi.NAME ) AS realName,
unix_timestamp(pi.CREATED_TIME)*1000 AS applyTime,
unix_timestamp(pi.CREATED_TIME) AS applyTime,
pcm.READ_FLAG AS readFlag,
pi.id as partyMemberId,
pca.id as autoId,
@ -85,7 +85,7 @@
SELECT
pi.USER_ID AS userId,
concat( pi.SURNAME, pi.NAME ) AS realName,
unix_timestamp(pi.CREATED_TIME)*1000 AS applyTime,
unix_timestamp(pi.CREATED_TIME) AS applyTime,
pi.CONFIRM_RESULT AS status,
pi.id as partyMemberId,
pca.id as autoId,
@ -102,7 +102,7 @@
SELECT
pi.USER_ID AS userId,
concat( pi.SURNAME, pi.NAME ) AS realName,
unix_timestamp(pi.CREATED_TIME)*1000 AS applyTime,
unix_timestamp(pi.CREATED_TIME) AS applyTime,
pi.CONFIRM_RESULT AS status,
pi.id as partyMemberId,
pca.id as autoId,

Loading…
Cancel
Save