作者 朱兆平

bug-fix:解决批量申报时没有通过报文字典校验的问题

Signed-off-by: mrz <17966059@qq.com>
... ... @@ -22,6 +22,7 @@ import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.stereotype.Service;
import org.springframework.util.ResourceUtils;
import org.springframework.util.StringUtils;
import org.thymeleaf.TemplateEngine;
import org.thymeleaf.context.Context;
import org.thymeleaf.exceptions.TemplateInputException;
... ... @@ -187,6 +188,9 @@ public class TransArriveExportImpl implements TransArriveExportService {
ResultJson resultJson = new ResultJson();
List<TRANSTOARRIVEEXPORT> list = selectListByAutoIDS(autoIDlist);
for (TRANSTOARRIVEEXPORT manifestAirChange : list) {
if (StringUtils.isEmpty(manifestAirChange.getOpertype())){
manifestAirChange.setOpertype("C");
}
resultJson = send(manifestAirChange);
/*if (!result){
message = message + manifestAirChange.getWaybillnomaster() +"发送失败\n";
... ...