This commit is contained in:
linfso 2025-02-22 22:43:39 +08:00
parent a5a7df5787
commit 1fc01ac345

View File

@ -108,20 +108,14 @@ public class EmisCustomerInvoiceInfoController extends BaseController
@PostMapping
public AjaxResult add(@RequestBody EmisCustomerInvoiceInfo emisCustomerInvoiceInfo)
{
try {
return toAjax(emisCustomerInvoiceInfoService.insertEmisCustomerInvoiceInfo(emisCustomerInvoiceInfo));
}
catch (DuplicateKeyException e) {
e.printStackTrace();
return AjaxResult.error("公司重复");
}
}
catch (Exception ex){
throw ex;
// ex.printStackTrace();
// return AjaxResult.error("操作异常:",ex.getMessage());
}
}
/**