Browse Source

1.增加时间

single_db
pref_mail@163.com 1 year ago
parent
commit
ec6efa5312
  1. 5
      blade-service/logpm-distribution/src/main/java/com/logpm/distribution/service/impl/DistributionSignforServiceImpl.java
  2. 16
      blade-service/logpm-warehouse/src/main/java/com/logpm/warehouse/service/impl/WarehouseUpdownTypeServiceImpl.java

5
blade-service/logpm-distribution/src/main/java/com/logpm/distribution/service/impl/DistributionSignforServiceImpl.java

@ -72,6 +72,7 @@ import org.springblade.core.mp.base.BaseServiceImpl;
import org.springblade.core.secure.BladeUser;
import org.springblade.core.secure.utils.AuthUtil;
import org.springblade.core.tool.api.R;
import org.springblade.core.tool.utils.DateUtil;
import org.springblade.core.tool.utils.Func;
import org.springblade.core.tool.utils.ObjectUtil;
import org.springblade.system.cache.DictBizCache;
@ -2254,7 +2255,7 @@ public class DistributionSignforServiceImpl extends BaseServiceImpl<Distribution
distributionDeliverySelfEntity = Func.copy(distributionDeliveryTripartiteEntity, DistributionDeliverySelfEntity.class);
// BeanUtils.copyProperties(distributionDeliveryTripartiteEntity, distributionDeliverySelfEntity);
}
SimpleDateFormat simpleDateFormat = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss");
SimpleDateFormat simpleDateFormat = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss:SSS");
if (Func.equals(distributionSignforEntity.getDriverSigning(), SignforDriverSigningStatusConstant.yiqianshou.getValue())) {
@ -2361,7 +2362,7 @@ public class DistributionSignforServiceImpl extends BaseServiceImpl<Distribution
}
}
} else {
log.error("################库存品未进行备货操作+{}" + detailEntities);
log.error("################库存品未进行备货操作+{}" , detailEntities);
return R.fail("库存品未进行备货操作");
}
}

16
blade-service/logpm-warehouse/src/main/java/com/logpm/warehouse/service/impl/WarehouseUpdownTypeServiceImpl.java

@ -2717,21 +2717,7 @@ public class WarehouseUpdownTypeServiceImpl extends BaseServiceImpl<WarehouseUpd
distributionParcelListClient.updatePackageGroundingStatus(orderPackageCode,groundingStatus,warehouseId);
// DistributionParcelListEntity parcelListEntity = distributionParcelListClient.findByPacketBarCodeAndWarehouseId(orderPackageCode,warehouseId);
// String orderCode = parcelListEntity.getOrderCode();
// List<DistributionParcelListEntity> listEntities = distributionParcelListClient.findEntityListByOrderCode(orderCode,warehouseId);
// List<DistributionParcelListEntity> list = distributionParcelListClient.getListByOrderCodeAndgroundingStatus(orderCode,"10",warehouseId);
// int size = list.size();
// if(size == 0){
// //订单下所有包件已经上架,就修改订单状态为已上架30
// distributionStockArticleClient.updateGroundingStatus(orderCode,"30",warehouseId);
// }else if(size < listEntities.size()){
// //部分上架20
// distributionStockArticleClient.updateGroundingStatus(orderCode,"20",warehouseId);
// }else if(size == listEntities.size()){
// //已下架40
// distributionStockArticleClient.updateGroundingStatus(orderCode,"40",warehouseId);
// }
}

Loading…
Cancel
Save