소스 검색

履职任务NFC过滤完善

jiawuxian 2 년 전
부모
커밋
a3031963eb
1개의 변경된 파일2개의 추가작업 그리고 1개의 파일을 삭제
  1. 2 1
      soc-modules/soc-modules-core/src/main/java/com/xunmei/core/resumption/gx/service/ResumptionServiceImpl.java

+ 2 - 1
soc-modules/soc-modules-core/src/main/java/com/xunmei/core/resumption/gx/service/ResumptionServiceImpl.java

@@ -305,7 +305,8 @@ public class ResumptionServiceImpl implements ResumptionService {
                     }
                 } else {
                     for (ResumptionNFCVo nfcVo : orgAllNFCs) {
-                        if (nfcVo.getAreaId().equals(resumptionPlanVo.getAreaId())) {
+                        if (nfcVo.getAreaId().equals(resumptionPlanVo.getAreaId()) &&
+                                (ObjectUtil.isNull(resumptionPlanVo.getCheckId()) || ObjectUtil.equal(nfcVo.getCheckId(),resumptionPlanVo.getCheckId()))) {
                             nfcVo.setPointScan(resumptionPlanVo.getPointScan());
                             usedNFCID.add(nfcVo.getNfcId());
                         }