|
@@ -13,6 +13,7 @@ import com.alibaba.fastjson.JSON;
|
|
|
import com.rshy.project.hy.manager.RshyJkManager;
|
|
|
import com.rshy.project.hy.model.constant.ItfwConstant;
|
|
|
import com.rshy.project.hy.model.dto.NucleicAcidDTO;
|
|
|
+import com.rshy.project.hy.model.entity.Identity;
|
|
|
import com.rshy.project.hy.model.enums.*;
|
|
|
import com.rshy.project.hy.server.ItfwServer;
|
|
|
import com.rshy.project.hy.server.VIIDServer;
|
|
@@ -23,13 +24,17 @@ import com.rshy.project.hy.server.param.RshyQuickParam;
|
|
|
import com.rshy.project.hy.server.vo.RetrievaResultVO;
|
|
|
import com.rshy.project.hy.server.vo.RetrievalRepositoryVO;
|
|
|
import com.rshy.project.hy.server.vo.RshyVo;
|
|
|
+import com.rshy.project.hy.service.IdentityService;
|
|
|
import com.rshy.project.hy.util.ObjectUtils;
|
|
|
import lombok.extern.slf4j.Slf4j;
|
|
|
import org.apache.commons.lang3.StringUtils;
|
|
|
import org.springframework.context.annotation.DependsOn;
|
|
|
+import org.springframework.core.task.support.ExecutorServiceAdapter;
|
|
|
import org.springframework.data.redis.core.StringRedisTemplate;
|
|
|
import org.springframework.scheduling.annotation.Async;
|
|
|
import org.springframework.scheduling.annotation.AsyncResult;
|
|
|
+import org.springframework.scheduling.annotation.EnableAsync;
|
|
|
+import org.springframework.scheduling.concurrent.ThreadPoolTaskExecutor;
|
|
|
import org.springframework.stereotype.Component;
|
|
|
|
|
|
import javax.annotation.Resource;
|
|
@@ -37,6 +42,8 @@ import java.util.ArrayList;
|
|
|
import java.util.Date;
|
|
|
import java.util.List;
|
|
|
import java.util.Map;
|
|
|
+import java.util.concurrent.CountDownLatch;
|
|
|
+import java.util.concurrent.ExecutorService;
|
|
|
import java.util.concurrent.Future;
|
|
|
import java.util.concurrent.TimeUnit;
|
|
|
import java.util.concurrent.atomic.AtomicReference;
|
|
@@ -50,6 +57,7 @@ import java.util.stream.Collectors;
|
|
|
@Component
|
|
|
@Slf4j
|
|
|
@DependsOn("itfwServer")
|
|
|
+@EnableAsync
|
|
|
public class RshyJkManagerImpl implements RshyJkManager {
|
|
|
@Resource
|
|
|
private YituFaceServer yituFaceServer;
|
|
@@ -59,13 +67,17 @@ public class RshyJkManagerImpl implements RshyJkManager {
|
|
|
private VIIDServer viidServer;
|
|
|
@Resource
|
|
|
private StringRedisTemplate stringRedisTemplate;
|
|
|
+ @Resource
|
|
|
+ private ThreadPoolTaskExecutor poolTaskExecutor;
|
|
|
+ @Resource
|
|
|
+ private IdentityService identityService;
|
|
|
|
|
|
@Override
|
|
|
@Async("hstTaskExecutor")
|
|
|
public Future<RshyVo> getRshyInfo(RshyParam rshyParam) {
|
|
|
// timeout 转成毫秒 这里考虑到网络传输延时等原因,减去300ms
|
|
|
- rshyParam.setTimeout((int) TimeUnit.MILLISECONDS.convert(rshyParam.getTimeout(), TimeUnit.SECONDS) - 300);
|
|
|
- int jkmTimeout = rshyParam.getTimeout();
|
|
|
+ rshyParam.setTimeout((int) TimeUnit.MILLISECONDS.convert(rshyParam.getTimeout(), TimeUnit.SECONDS));
|
|
|
+ int jkmTimeout = rshyParam.getTimeout() - 300;
|
|
|
RshyVo rshyVo = new RshyVo();
|
|
|
PctgkryDTO gkryDTO = new PctgkryDTO();
|
|
|
ResultDTO resultDTO = new ResultDTO();
|
|
@@ -73,34 +85,50 @@ public class RshyJkManagerImpl implements RshyJkManager {
|
|
|
DateTime beginDate = DateTime.now();
|
|
|
PctjkmInfoDTO jkmInfo = null;
|
|
|
|
|
|
- if (StringUtils.isNotBlank(rshyParam.getBarCode()) || StringUtils.isNotBlank(rshyParam.getSfzh())) {
|
|
|
+ // 刷健康码或场所码
|
|
|
+ if (StringUtils.isNotBlank(rshyParam.getBarCode()) && StringUtils.isBlank(rshyParam.getSfzh())) {
|
|
|
try {
|
|
|
//查询健康码信息
|
|
|
- jkmInfo = itfwServer.getPctjkm(rshyParam.getBarCode(), rshyParam.getSfzh(), jkmTimeout);
|
|
|
+ jkmInfo = itfwServer.getPctjkm(rshyParam.getBarCode(), StrUtil.EMPTY, jkmTimeout);
|
|
|
} catch (Exception e) {
|
|
|
log.error("查询健康码信息异常:{}", e.getMessage());
|
|
|
//e.printStackTrace();
|
|
|
}
|
|
|
}
|
|
|
- if (jkmInfo == null) {
|
|
|
+ if (jkmInfo == null && StrUtil.isBlank(rshyParam.getSfzh())) {
|
|
|
return new AsyncResult<>(rshyVo.setPassStatus(PassStatusEnum.NO_HEALTH_CODE).setSfzh(rshyParam.getSfzh()).setXm(rshyParam.getXm()).setWarning(PassStatusEnum.NO_HEALTH_CODE.getDesc())
|
|
|
.setNucleic_acid(new NucleicAcidDTO().set(NucleicAcidEnum.NO_DATA)));
|
|
|
}
|
|
|
|
|
|
- rshyParam.setSfzh(jkmInfo.getId_num());
|
|
|
- rshyVo.setSfzh(jkmInfo.getId_num()).setXm(jkmInfo.getUser_name()).setHealthCode(jkmInfo.getColor_code_label()).setPhone(jkmInfo.getPn());
|
|
|
+ if (jkmInfo != null) {
|
|
|
+ rshyParam.setSfzh(jkmInfo.getId_num());
|
|
|
+ rshyVo.setSfzh(jkmInfo.getId_num()).setXm(jkmInfo.getUser_name()).setHealthCode(jkmInfo.getColor_code_label()).setPhone(jkmInfo.getPn());
|
|
|
+ saveIdentity(rshyParam.getBarCode(), rshyVo);
|
|
|
+ resultDTO.setPctjkmInfoDTO(jkmInfo);
|
|
|
+ } else {
|
|
|
+ rshyVo.setSfzh(rshyParam.getSfzh());
|
|
|
+ if (rshyParam.getIdentity() != null) {
|
|
|
+ rshyVo.setXm(rshyParam.getIdentity().getName());
|
|
|
+ rshyVo.setPhone(rshyParam.getIdentity().getPhone());
|
|
|
+ }
|
|
|
+ }
|
|
|
int jkmUsedTime = (int) DateUtil.between(beginDate, DateTime.now(), DateUnit.MS);
|
|
|
System.out.println("健康码接口用时: " + jkmUsedTime + "毫秒");
|
|
|
|
|
|
- rshyParam.setTimeout(rshyParam.getTimeout() - jkmUsedTime - 300);
|
|
|
- //剩余时间不到10ms,直接返回
|
|
|
- if (rshyParam.getTimeout() <= 10) {
|
|
|
+ rshyParam.setTimeout(rshyParam.getTimeout() - jkmUsedTime - 400);
|
|
|
+ //剩余时间不到50ms,直接返回
|
|
|
+ if (rshyParam.getTimeout() <= 50) {
|
|
|
return new AsyncResult<>(rshyVo);
|
|
|
}
|
|
|
|
|
|
+ log.info(rshyParam.toString());
|
|
|
+
|
|
|
AtomicReference<RshyVo> quickRshyVo = new AtomicReference<>(new RshyVo());
|
|
|
List<Runnable> taskList = new ArrayList<Runnable>() {
|
|
|
{
|
|
|
+ if (resultDTO.getPctjkmInfoDTO() == null) {
|
|
|
+ add(() -> resultDTO.setPctjkmInfoDTO(itfwServer.getPctjkm("", rshyParam.getSfzh(), rshyParam.getTimeout())));
|
|
|
+ }
|
|
|
add(() -> resultDTO.setPctsfzResult(itfwServer.getPctsfz(rshyParam.getSfzh(), rshyParam.getTimeout())));
|
|
|
add(() -> resultDTO.setPctymDataDTOS(itfwServer.getPctym(rshyParam.getSfzh(), rshyParam.getTimeout())));
|
|
|
add(() -> resultDTO.setPcthsResultDTO(itfwServer.getPcths(rshyParam.getSfzh(), rshyParam.getTimeout())));
|
|
@@ -117,29 +145,41 @@ public class RshyJkManagerImpl implements RshyJkManager {
|
|
|
|
|
|
//if (rshyParam.getScreenLocked() == 0 && (barCodes == null || PassStatusEnum.GREEN_CODE.getDesc().equals(barCodes.getCOLOR_CODE_LABEL()))) {
|
|
|
//绿码人员继续进行七大类管控接口、人车核录接口、杭州市重点人员底库数据查询接口比对
|
|
|
- if (PassStatusEnum.GREEN_CODE.getDesc().equals(jkmInfo.getColor_code_label())) {
|
|
|
- taskList.add(() -> resultDTO.getPctgkryDTO().setPctdfkDTO(itfwServer.getPctdfk(rshyParam.getSfzh(), "", rshyParam.getTimeout())));
|
|
|
- taskList.add(() -> resultDTO.getPctgkryDTO().setPctjsryDTO(itfwServer.getPctjsry(rshyParam.getSfzh(), rshyParam.getTimeout())));
|
|
|
- taskList.add(() -> resultDTO.getPctgkryDTO().setPctztDTO(itfwServer.getPctzt(rshyParam.getSfzh(), rshyParam.getTimeout())));
|
|
|
- taskList.add(() -> resultDTO.getPctgkryDTO().setPctzfbaDTO(itfwServer.getPctzfba(rshyParam.getSfzh(), rshyParam.getTimeout())));
|
|
|
- taskList.add(() -> resultDTO.getPctgkryDTO().setPctqkryDTO(itfwServer.getPctqkry(rshyParam.getSfzh(), rshyParam.getTimeout())));
|
|
|
- taskList.add(() -> resultDTO.getPctgkryDTO().setPctxdryDTO(itfwServer.getPctxdry(rshyParam.getSfzh(), "", rshyParam.getTimeout())));
|
|
|
- taskList.add(() -> resultDTO.getPctgkryDTO().setPctzdryDTO(itfwServer.getPctzdry(rshyParam.getSfzh(), rshyParam.getTimeout())));
|
|
|
- taskList.add(() -> resultDTO.setPctrchlDTO(itfwServer.getPctrchl(rshyParam.getSfzh(), rshyParam.getTimeout())));
|
|
|
- taskList.add(() -> resultDTO.setPctzdrydkResultDTO(itfwServer.getPctzdrydk(rshyParam.getSfzh(), rshyParam.getTimeout())));
|
|
|
- }
|
|
|
+ //if (PassStatusEnum.GREEN_CODE.getDesc().equals(jkmInfo.getColor_code_label())) {
|
|
|
+ taskList.add(() -> resultDTO.getPctgkryDTO().setPctdfkDTO(itfwServer.getPctdfk(rshyParam.getSfzh(), "", rshyParam.getTimeout())));
|
|
|
+ taskList.add(() -> resultDTO.getPctgkryDTO().setPctjsryDTO(itfwServer.getPctjsry(rshyParam.getSfzh(), rshyParam.getTimeout())));
|
|
|
+ taskList.add(() -> resultDTO.getPctgkryDTO().setPctztDTO(itfwServer.getPctzt(rshyParam.getSfzh(), rshyParam.getTimeout())));
|
|
|
+ taskList.add(() -> resultDTO.getPctgkryDTO().setPctzfbaDTO(itfwServer.getPctzfba(rshyParam.getSfzh(), rshyParam.getTimeout())));
|
|
|
+ taskList.add(() -> resultDTO.getPctgkryDTO().setPctqkryDTO(itfwServer.getPctqkry(rshyParam.getSfzh(), rshyParam.getTimeout())));
|
|
|
+ taskList.add(() -> resultDTO.getPctgkryDTO().setPctxdryDTO(itfwServer.getPctxdry(rshyParam.getSfzh(), "", rshyParam.getTimeout())));
|
|
|
+ taskList.add(() -> resultDTO.getPctgkryDTO().setPctzdryDTO(itfwServer.getPctzdry(rshyParam.getSfzh(), rshyParam.getTimeout())));
|
|
|
+ taskList.add(() -> resultDTO.setPctrchlDTO(itfwServer.getPctrchl(rshyParam.getSfzh(), rshyParam.getTimeout())));
|
|
|
+ taskList.add(() -> resultDTO.setPctzdrydkResultDTO(itfwServer.getPctzdrydk(rshyParam.getSfzh(), rshyParam.getTimeout())));
|
|
|
+ //}
|
|
|
|
|
|
//异步流并发处理
|
|
|
- taskList.parallelStream().forEach(v -> {
|
|
|
- try {
|
|
|
- v.run();
|
|
|
- } catch (Exception e) {
|
|
|
- log.error("异常信息:{}", e.getMessage());
|
|
|
- e.printStackTrace();
|
|
|
- }
|
|
|
- });
|
|
|
+// taskList.parallelStream().forEach(v -> {
|
|
|
+// try {
|
|
|
+// v.run();
|
|
|
+// } catch (Exception e) {
|
|
|
+// log.error("异常信息:{}", e.getMessage());
|
|
|
+// e.printStackTrace();
|
|
|
+// }
|
|
|
+// });
|
|
|
+
|
|
|
+ try {
|
|
|
+ log.info("{}个任务, 用时 {}毫秒", taskList.size(), startTaskAllInOnce(taskList, rshyParam.getTimeout() + 100));
|
|
|
+ } catch (InterruptedException e) {
|
|
|
+ log.error("异常信息:{}", e.getMessage());
|
|
|
+ e.printStackTrace();
|
|
|
+ }
|
|
|
|
|
|
log.info("IT服务平台接口调用完成");
|
|
|
+ //用身份证号码获取到健康码信息
|
|
|
+ if (resultDTO.getPctjkmInfoDTO() != null) {
|
|
|
+ jkmInfo = resultDTO.getPctjkmInfoDTO();
|
|
|
+ rshyVo.setXm(resultDTO.getPctjkmInfoDTO().getUser_name()).setHealthCode(resultDTO.getPctjkmInfoDTO().getColor_code_label()).setPhone(resultDTO.getPctjkmInfoDTO().getPn());
|
|
|
+ }
|
|
|
//今日进站次数
|
|
|
rshyVo.setTimes(times(rshyVo.getSfzh()));
|
|
|
//疫苗
|
|
@@ -154,10 +194,11 @@ public class RshyJkManagerImpl implements RshyJkManager {
|
|
|
//出生日期 从身份证号码中获取
|
|
|
Date date = DateUtil.parse(IdcardUtil.getBirthByIdCard(rshyVo.getSfzh()));
|
|
|
rshyVo.setBirthday(DateUtil.format(date, "yyyy-M-d"));
|
|
|
- //不是刷身份证,取地址
|
|
|
+ //不是刷身份证,取地址、姓名、民族
|
|
|
if (StrUtil.isBlank(rshyParam.getXm())) {
|
|
|
if (resultDTO.getPctsfzResult() != null) {
|
|
|
- //有警察叔叔身份证接口返回数据,取地址
|
|
|
+ //有警察叔叔身份证接口返回数据
|
|
|
+ rshyVo.setXm(resultDTO.getPctsfzResult().getCZRKXM());
|
|
|
rshyVo.setAddress(resultDTO.getPctsfzResult().getCZRKZZ());
|
|
|
rshyVo.setMz(resultDTO.getPctsfzResult().getCZRKMZ());
|
|
|
} else {
|
|
@@ -172,27 +213,36 @@ public class RshyJkManagerImpl implements RshyJkManager {
|
|
|
// if (rshyVo.getNucleic_acid().getStatus() == 0) {
|
|
|
// rshyVo.setPassStatus(PassStatusEnum.NON_CONFORMANCE).setKind(PassStatusEnum.NON_CONFORMANCE.getDesc()).setWarning(PassStatusEnum.NON_CONFORMANCE.getDesc());
|
|
|
// } else
|
|
|
- if (rshyVo.getTravel_card() != 0) {
|
|
|
- //行程码到过中高风险地区
|
|
|
- rshyVo.setPassStatus(PassStatusEnum.ABNORMAL_TRAVEL_CARD).setKind(PassStatusEnum.ABNORMAL_TRAVEL_CARD.getDesc());
|
|
|
- } else if (PassStatusEnum.RED_CODE.getDesc().equalsIgnoreCase(jkmInfo.getColor_code_label())) {
|
|
|
+// if (rshyVo.getTravel_card() != 0) {
|
|
|
+// //行程码到过中高风险地区
|
|
|
+// rshyVo.setPassStatus(PassStatusEnum.ABNORMAL_TRAVEL_CARD).setKind(PassStatusEnum.ABNORMAL_TRAVEL_CARD.getDesc());
|
|
|
+// } else
|
|
|
+
|
|
|
+ if (jkmInfo != null && PassStatusEnum.RED_CODE.getDesc().equalsIgnoreCase(jkmInfo.getColor_code_label())) {
|
|
|
//红码
|
|
|
rshyVo.setPass(PassStatusEnum.RED_CODE.getCode()).setTts(PassStatusEnum.RED_CODE.getTts()).setDisplayMsg(PassStatusEnum.RED_CODE.getDesc()).setWarning(PassStatusEnum.RED_CODE.getDesc()).setKind("健康码" + PassStatusEnum.RED_CODE.getDesc());
|
|
|
- } else if (PassStatusEnum.YELLOW_CODE.getDesc().equalsIgnoreCase(jkmInfo.getColor_code_label())) {
|
|
|
+ } else if (jkmInfo != null && PassStatusEnum.YELLOW_CODE.getDesc().equalsIgnoreCase(jkmInfo.getColor_code_label())) {
|
|
|
//黄码
|
|
|
rshyVo.setPassStatus(PassStatusEnum.YELLOW_CODE).setKind("健康码" + PassStatusEnum.YELLOW_CODE.getDesc()).setWarning(PassStatusEnum.YELLOW_CODE.getDesc());
|
|
|
- } else if (resultDTO.getPctgkryDTO().getPctztDTO() != null || StrUtil.containsAnyIgnoreCase(hcjg, RchljgEnum.CAPTURE.getDesc()) || StrUtil.containsAnyIgnoreCase(hcjg, RchljgEnum.INTERCEPT.getDesc())) {
|
|
|
- //在逃 或者 人车核录接口返回 抓捕或者拦截
|
|
|
+ } else if (StrUtil.containsAnyIgnoreCase(hcjg, RchljgEnum.CAPTURE.getDesc()) || StrUtil.containsAnyIgnoreCase(hcjg, RchljgEnum.INTERCEPT.getDesc())) {
|
|
|
+ //人车核录接口返回抓捕或者拦截
|
|
|
+ if (StrUtil.isNotBlank(resultDTO.getPctrchlDTO().getXm())) {
|
|
|
+ rshyVo.setXm(resultDTO.getPctrchlDTO().getXm());
|
|
|
+ rshyVo.setMz(EnumUtil.likeValueOf(Nation.class, resultDTO.getPctrchlDTO().getMz()).getDesc());
|
|
|
+ }
|
|
|
+ rshyVo.setPassStatus(PassStatusEnum.NO_PASSING).setKind(kind(resultDTO)).setWarning(warning(resultDTO));
|
|
|
+ } else if (resultDTO.getPctgkryDTO().getPctztDTO() != null && resultDTO.getPctgkryDTO().getPctztDTO().getRyztmc().equalsIgnoreCase("在逃")) {
|
|
|
+ //在逃接口返回并且ryztmc字段为在逃
|
|
|
+ rshyVo.setXm(resultDTO.getPctgkryDTO().getPctztDTO().getXm());
|
|
|
rshyVo.setPassStatus(PassStatusEnum.NO_PASSING).setKind(kind(resultDTO)).setWarning(warning(resultDTO));
|
|
|
} else if (!ObjectUtils.allFieldIsNULL(resultDTO.getPctgkryDTO()) || StrUtil.containsAnyIgnoreCase(hcjg, RchljgEnum.IN_DOUBT.getDesc())) {
|
|
|
- //七大类管控人员(在逃除外)和人车核录接口返回存疑人员
|
|
|
+ //七大类管控人员和人车核录接口返回存疑人员
|
|
|
rshyVo.setPassStatus(PassStatusEnum.RIGHT_WAY).setKind(kind(resultDTO)).setWarning(warning(resultDTO));
|
|
|
} else if (resultDTO.getPctzdrydkResultDTO() != null && resultDTO.getPctzdrydkResultDTO().getTotal() > 0) {
|
|
|
//杭州市重点人员底库查询接口
|
|
|
rshyVo.setPassStatus(PassStatusEnum.RIGHT_WAY).setKind(resultDTO.getPctzdrydkResultDTO().getData().get(0).getRyflList()[0]);
|
|
|
} else if (quickRshyVo.get() != null && StrUtil.isNotEmpty(quickRshyVo.get().getSfzh())) {
|
|
|
//依图接口
|
|
|
- //rshyVo = quickRshyVo.get().setTimes(times(rshyParam.getSfzh()));
|
|
|
rshyVo.copySomeValues(quickRshyVo.get());
|
|
|
} else {
|
|
|
//正常通过
|
|
@@ -207,9 +257,59 @@ public class RshyJkManagerImpl implements RshyJkManager {
|
|
|
}
|
|
|
|
|
|
//System.out.println(JSONObject.toJSONString(resultDTO));
|
|
|
+ if (resultDTO.getPctjkmInfoDTO() != null) {
|
|
|
+ saveIdentity(resultDTO.getPctjkmInfoDTO().getBar_code(), rshyVo);
|
|
|
+ }
|
|
|
return new AsyncResult<>(rshyVo);
|
|
|
}
|
|
|
|
|
|
+
|
|
|
+ /**
|
|
|
+ * 并行执行任务
|
|
|
+ *
|
|
|
+ * @param task 任务列表
|
|
|
+ * @return 用时,毫秒
|
|
|
+ * @throws InterruptedException
|
|
|
+ */
|
|
|
+ protected long startTaskAllInOnce(List<Runnable> task, long timeout) throws InterruptedException {
|
|
|
+ long startTime = System.currentTimeMillis();
|
|
|
+ System.out.println(startTime + " [" + Thread.currentThread() + "] All thread is ready, concurrent going...");
|
|
|
+ final CountDownLatch latch = new CountDownLatch(task.size());
|
|
|
+ ExecutorService executorService = new ExecutorServiceAdapter(poolTaskExecutor);
|
|
|
+ for (Runnable r : task) {
|
|
|
+ executorService.submit(() -> {
|
|
|
+ try {
|
|
|
+ r.run();
|
|
|
+ } catch (Exception e) {
|
|
|
+ log.error("异常信息:{}", e.getMessage());
|
|
|
+ } finally {
|
|
|
+ latch.countDown();
|
|
|
+ }
|
|
|
+ });
|
|
|
+ }
|
|
|
+
|
|
|
+ latch.await(timeout, TimeUnit.MILLISECONDS);
|
|
|
+ long endTime = System.currentTimeMillis();
|
|
|
+ System.out.println(endTime + " [" + Thread.currentThread() + "] All thread is completed.");
|
|
|
+ return endTime - startTime;
|
|
|
+ }
|
|
|
+
|
|
|
+
|
|
|
+ @Async
|
|
|
+ protected void saveIdentity(String barCode, RshyVo rshyVo) {
|
|
|
+ log.info("保存身份信息到数据库, 身份证号码: {}", rshyVo.getSfzh());
|
|
|
+ Identity identity = new Identity();
|
|
|
+ if (StrUtil.isNotBlank(barCode)) {
|
|
|
+ identity.setBarCode(barCode);
|
|
|
+ }
|
|
|
+ identity.setIdNum(rshyVo.getSfzh());
|
|
|
+ identity.setName(rshyVo.getXm());
|
|
|
+ identity.setAddress(rshyVo.getAddress());
|
|
|
+ identity.setPhone(rshyVo.getPhone());
|
|
|
+ identity.setPhoto(rshyVo.getPhoto());
|
|
|
+ identityService.saveOK(identity);
|
|
|
+ }
|
|
|
+
|
|
|
/**
|
|
|
* 组装返回的核酸信息
|
|
|
*
|
|
@@ -304,12 +404,11 @@ public class RshyJkManagerImpl implements RshyJkManager {
|
|
|
*/
|
|
|
private String kind(ResultDTO resultDTO) {
|
|
|
StringBuilder stringBuilder = new StringBuilder();
|
|
|
- stringBuilder.append(resultDTO.getPctgkryDTO().getPctztDTO() != null ? resultDTO.getPctgkryDTO().getPctztDTO().getZtrylxmc() + "、" : StrUtil.EMPTY);
|
|
|
+ stringBuilder.append(resultDTO.getPctgkryDTO().getPctztDTO() != null ? resultDTO.getPctgkryDTO().getPctztDTO().getRyztmc() + "、" : StrUtil.EMPTY);
|
|
|
stringBuilder.append(resultDTO.getPctgkryDTO().getPctdfkDTO() != null ? HyTypeEnum.pctdfk.getDesc() + "、" : StrUtil.EMPTY);
|
|
|
stringBuilder.append(resultDTO.getPctgkryDTO().getPctjsryDTO() != null ? HyTypeEnum.pctjsry.getDesc() + "、" : StrUtil.EMPTY);
|
|
|
stringBuilder.append(resultDTO.getPctgkryDTO().getPctxdryDTO() != null ? HyTypeEnum.pctxdry.getDesc() + "、" : StrUtil.EMPTY);
|
|
|
stringBuilder.append(resultDTO.getPctgkryDTO().getPctqkryDTO() != null ? HyTypeEnum.pctqkry.getDesc() + "、" : StrUtil.EMPTY);
|
|
|
- //stringBuilder.append(resultDTO.getPctjkmInfoDTO() != null ? HyTypeEnum.pctjkm.getDesc() : StrUtil.EMPTY);
|
|
|
stringBuilder.append(resultDTO.getPctgkryDTO().getPctzfbaDTO() != null ? HyTypeEnum.pctzfba.getDesc() + "、" : StrUtil.EMPTY);
|
|
|
stringBuilder.append(resultDTO.getPctgkryDTO().getPctzdryDTO() != null ? HyTypeEnum.pctzdry.getDesc() + "、" : StrUtil.EMPTY);
|
|
|
stringBuilder.append(resultDTO.getPctrchlDTO() != null ? resultDTO.getPctrchlDTO().getRylb() : StrUtil.EMPTY);
|