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