| | |
| | | import com.fzzy.api.utils.ContextUtil; |
| | | import com.fzzy.api.view.repository.Api1209Rep; |
| | | import com.fzzy.api.view.repository.ApiLogRep; |
| | | import com.fzzy.async.fzzy35.entity.MLossOver; |
| | | import com.fzzy.async.fzzy35.entity.Fz35MLossOver; |
| | | import com.fzzy.async.fzzy35.repository.Fzzy35Sync1209Rep; |
| | | import lombok.extern.slf4j.Slf4j; |
| | | import org.apache.commons.lang.time.DateFormatUtils; |
| | |
| | | apiLog.setStatus(99); |
| | | apiLog.setId(ContextUtil.getUUID()); |
| | | try { |
| | | List<MLossOver> list = fzzySync1209Rep.listMLossOver(deptId, start, end); |
| | | List<Fz35MLossOver> list = fzzySync1209Rep.listMLossOver(deptId, start, end); |
| | | |
| | | if (null == list || list.isEmpty()) { |
| | | |
| | |
| | | |
| | | Api1209 apiData; |
| | | Api1105 api1105; |
| | | for (MLossOver sysData : list) { |
| | | for (Fz35MLossOver sysData : list) { |
| | | |
| | | //获取货位信息 |
| | | api1105 = commonService.getApi1105Cache(sysData.getDepotId()); |