|
|
|
|
@ -68,6 +68,7 @@ public class SparePartsLedgerServiceImpl implements ISparePartsLedgerService {
|
|
|
|
|
//查询出入库总数
|
|
|
|
|
EquSparepartsInOut sparepartsInOut =new EquSparepartsInOut();
|
|
|
|
|
sparepartsInOut.setSpareCode(sparePartsLedgerList.get(i).getMaterialCode());
|
|
|
|
|
sparepartsInOut.setParams(sparePartsLedger.getParams());
|
|
|
|
|
sparepartsInOut=equSparepartsInOutMapper.selectEquSparepartsInOutListSum(sparepartsInOut);
|
|
|
|
|
// 设置入库记录(带非空判断)
|
|
|
|
|
if(sparepartsInOut != null && sparepartsInOut.getInAmount() != null) {
|
|
|
|
|
|