#include <iostream>
using namespace std;
class Per
{//算术运算符friend const Per operator(const Per &k1,const Per &k2);friend const Per operator-(const Per &k1,const Per &k2);friend const Per operator*(const Per &k1,const Per &…
查询文章都类似,只是类型没有对应上,根据实际情况处理。
前情
使用postgresql数据库数据库ID类型int4实体类代码private Long id;
异常
### Cause: org.postgresql.util.PSQLException: ERROR: integer out of range
; ERROR: integer out of range;…