|
|
|
@ -1690,6 +1690,10 @@ public class DistrilbutionBillLadingServiceImpl extends BaseServiceImpl<Distrilb
|
|
|
|
|
|
|
|
|
|
@Override |
|
|
|
|
public DistrilbutionBillLadingVO listNum(Map<String, Object> distrilbutionBillLading) { |
|
|
|
|
BasicdataWarehouseEntity myCurrentWarehouse = warehouseClient.getMyCurrentWarehouse(); |
|
|
|
|
if(ObjectUtils.isNotNull(myCurrentWarehouse)){ |
|
|
|
|
distrilbutionBillLading.put("warehouse_id",myCurrentWarehouse.getId()); |
|
|
|
|
} |
|
|
|
|
DistrilbutionBillLadingDTO billLadingEntity = JSONObject.parseObject(JSONObject.toJSONString(distrilbutionBillLading), DistrilbutionBillLadingDTO.class); |
|
|
|
|
|
|
|
|
|
DistrilbutionBillLadingVO billLadingVO = baseMapper.getBillLadingNum(billLadingEntity); //查询
|
|
|
|
@ -1698,7 +1702,7 @@ public class DistrilbutionBillLadingServiceImpl extends BaseServiceImpl<Distrilb
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
/** |
|
|
|
|
* 查询详细信息 |
|
|
|
|
* 查询详细信息 1 2 3 4 5 6 7 8 9 |
|
|
|
|
* |
|
|
|
|
* @param id |
|
|
|
|
* @return |
|
|
|
@ -2125,16 +2129,15 @@ public class DistrilbutionBillLadingServiceImpl extends BaseServiceImpl<Distrilb
|
|
|
|
|
list2.add(distributionPrintEntity); |
|
|
|
|
}); |
|
|
|
|
distributionPrintService.saveBatch(list2); |
|
|
|
|
} |
|
|
|
|
//修改数据
|
|
|
|
|
if(ObjectUtils.isNotNull(billLadingAppDTO.getRemark())){ |
|
|
|
|
DistrilbutionBillLadingEntity billLadingEntity = new DistrilbutionBillLadingEntity(); |
|
|
|
|
billLadingEntity.setId(billLadingAppDTO.getBillLadingId()); |
|
|
|
|
billLadingEntity.setRemark(billLadingAppDTO.getRemark()); |
|
|
|
|
baseMapper.updateById(billLadingEntity); |
|
|
|
|
if(ObjectUtils.isNotNull(billLadingAppDTO.getRemark())){ |
|
|
|
|
DistrilbutionBillLadingEntity billLadingEntity = new DistrilbutionBillLadingEntity(); |
|
|
|
|
billLadingEntity.setId(billLadingAppDTO.getBillLadingId()); |
|
|
|
|
billLadingEntity.setRemark(billLadingAppDTO.getRemark()); |
|
|
|
|
baseMapper.updateById(billLadingEntity); |
|
|
|
|
} |
|
|
|
|
return R.status(true); |
|
|
|
|
} |
|
|
|
|
return R.status(false); |
|
|
|
|
return R.status(false); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
/** |
|
|
|
|