|  |  |  | 
|---|
|  |  |  | import com.fzzy.api.view.repository.ApiLogRep; | 
|---|
|  |  |  | import com.fzzy.async.fzzy40.entity.Fz40InoutRecord; | 
|---|
|  |  |  | import com.fzzy.async.fzzy40.repository.Fzzy40Sync1202Rep; | 
|---|
|  |  |  | import com.fzzy.async.fzzy40.repository.Fzzy40SyncDepotConfRep; | 
|---|
|  |  |  | import com.fzzy.async.fzzy40.repository.Fzzy40SyncDepotRep; | 
|---|
|  |  |  | import com.fzzy.push.sh2023.SH2023Constant; | 
|---|
|  |  |  | import com.fzzy.push.sh2023.dto.SH2023Api2101; | 
|---|
|  |  |  | import com.fzzy.push.sh2023.dto.ShAreaBjw; | 
|---|
|  |  |  | import lombok.extern.slf4j.Slf4j; | 
|---|
|  |  |  | import org.springframework.beans.factory.annotation.Autowired; | 
|---|
|  |  |  | import org.springframework.stereotype.Component; | 
|---|
|  |  |  |  | 
|---|
|  |  |  | import java.util.Date; | 
|---|
|  |  |  | import java.util.List; | 
|---|
|  |  |  |  | 
|---|
|  |  |  | 
|---|
|  |  |  | bjw = ShAreaBjw.getBjw(api1102List.get(0).getXzqhdm()); | 
|---|
|  |  |  | } | 
|---|
|  |  |  | for (Fz40InoutRecord sysData : list) { | 
|---|
|  |  |  | List<ApiInfoData> apiInfoData = apiInfoDataRep.getDataByInteAndData(SH2023Constant.SH_2023_API_CODE_2101, sysData.getCheckId()); | 
|---|
|  |  |  | if (null != apiInfoData && apiInfoData.size() > 0) { | 
|---|
|  |  |  | continue; | 
|---|
|  |  |  | } | 
|---|
|  |  |  | sh2023Api2101 = new SH2023Api2101(); | 
|---|
|  |  |  | sh2023Api2101.setJjdh(sysData.getCheckId()); | 
|---|
|  |  |  | sh2023Api2101.setKqdm(kqdm); | 
|---|
|  |  |  | 
|---|
|  |  |  | infoData.setRemarks("市储检斤单"); | 
|---|
|  |  |  |  | 
|---|
|  |  |  | //设置操作标志 | 
|---|
|  |  |  | apiInfoDataList = apiInfoDataRep.getDataByInteAndData(SH2023Constant.SH_2023_API_CODE_2101, infoData.getDataId()); | 
|---|
|  |  |  | apiInfoDataList = apiInfoDataRep.getDataByInteAndData(SH2023Constant.SH_2023_API_CODE_2101, infoData.getDataId(), kqdm); | 
|---|
|  |  |  | if (null == apiInfoDataList || apiInfoDataList.isEmpty()) { | 
|---|
|  |  |  | infoData.setCzbz(Constant.CZBZ_I); | 
|---|
|  |  |  | sh2023Api2101.setCzbz(Constant.CZBZ_I); | 
|---|