Commit 6ddc39b4 by anxiaohe

Merge remote-tracking branch 'origin/master'

parents 16ee55f9 9afacc00
...@@ -199,6 +199,7 @@ public class ProfitWarehousingService extends CrudService<ProfitWarehousingMappe ...@@ -199,6 +199,7 @@ public class ProfitWarehousingService extends CrudService<ProfitWarehousingMappe
//盘盈入库 保存 盘盈入库信息 ,并添加对应的台账信息 //盘盈入库 保存 盘盈入库信息 ,并添加对应的台账信息
@Transactional(readOnly = false) @Transactional(readOnly = false)
public void inLedgerInfo(ProfitWarehousingInfo profitWarehousingInfo) { public void inLedgerInfo(ProfitWarehousingInfo profitWarehousingInfo) {
profitWarehousingInfo = profitWarehousingInfoMapper.get(profitWarehousingInfo.getId());
QrCode qrCode = qrCodeService.get(profitWarehousingInfo.getQrCode().getId()); QrCode qrCode = qrCodeService.get(profitWarehousingInfo.getQrCode().getId());
Ledger ledger = new Ledger(profitWarehousingInfo.getType()); Ledger ledger = new Ledger(profitWarehousingInfo.getType());
Ledger oldLeger = ledgerMapper.findByType(ledger); Ledger oldLeger = ledgerMapper.findByType(ledger);
...@@ -213,6 +214,8 @@ public class ProfitWarehousingService extends CrudService<ProfitWarehousingMappe ...@@ -213,6 +214,8 @@ public class ProfitWarehousingService extends CrudService<ProfitWarehousingMappe
ledgerInfo.setQr(qrCode); ledgerInfo.setQr(qrCode);
//货架id //货架id
ledgerInfo.setShelvesIds(profitWarehousingInfo.getShelvesIds()); ledgerInfo.setShelvesIds(profitWarehousingInfo.getShelvesIds());
//仓库id
ledgerInfo.setWarehouseIds(profitWarehousingInfo.getWarehouseIds());
//盘盈入库单编码 //盘盈入库单编码
ledgerInfo.setBatchNum(profitWarehousingInfo.getProfitWarehousing().getNumber()); ledgerInfo.setBatchNum(profitWarehousingInfo.getProfitWarehousing().getNumber());
//单价 //单价
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment