demand: 客户账单查询-cpu飙升问题定位解决
committer: heyu
This commit is contained in:
parent
3af3a3d37c
commit
1caa0df5c1
@ -248,7 +248,7 @@ public class EmisTmsSiteBatchMissServiceImpl extends EmisBaseService implements
|
|||||||
|
|
||||||
// 3) 调用scanSiteBatchByWaybills重新扫描
|
// 3) 调用scanSiteBatchByWaybills重新扫描
|
||||||
if (!waybills.isEmpty()) {
|
if (!waybills.isEmpty()) {
|
||||||
this.scanSiteBatchByWaybills(waybills);
|
// this.scanSiteBatchByWaybills(waybills);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@ -509,7 +509,7 @@ public class EmisTmsSiteBatchServiceImpl extends EmisBaseService implements IEmi
|
|||||||
if (CollectionUtil.isEmpty(waybills)) {
|
if (CollectionUtil.isEmpty(waybills)) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
scanSiteBatchByWaybills(waybills);
|
// scanSiteBatchByWaybills(waybills);
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
|||||||
@ -157,32 +157,32 @@ public class EmisWaybillServiceImpl extends EmisBaseService implements IEmisWayb
|
|||||||
* @param emisWaybillSave
|
* @param emisWaybillSave
|
||||||
*/
|
*/
|
||||||
private void saveOrUpdateWaybillOther(EmisWaybill emisWaybillSave) {
|
private void saveOrUpdateWaybillOther(EmisWaybill emisWaybillSave) {
|
||||||
// if (emisWaybillSave == null || emisWaybillSave.getId() == null) {
|
if (emisWaybillSave == null || emisWaybillSave.getId() == null) {
|
||||||
// return;
|
return;
|
||||||
// }
|
}
|
||||||
//
|
|
||||||
// String salesSupport = emisWaybillSave.getSalesSupport();
|
String salesSupport = emisWaybillSave.getSalesSupport();
|
||||||
// String billCode = emisWaybillSave.getBillCode();
|
String billCode = emisWaybillSave.getBillCode();
|
||||||
// Long waybillId = emisWaybillSave.getId();
|
Long waybillId = emisWaybillSave.getId();
|
||||||
//
|
|
||||||
// // 查询是否已存在
|
// 查询是否已存在
|
||||||
// EmisWaybillOther existing = emisWaybillOtherMapper.selectEmisWaybillOtherByWaybillId(waybillId);
|
EmisWaybillOther existing = emisWaybillOtherMapper.selectEmisWaybillOtherByWaybillId(waybillId);
|
||||||
//
|
|
||||||
// if (existing != null) {
|
if (existing != null) {
|
||||||
// // 更新
|
// 更新
|
||||||
// existing.setSalesSupport(salesSupport);
|
existing.setSalesSupport(salesSupport);
|
||||||
// existing.setBillCode(billCode);
|
existing.setBillCode(billCode);
|
||||||
// existing.preUpdate();
|
existing.preUpdate();
|
||||||
// emisWaybillOtherMapper.updateEmisWaybillOther(existing);
|
emisWaybillOtherMapper.updateEmisWaybillOther(existing);
|
||||||
// } else {
|
} else {
|
||||||
// // 新增
|
// 新增
|
||||||
// EmisWaybillOther waybillOtherEntity = new EmisWaybillOther();
|
EmisWaybillOther waybillOtherEntity = new EmisWaybillOther();
|
||||||
// waybillOtherEntity.setWaybillId(waybillId);
|
waybillOtherEntity.setWaybillId(waybillId);
|
||||||
// waybillOtherEntity.setBillCode(billCode);
|
waybillOtherEntity.setBillCode(billCode);
|
||||||
// waybillOtherEntity.setSalesSupport(salesSupport);
|
waybillOtherEntity.setSalesSupport(salesSupport);
|
||||||
// waybillOtherEntity.preInsert();
|
waybillOtherEntity.preInsert();
|
||||||
// emisWaybillOtherMapper.insertEmisWaybillOther(waybillOtherEntity);
|
emisWaybillOtherMapper.insertEmisWaybillOther(waybillOtherEntity);
|
||||||
// }
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user