|
|
|
@ -101,11 +101,15 @@ public class OuPaiFactoryServiceImpl implements IOuPaiFactoryService {
|
|
|
|
|
QueryWrapper<FactoryPackageEntity> queryWrapper = new QueryWrapper<>(); |
|
|
|
|
queryWrapper.eq("oid",orderPackageCode); |
|
|
|
|
FactoryPackageEntity packageEntity = factoryPackageService.getOne(queryWrapper); |
|
|
|
|
if(Objects.isNull(packageEntity)) { |
|
|
|
|
log.error("############oid 查询数据失败: {}",orderPackageCode); |
|
|
|
|
return orderPackageCode; |
|
|
|
|
} |
|
|
|
|
packageEntity.setPackageStatus(5); |
|
|
|
|
factoryPackageService.updateById(packageEntity); |
|
|
|
|
|
|
|
|
|
JSONObject jo = new JSONObject(); |
|
|
|
|
jo.put("orderPackageCode",orderPackageCode); |
|
|
|
|
jo.put("orderPackageCode",packageEntity.getCode()); |
|
|
|
|
jo.put("receivingTime",CommonUtil.dateToString(packageEntity.getUpdateTime())); |
|
|
|
|
|
|
|
|
|
//真正的处理需要的数据
|
|
|
|
|