Browse Source

外部报验-重新发起-解决其他报验历史记录没存问题

wangming 4 tháng trước cách đây
mục cha
commit
9fb16bb9af

+ 1 - 1
business-common/src/main/java/com/rongwei/bscommon/sys/service/impl/ZhcxOutsideInspectionItpServiceImpl.java

@@ -1748,7 +1748,7 @@ public class ZhcxOutsideInspectionItpServiceImpl extends ServiceImpl<ZhcxOutside
         String[] array = {"10", "20", "30", "60"};
         List<String> qcTypeList = Arrays.asList(array);
         if(qcTypeList.contains(itpDo.getInspectiontype())
-                || ("80".equals(itpDo.getInspectiontype())) && ObjectUtil.isEmpty(itpDo.getOthertype())) {
+                || ("80".equals(itpDo.getInspectiontype())) && ObjectUtil.isNotEmpty(itpDo.getOthertype())) {
             qcItemResultService.copyByItpId(itpDo.getId(), newItpIdList);
         }
     }

+ 0 - 3
business-server/src/main/java/com/rongwei/bsserver/controller/ZhcxPersistentController.java

@@ -1,11 +1,8 @@
 package com.rongwei.bsserver.controller;
 
 import com.rongwei.bscommon.sys.service.ZhcxPersistentManageService;
-import com.rongwei.bscommon.sys.service.ZhcxPersistentService;
-import com.rongwei.bsentity.dto.OutsideInspactionSyncReqquest;
 import com.rongwei.bsentity.dto.ZhcxPersistentReportDto;
 import com.rongwei.rwcommon.base.R;
-import com.rongwei.rwcommon.base.exception.CustomException;
 import io.swagger.annotations.Api;
 import io.swagger.annotations.ApiOperation;
 import org.springframework.beans.factory.annotation.Autowired;