WMS3.9号修改
This commit is contained in:
@@ -24,6 +24,7 @@ import javax.annotation.Resource;
|
||||
import com.mhd.common.core.web.controller.BaseController;
|
||||
import com.mhd.common.core.web.domain.AjaxResult;
|
||||
import com.mhd.common.core.web.page.TableDataInfo;
|
||||
import com.mhd.common.core.exception.ServiceException;
|
||||
|
||||
/**
|
||||
* 业务单据Api
|
||||
@@ -70,8 +71,10 @@ public class BusinessDocumentApi extends BaseController{
|
||||
}else {
|
||||
return toAjax(businessDocumentApplicationService.insert(businessDocumentDO));
|
||||
}
|
||||
}catch (Exception e){
|
||||
return AjaxResult.error("保存业务单据失败" +e.getMessage());
|
||||
} catch (ServiceException e) {
|
||||
return AjaxResult.error(e.getMessage());
|
||||
} catch (Exception e){
|
||||
return AjaxResult.error("保存业务单据失败:" + e.getMessage());
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user