|
|
@ -850,6 +850,7 @@ public class ScmVehicleGressionService extends MybatisBaseService<ScmVehicleGres |
|
|
|
*/ |
|
|
|
public ResultBean complete(BusinessVariables bv) { |
|
|
|
ResultBean rb = ResultBean.fireFail(); |
|
|
|
SimpleDateFormat simpleDateFormat = new SimpleDateFormat("yyyy-MM-dd"); |
|
|
|
ScmVehicleGression scmVehicleGression = fetchBySid(bv.getBusinessSid()); |
|
|
|
Map<String, Object> variables = new HashMap<>(); |
|
|
|
Map<String, Object> appMap = new HashMap<>(); |
|
|
@ -872,7 +873,6 @@ public class ScmVehicleGressionService extends MybatisBaseService<ScmVehicleGres |
|
|
|
UpdateFlowFieldVo ufVo = resultBean.getData(); |
|
|
|
updateFlowFiled(BeanUtil.beanToMap(resultBean.getData())); |
|
|
|
if (!"Event_end".equals(ufVo.getTaskDefKey())) { |
|
|
|
SimpleDateFormat simpleDateFormat = new SimpleDateFormat("yyyy-MM-dd"); |
|
|
|
//极光推送
|
|
|
|
scmVehicleGression = fetchBySid(bv.getBusinessSid()); |
|
|
|
ufVo.setProcInsId(scmVehicleGression.getProcInstId()); |
|
|
@ -887,6 +887,8 @@ public class ScmVehicleGressionService extends MybatisBaseService<ScmVehicleGres |
|
|
|
messageFlowableQuery.setMsgContent(scmVehicleGression.getApplicantName() + "提交的" + messageFlowableQuery.getModuleName() + ",请审批"); |
|
|
|
messageFlowableQuery.setMsgTitle("供应链"); |
|
|
|
ResultBean<String> stringResultBean = messageFeign.pushMessage(messageFlowableQuery); |
|
|
|
|
|
|
|
}else{ |
|
|
|
//推送车辆台账数据
|
|
|
|
VehicleGression vehicleGression = new VehicleGression(); |
|
|
|
List<String> list = scmVehicleGressionVehService.fetchVoByMainSid(scmVehicleGression.getSid()); |
|
|
@ -926,6 +928,8 @@ public class ScmVehicleGressionService extends MybatisBaseService<ScmVehicleGres |
|
|
|
fBillEntry.setFDestStockId("CK003");//调入仓库
|
|
|
|
fBillEntry.setFMaterialId(s);//物料编码
|
|
|
|
fBillEntry.setFSrcStockId("CK001");//调出仓库
|
|
|
|
fBillEntry.setFLot(s); |
|
|
|
fBillEntry.setFDestLot(s); |
|
|
|
FPAYBILLENTRYs.add(fBillEntry); |
|
|
|
stkTransferDirect.setFBillEntry(FPAYBILLENTRYs); |
|
|
|
finKingDeeFeign.draftStkTransferDirect(stkTransferDirect); |
|
|
|