|
|
@ -12,8 +12,7 @@ import com.yxt.anrui.base.api.commonappendix.CommonAttachTypeEnum; |
|
|
|
import com.yxt.anrui.base.common.enums.ManPurOrderType; |
|
|
|
import com.yxt.anrui.base.common.enums.OperVehicleState; |
|
|
|
import com.yxt.anrui.base.common.enums.VehicleState; |
|
|
|
import com.yxt.anrui.fin.api.kingdee.FinKingDeeFeign; |
|
|
|
import com.yxt.anrui.fin.api.kingdee.appayable.APPayable; |
|
|
|
|
|
|
|
import com.yxt.anrui.flowable.api.flow.FlowableFeign; |
|
|
|
import com.yxt.anrui.flowable.api.flowtask.FlowTaskFeign; |
|
|
|
import com.yxt.anrui.flowable.api.flow.UpdateFlowFieldVo; |
|
|
@ -86,8 +85,8 @@ public class ScmApplyInboundService extends MybatisBaseService<ScmApplyInboundMa |
|
|
|
private BaseVehicleFeign baseVehicleFeign; |
|
|
|
@Autowired |
|
|
|
private ScmVehinspectItemService scmVehinspectItemService; |
|
|
|
@Autowired |
|
|
|
private FinKingDeeFeign finKingDeeFeign; |
|
|
|
/* @Autowired |
|
|
|
private FinKingDeeFeign finKingDeeFeign;*/ |
|
|
|
@Autowired |
|
|
|
private ScmFileService scmFileService; |
|
|
|
@Autowired |
|
|
@ -471,7 +470,7 @@ public class ScmApplyInboundService extends MybatisBaseService<ScmApplyInboundMa |
|
|
|
// 入账审批通关修改采购订单状态 state = 1
|
|
|
|
busVehicleOrderFeign.updateState(scmApplyInbound.getVehicleOrderSid()); |
|
|
|
try{ |
|
|
|
APPayable apPayable=new APPayable(); |
|
|
|
/* APPayable apPayable=new APPayable(); |
|
|
|
BeanUtil.copyProperties(scmApplyInbound,apPayable); |
|
|
|
List<APPayable.ScmApplyInboundVehicleDto> l=new ArrayList<>(); |
|
|
|
scmApplyInboundVehicleDtos.forEach(f->{ |
|
|
@ -484,7 +483,7 @@ public class ScmApplyInboundService extends MybatisBaseService<ScmApplyInboundMa |
|
|
|
if(!resultBean1.getSuccess()){ |
|
|
|
return rb.setMsg("入账推送金蝶系统的应付单接口报错,主数据sid:"+scmApplyInbound.getSid()); |
|
|
|
} |
|
|
|
log.error(JSON.toJSONString(resultBean1)); |
|
|
|
log.error(JSON.toJSONString(resultBean1));*/ |
|
|
|
}catch (Exception e){ |
|
|
|
return rb.setMsg("入账推送金蝶系统的应付单接口报错,主数据sid:"+scmApplyInbound.getSid()); |
|
|
|
} |
|
|
|