Project

General

Profile

Actions

错误 #904

open

【新彩票 管理后台-接口】重复添加相同的代理配置信息,接口返回报错500

Added by 文婷 林 8 months ago.

Status:
新建
Priority:
普通
Assignee:
Start date:
06/27/2024
Due date:
% Done:

0%

Estimated time:
版本:

Description

现象:重复新增代理配置信息操作,接口返回报错
报错内容:{"success":false,"message":"org.springframework.dao.DuplicateKeyException: \n### Error updating database. Cause: java.sql.SQLIntegrityConstraintViolationException: Duplicate entry 'null1' for key 'lottery_agent_info.AGENT_ID'\n### The error may exist in org/jeecg/modules/lottery/agent/mapper/LotteryAgentInfoMapper.java (best guess)\n### The error may involve org.jeecg.modules.lottery.agent.mapper.LotteryAgentInfoMapper.insert-Inline\n### The error occurred while setting parameters\n### SQL: INSERT INTO lottery_agent_info ( AGENT_ID, AGENT_NAME, LOCK_FLAG, AUTH_KEY, SECRET_KEY, PUBLIC_KEY, REVISION, CREATE_BY, CREATE_TIME, UPDATE_BY, UPDATE_TIME ) VALUES ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ? )\n### Cause: java.sql.SQLIntegrityConstraintViolationException: Duplicate entry 'null1' for key 'lottery_agent_info.AGENT_ID'\n; Duplicate entry 'null1' for key 'lottery_agent_info.AGENT_ID'; nested exception is java.sql.SQLIntegrityConstraintViolationException: Duplicate entry 'null1' for key 'lottery_agent_info.AGENT_ID'","code":500,"result":null,"timestamp":1719471088820}

环境信息:彩票管理后台http://192.168.3.127:3013/
复现步骤 : 1、进入彩票管理后台,添加1个代理信息配置'agentAccount': 'agent_test1', 'agentId': 'null1'
2、重复添加代理配置'agentAccount': 'agent_test1', 'agentId': 'null1'
时间:2024-06-27 14:45:22


Files

clipboard-202406271703-pb4gk.png (122 KB) clipboard-202406271703-pb4gk.png 文婷 林, 06/27/2024 09:03 AM

No data to display

Actions

Also available in: Atom PDF