丽知:调拨出入库修改单日日期

This commit is contained in:
zhengyf 2024-11-07 17:03:56 +08:00
parent 0722014555
commit 5ec6a10725
2 changed files with 10 additions and 7 deletions

View File

@ -308,6 +308,8 @@ public class TransferInPluginInitializer extends PluginBaseEntity {
parentvo.setPk_corp(corpCode); parentvo.setPk_corp(corpCode);
//pk_defdoc19 自定义项19ofs调拨订单号 //pk_defdoc19 自定义项19ofs调拨订单号
parentvo.setVuserdef19(ofsSourceOrderCode); parentvo.setVuserdef19(ofsSourceOrderCode);
//dbilldate 单据日期
parentvo.setDbilldate(format);
//U8C调拨订单信息 //U8C调拨订单信息
// List<ToBillEntity> toBillEntityList = queryToBillByPkVdefdoc19(ofsSourceOrderCode); // List<ToBillEntity> toBillEntityList = queryToBillByPkVdefdoc19(ofsSourceOrderCode);

View File

@ -269,7 +269,8 @@ public class TransferOutPluginInitializer extends PluginBaseEntity {
BillVO billVO = new BillVO(); BillVO billVO = new BillVO();
String mapStr = ""; String mapStr = "";
String format = ""; String create = "";
String modify = "";
String response = ""; String response = "";
String ofsCode = ""; String ofsCode = "";
try { try {
@ -287,12 +288,12 @@ public class TransferOutPluginInitializer extends PluginBaseEntity {
////////////////////////////////////////////////////////////////////////////////ofs调拨订单 ////////////////////////////////////////////////////////////////////////////////ofs调拨订单
//创建日期调拨出库创建时间 //创建日期调拨出库创建时间
String created = stockoutH.getCreated(); create = stockoutH.getCreated();
format = created; modify = stockoutH.getLastUpdated();
//dbilldate 单据日期 //dbilldate 单据日期
parentvo.setDbilldate(format.substring(0,10)); parentvo.setDbilldate(modify.substring(0,10));
//dauditdate 审批日期 //dauditdate 审批日期
parentvo.setDauditdate(format); parentvo.setDauditdate(modify);
//coperatorid 制单人 //coperatorid 制单人
parentvo.setCoperatorid("tbadmin"); parentvo.setCoperatorid("tbadmin");
//cbiztypeid 业务流程编码 //cbiztypeid 业务流程编码
@ -389,7 +390,7 @@ public class TransferOutPluginInitializer extends PluginBaseEntity {
integrationTaskLivingDetailsEntity.setRootAppNewData(mapStr); integrationTaskLivingDetailsEntity.setRootAppNewData(mapStr);
integrationTaskLivingDetailsEntity.setNewTransmitInfo(response); integrationTaskLivingDetailsEntity.setNewTransmitInfo(response);
integrationTaskLivingDetailsEntity.setNewPushDate(new Date()); integrationTaskLivingDetailsEntity.setNewPushDate(new Date());
integrationTaskLivingDetailsEntity.setBusinessDate(format); integrationTaskLivingDetailsEntity.setBusinessDate(modify);
integrationTaskLivingDetailsEntity.setRootAppPk(ofsCode); integrationTaskLivingDetailsEntity.setRootAppPk(ofsCode);
integrationTaskLivingDetailsEntity.setRootAppBill(ofsCode); integrationTaskLivingDetailsEntity.setRootAppBill(ofsCode);
integrationTaskLivingDetailsEntity.setNewSystemNumber(corpCode+"_"+vbillcode);//u8c调拨订单号 integrationTaskLivingDetailsEntity.setNewSystemNumber(corpCode+"_"+vbillcode);//u8c调拨订单号
@ -415,7 +416,7 @@ public class TransferOutPluginInitializer extends PluginBaseEntity {
integrationTaskLivingDetailsEntity.setRootAppNewData(mapStr); integrationTaskLivingDetailsEntity.setRootAppNewData(mapStr);
integrationTaskLivingDetailsEntity.setNewTransmitInfo(ErrMessage); integrationTaskLivingDetailsEntity.setNewTransmitInfo(ErrMessage);
integrationTaskLivingDetailsEntity.setNewPushDate(new Date()); integrationTaskLivingDetailsEntity.setNewPushDate(new Date());
integrationTaskLivingDetailsEntity.setBusinessDate(format); integrationTaskLivingDetailsEntity.setBusinessDate(modify);
integrationTaskLivingDetailsEntity.setRootAppPk(ofsCode); integrationTaskLivingDetailsEntity.setRootAppPk(ofsCode);
integrationTaskLivingDetailsEntity.setRootAppBill(ofsCode);//u8c其他出库单号 integrationTaskLivingDetailsEntity.setRootAppBill(ofsCode);//u8c其他出库单号
integrationTaskLivingDetailsEntity.setPluginId(getPluginId()); integrationTaskLivingDetailsEntity.setPluginId(getPluginId());