md
This commit is contained in:
parent
ed3aa8b0f6
commit
dcc0d5e8ef
@ -137,17 +137,16 @@ public class WaybillController extends BaseController
|
||||
}
|
||||
}
|
||||
|
||||
@Log(title = "Excel草稿方式下单", businessType = BusinessType.INSERT)
|
||||
@Log(title = "OMSExcel草稿方式下单", businessType = BusinessType.INSERT)
|
||||
@PostMapping(value = "/draftSubmitOrderByOms")
|
||||
public AjaxResult draftSubmitOrderByOms(@RequestBody EmisWaybill emisWaybillSave)
|
||||
{
|
||||
|
||||
JSONObject jObjOut = new JSONObject();
|
||||
String result="success";
|
||||
String msg="下单成功";
|
||||
try {
|
||||
|
||||
emisWaybillService.draftSubmitOrder(emisWaybillSave);
|
||||
emisWaybillService.draftSubmitOrder(emisWaybillSave,true);
|
||||
jObjOut.put("billDetail", emisWaybillSave);
|
||||
|
||||
}catch(EmisBizError ex){
|
||||
@ -171,7 +170,6 @@ public class WaybillController extends BaseController
|
||||
if(ex instanceof EmisBizError){
|
||||
msg=((EmisBizError)ex).getErrorCode()+":"+ex.getMessage();
|
||||
}
|
||||
|
||||
}
|
||||
jObjOut.put("result", result);
|
||||
jObjOut.put("msg", msg);
|
||||
|
||||
Loading…
Reference in New Issue
Block a user