md
This commit is contained in:
parent
bd54ba7f99
commit
06bbad8098
@ -2014,9 +2014,19 @@ public class EmisBaseService {
|
|||||||
waybill.preUpdate();
|
waybill.preUpdate();
|
||||||
emisWaybillMapper.updateProblemStatus(waybill);
|
emisWaybillMapper.updateProblemStatus(waybill);
|
||||||
|
|
||||||
|
// 重新计算信用额度 173,170,151
|
||||||
|
Integer typeId = emisProblemType.getId();
|
||||||
|
if(typeId == 173 || typeId == 170 || typeId == 151) {
|
||||||
|
try {
|
||||||
|
adjustUseQuotaCredit(oldEmisWaybill, null);
|
||||||
|
} catch (EmisBizError emisBizError) {
|
||||||
|
log.error("问题件信用额度计算失败");
|
||||||
|
emisBizError.printStackTrace();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
// 判断是否需要发问题件短信
|
// 判断是否需要发问题件短信
|
||||||
if( emisProblemType.getIsSendSms() == 1 ) {
|
if( emisProblemType.getIsSendSms() == 1 ) {
|
||||||
|
|
||||||
//发送寄件短信
|
//发送寄件短信
|
||||||
String content="尊敬的用户:您的运单${name}从${Sendingcountry}寄往${Receivingcountry}因${Problemtype}的问题导致货物时效延误预计送达时间${time},详询400-025-7080感谢您对探路速运的支持!";
|
String content="尊敬的用户:您的运单${name}从${Sendingcountry}寄往${Receivingcountry}因${Problemtype}的问题导致货物时效延误预计送达时间${time},详询400-025-7080感谢您对探路速运的支持!";
|
||||||
String sendingcountry=oldEmisWaybill.getSendCountryName();
|
String sendingcountry=oldEmisWaybill.getSendCountryName();
|
||||||
|
|||||||
@ -1583,8 +1583,7 @@ public class EmisTmsScanRecordServiceImpl extends EmisBaseService implements IEm
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
if(
|
if(!getCurrentUser().getOwnerSiteCode().equals(emisTmsPack.getCreateSite())
|
||||||
!getCurrentUser().getOwnerSiteCode().equals(emisTmsPack.getCreateSite())
|
|
||||||
&& !getCurrentUser().getOwnerSiteCode().equals(emisTmsPack.getNextSiteCode())
|
&& !getCurrentUser().getOwnerSiteCode().equals(emisTmsPack.getNextSiteCode())
|
||||||
){
|
){
|
||||||
scanResultItem.setResult("fail");
|
scanResultItem.setResult("fail");
|
||||||
@ -1628,7 +1627,6 @@ public class EmisTmsScanRecordServiceImpl extends EmisBaseService implements IEm
|
|||||||
// 插入扫描记录
|
// 插入扫描记录
|
||||||
addScanRecord(emisTmsScanRecord);
|
addScanRecord(emisTmsScanRecord);
|
||||||
|
|
||||||
|
|
||||||
// 更新合包运单扫描状态 ,拆包
|
// 更新合包运单扫描状态 ,拆包
|
||||||
emisTmsPackDtl.setBillCode(scanBillCode);
|
emisTmsPackDtl.setBillCode(scanBillCode);
|
||||||
emisTmsPackDtl.setPackStatus("0");
|
emisTmsPackDtl.setPackStatus("0");
|
||||||
@ -1880,7 +1878,6 @@ public class EmisTmsScanRecordServiceImpl extends EmisBaseService implements IEm
|
|||||||
itemList.add(scanResultItem);
|
itemList.add(scanResultItem);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
return itemList;
|
return itemList;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user