demand: tms-扫描管理-发件扫描、到件扫描等扫描-扫描日志保存子单号,区分子单-主单 tms-客户管理-快件跟踪-日志记录-子单扫描拼接子单号做区分
committer: heyu
This commit is contained in:
parent
588b3d3a78
commit
84a9a6a490
@ -1841,7 +1841,7 @@ public class EmisTmsScanRecordServiceImpl extends EmisBaseService implements IEm
|
||||
String scanTypeLabel = DictUtils.getDictLabel("emis_scan_type", emisTmsScanRecord.getScanType());
|
||||
// 记录扫描操作日志
|
||||
recordWaybillOperLog(
|
||||
mainBillCode,
|
||||
scanBillCode,
|
||||
WaybillOperLogType.SITE_DO_SCAN,
|
||||
getCurrentUser().getEmpName(),
|
||||
getCurrentUser().getOwnerSiteName(),
|
||||
|
||||
@ -55,9 +55,23 @@ public class EmisWaybillOperLogServiceImpl implements IEmisWaybillOperLogService
|
||||
}
|
||||
|
||||
@Override
|
||||
public List<EmisWaybillOperLog> selectListByMainBillCode(String mainBillCode)
|
||||
{
|
||||
return emisWaybillOperLogMapper.selectListByMainBillCode(mainBillCode);
|
||||
public List<EmisWaybillOperLog> selectListByMainBillCode(String mainBillCode) {
|
||||
List<EmisWaybillOperLog> list = emisWaybillOperLogMapper.selectListByMainBillCode(mainBillCode);
|
||||
if (list != null && mainBillCode != null) {
|
||||
for (EmisWaybillOperLog log : list) {
|
||||
if (log != null && log.getBillCode() != null
|
||||
&& log.getBillCode().length() > mainBillCode.length()) {
|
||||
String opDesc = log.getOpDesc();
|
||||
if (opDesc == null) {
|
||||
opDesc = "子单" + log.getBillCode();
|
||||
} else {
|
||||
opDesc = opDesc + "-子单-" + log.getBillCode();
|
||||
}
|
||||
log.setOpDesc(opDesc);
|
||||
}
|
||||
}
|
||||
}
|
||||
return list;
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Loading…
Reference in New Issue
Block a user