代码更新
This commit is contained in:
@@ -456,6 +456,16 @@ public class InAndOutRetrunServiceImpl implements InAndOutReturnService {
|
|||||||
// 1.回传sap
|
// 1.回传sap
|
||||||
JSONArray paramSapMstArr = new JSONArray();
|
JSONArray paramSapMstArr = new JSONArray();
|
||||||
|
|
||||||
|
String estimated_freight = jo_mst.getString("estimated_freight");
|
||||||
|
String trans_code = jo_mst.getString("trans_code");
|
||||||
|
|
||||||
|
if (ObjectUtil.isEmpty(estimated_freight)) {
|
||||||
|
throw new BadRequestException("运费不能为空");
|
||||||
|
}
|
||||||
|
if (ObjectUtil.isEmpty(trans_code)) {
|
||||||
|
throw new BadRequestException("物流公司不能为空");
|
||||||
|
}
|
||||||
|
|
||||||
JSONObject paramSapMst = new JSONObject();
|
JSONObject paramSapMst = new JSONObject();
|
||||||
paramSapMst.put("ZACTION", "P");
|
paramSapMst.put("ZACTION", "P");
|
||||||
paramSapMst.put("BUDAT", jo_mst.getString("biz_date"));
|
paramSapMst.put("BUDAT", jo_mst.getString("biz_date"));
|
||||||
@@ -921,6 +931,16 @@ public class InAndOutRetrunServiceImpl implements InAndOutReturnService {
|
|||||||
// 1.回传sap
|
// 1.回传sap
|
||||||
JSONArray paramSapMstArr = new JSONArray();
|
JSONArray paramSapMstArr = new JSONArray();
|
||||||
|
|
||||||
|
String estimated_freight = jo_mst.getString("estimated_freight");
|
||||||
|
String trans_code = jo_mst.getString("trans_code");
|
||||||
|
|
||||||
|
if (ObjectUtil.isEmpty(estimated_freight)) {
|
||||||
|
throw new BadRequestException("运费不能为空");
|
||||||
|
}
|
||||||
|
if (ObjectUtil.isEmpty(trans_code)) {
|
||||||
|
throw new BadRequestException("物流公司不能为空");
|
||||||
|
}
|
||||||
|
|
||||||
JSONObject paramSapMst = new JSONObject();
|
JSONObject paramSapMst = new JSONObject();
|
||||||
paramSapMst.put("ZACTION", "P");
|
paramSapMst.put("ZACTION", "P");
|
||||||
paramSapMst.put("BUDAT", jo_mst.getString("biz_date"));
|
paramSapMst.put("BUDAT", jo_mst.getString("biz_date"));
|
||||||
|
|||||||
Reference in New Issue
Block a user