md
This commit is contained in:
parent
a5a7df5787
commit
1fc01ac345
@ -108,20 +108,14 @@ public class EmisCustomerInvoiceInfoController extends BaseController
|
|||||||
@PostMapping
|
@PostMapping
|
||||||
public AjaxResult add(@RequestBody EmisCustomerInvoiceInfo emisCustomerInvoiceInfo)
|
public AjaxResult add(@RequestBody EmisCustomerInvoiceInfo emisCustomerInvoiceInfo)
|
||||||
{
|
{
|
||||||
|
|
||||||
try {
|
try {
|
||||||
return toAjax(emisCustomerInvoiceInfoService.insertEmisCustomerInvoiceInfo(emisCustomerInvoiceInfo));
|
return toAjax(emisCustomerInvoiceInfoService.insertEmisCustomerInvoiceInfo(emisCustomerInvoiceInfo));
|
||||||
}
|
}
|
||||||
catch (DuplicateKeyException e) {
|
catch (DuplicateKeyException e) {
|
||||||
e.printStackTrace();
|
e.printStackTrace();
|
||||||
return AjaxResult.error("公司重复");
|
return AjaxResult.error("公司重复");
|
||||||
|
}
|
||||||
|
|
||||||
}
|
|
||||||
catch (Exception ex){
|
|
||||||
throw ex;
|
|
||||||
// ex.printStackTrace();
|
|
||||||
// return AjaxResult.error("操作异常:",ex.getMessage());
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user