|
|
@@ -216,6 +216,7 @@ public class GEServiceImpl implements GEService {
|
|
|
Map<String,String> headerMap = new HashMap<>();
|
|
|
headerMap.put("user","WD");
|
|
|
headerMap.put("password","WD@test+1");
|
|
|
+ AsnDetDTO asnDetDTO = new AsnDetDTO();
|
|
|
AsnDTO aAsnDTO = new AsnDTO();
|
|
|
SqlRowList rs = baseDao.queryForRowSet("select as_transid,as_asnno,TO_CHAR(as_recorddate, 'yyyy-MM-dd hh24:mi:ss') as_recorddate,TO_CHAR(asd_senddate, 'yyyy-MM-dd hh24:mi:ss') asd_senddate, " +
|
|
|
"as_packtype,asd_fyqty,asd_invoice,asd_tycode,TO_CHAR(asd_arrivaldate, 'yyyy-MM-dd hh24:mi:ss') asd_arrivaldate,TO_CHAR(asd_lgdate, 'yyyy-MM-dd hh24:mi:ss') asd_lgdate,TO_CHAR(asd_dgdate, 'yyyy-MM-dd hh24:mi:ss') asd_dgdate," +
|
|
|
@@ -420,7 +421,8 @@ public class GEServiceImpl implements GEService {
|
|
|
|
|
|
|
|
|
}
|
|
|
- resultResponse = HuToolUtils.post(asnUrl,aAsnDTO,headerMap);
|
|
|
+ asnDetDTO.setASN(aAsnDTO);
|
|
|
+ resultResponse = HuToolUtils.post(asnUrl,asnDetDTO,headerMap);
|
|
|
|
|
|
logger.info("推送发货信息到歌尔,接口返回结果:{}",resultResponse);
|
|
|
return ApiResponse.successRsp("200", JSON.toJSONString(resultResponse));
|