|
@@ -267,15 +267,13 @@ public class MtCompanyAttestationServiceImpl extends ServiceImpl<MtCompanyAttest
|
|
|
public Map<Long, LocalDateTime> getMtCompanyIdToDealTime(List<Long> companyIdList) {
|
|
|
//获取公司认证信息
|
|
|
List<MtCompanyAttestation> mtCompanyAttestationList = list(new QueryWrapper<MtCompanyAttestation>()
|
|
|
- .select("deal_time")
|
|
|
+ .select("mt_company_id", "deal_time")
|
|
|
.in("mt_company_id", companyIdList)
|
|
|
);
|
|
|
//将信息封装为 mtCompanyId(公司id) -> dealTime(处理时间)
|
|
|
Map<Long, LocalDateTime> companyIdToDealTime = new HashMap<>();
|
|
|
if (mtCompanyAttestationList != null && mtCompanyAttestationList.size() > 0) {
|
|
|
- mtCompanyAttestationList.forEach(mtCompanyAttestation -> {
|
|
|
- companyIdToDealTime.put(mtCompanyAttestation.getMtCompanyId(), mtCompanyAttestation.getDealTime());
|
|
|
- });
|
|
|
+ mtCompanyAttestationList.forEach(mtCompanyAttestation -> companyIdToDealTime.put(mtCompanyAttestation.getMtCompanyId(), mtCompanyAttestation.getDealTime()));
|
|
|
}
|
|
|
return companyIdToDealTime;
|
|
|
}
|