|
|
|
@ -143,9 +143,16 @@ public class AlihealthBusServiceImpl implements AlihealthBusService {
|
|
|
|
|
|
|
|
|
|
AddOrderRequest addOrderRequest = new AddOrderRequest();
|
|
|
|
|
BeanUtils.copyProperties(ioOrderEntity, addOrderRequest);
|
|
|
|
|
String ycBillNo = ioOrderEntity.getYcBillNo();
|
|
|
|
|
|
|
|
|
|
for (int j = 0; j < list.size(); j++) {
|
|
|
|
|
YcFileCodeUploadVo ycFileCodeUploadVo = list.get(j);
|
|
|
|
|
|
|
|
|
|
//第一条进行 阳采单号的校验
|
|
|
|
|
if (j == 0 && StringUtils.isNotEmpty(ycBillNo)){
|
|
|
|
|
String ycBillNo1 = ycFileCodeUploadVo.getYcBillNo();
|
|
|
|
|
throw new JsonException("导入订单编号错误:当前绑定阳采业务单号【" + ycBillNo + "】 , 导入阳采业务单号【" + ycBillNo1 + "】 ");
|
|
|
|
|
}
|
|
|
|
|
String code = ycFileCodeUploadVo.getCode();
|
|
|
|
|
addOrderRequest.setCode(code);
|
|
|
|
|
UdiEntity udiEntity = FilterUdiUtils.getUdi(code);
|
|
|
|
|