|
|
@ -901,7 +901,7 @@ public class IoOrderServiceImpl implements IoOrderService {
|
|
|
|
ThrOrderUploadBustypesEntity thrOrderUploadBustypesEntity = thrOrderUploadBustypesService.findByAction(orderEntity.getAction());
|
|
|
|
ThrOrderUploadBustypesEntity thrOrderUploadBustypesEntity = thrOrderUploadBustypesService.findByAction(orderEntity.getAction());
|
|
|
|
if (thrOrderUploadBustypesEntity == null) {
|
|
|
|
if (thrOrderUploadBustypesEntity == null) {
|
|
|
|
log.error(billNo + ":" + orderEntity.getAction() + "单据类型未设置自动上传");
|
|
|
|
log.error(billNo + ":" + orderEntity.getAction() + "单据类型未设置自动上传");
|
|
|
|
return ResultVOUtils.error(500, billNo + ":" + orderEntity.getAction() + "单据类型未设置自动上传");
|
|
|
|
continue;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
if (!thrOrderUploadBustypesEntity.getOrderSource().contains(orderEntity.getFromType() + "")) {
|
|
|
|
if (!thrOrderUploadBustypesEntity.getOrderSource().contains(orderEntity.getFromType() + "")) {
|
|
|
|
log.error(billNo + ":" + "单据来源不允许自动提交");
|
|
|
|
log.error(billNo + ":" + "单据来源不允许自动提交");
|
|
|
|