摘要:
try{ dao.inser(entity); } catch (Exception e){ if(e instanceof DuplicateKeyException){ return -2; }else { return -1; } 在service层中 public MessageModel 阅读全文
posted @ 2022-07-29 08:58
lwx_R
阅读(1111)
评论(0)
推荐(0)
摘要:
JDBC Type Java Type CHAR String VARCHAR String LONGVARCHAR String NUMERIC java.math.BigDecimal DECIMAL java.math.BigDecimal BIT boolean BOOLEAN boolea 阅读全文
posted @ 2022-07-29 08:53
lwx_R
阅读(48)
评论(0)
推荐(0)

浙公网安备 33010602011771号