This commit is contained in:
linfso 2024-06-19 23:21:47 +08:00
parent fc73852c04
commit 956f1e75a7

View File

@ -1026,7 +1026,13 @@ public class EmisTmsScanRecordServiceImpl extends EmisBaseService implements IEm
throw new EmisBizError(EmisBizErrorType.PARAM_ERROR1,"问题类型,通知网点,问题原因必填");
}
emisTmsScanRecord.setRemark(remark);
// 需要记录大类及原因
String problemTypeName="";
EmisProblemType emisProblemType =getEmisProblemTypebyTypeId(Integer.valueOf(problemType));
if(emisProblemType!=null){
problemTypeName=emisProblemType.getTypeName();
}
emisTmsScanRecord.setRemark(problemTypeName);
// 登记问题件
EmisWaybillProblemInfo waybillProblemInfo = new EmisWaybillProblemInfo();