|
|
@ -19,10 +19,7 @@ import org.springblade.core.tool.api.R; |
|
|
|
import org.springblade.core.tool.utils.StringUtil; |
|
|
|
import org.springblade.core.tool.utils.StringUtil; |
|
|
|
import org.springframework.stereotype.Service; |
|
|
|
import org.springframework.stereotype.Service; |
|
|
|
|
|
|
|
|
|
|
|
import java.util.HashMap; |
|
|
|
import java.util.*; |
|
|
|
import java.util.List; |
|
|
|
|
|
|
|
import java.util.Map; |
|
|
|
|
|
|
|
import java.util.Objects; |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@Slf4j |
|
|
|
@Slf4j |
|
|
|
@Service |
|
|
|
@Service |
|
|
@ -126,6 +123,19 @@ public class InComingServiceImpl implements IInComingService { |
|
|
|
|
|
|
|
|
|
|
|
@Override |
|
|
|
@Override |
|
|
|
public R findIncomingOrderList(InComingDTO inComingDTO) { |
|
|
|
public R findIncomingOrderList(InComingDTO inComingDTO) { |
|
|
|
|
|
|
|
Integer incomingType = inComingDTO.getIncomingType(); |
|
|
|
|
|
|
|
if(incomingType == 5){ |
|
|
|
|
|
|
|
String incomingCode = inComingDTO.getIncomingCode(); |
|
|
|
|
|
|
|
incomingCode = incomingCode.replaceAll(",",","); |
|
|
|
|
|
|
|
List<String> orderCodes = new ArrayList<>(); |
|
|
|
|
|
|
|
if(incomingCode.contains(",")){ |
|
|
|
|
|
|
|
orderCodes.addAll(Arrays.asList(incomingCode.split(","))); |
|
|
|
|
|
|
|
}else{ |
|
|
|
|
|
|
|
orderCodes.add(incomingCode); |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
inComingDTO.setOrderCodes(orderCodes); |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
List<TrunklineAdvanceVO> ls = advanceService.findIncomingOrderList(inComingDTO); |
|
|
|
List<TrunklineAdvanceVO> ls = advanceService.findIncomingOrderList(inComingDTO); |
|
|
|
for (TrunklineAdvanceVO advanceVO : ls) { |
|
|
|
for (TrunklineAdvanceVO advanceVO : ls) { |
|
|
|
Long advanceId = advanceVO.getId(); |
|
|
|
Long advanceId = advanceVO.getId(); |
|
|
|