项目

一般

简介

错误 #14349

项目管理—新增项目—重复提交系统直接异常

由 齐贝 在 超过 2 年 之前添加. 更新于 大约 2 年 之前.

状态:
已关闭
优先级:
指派给:
开始日期:
2021-11-04
计划完成日期:
% 完成:

0%

预期时间:
严重等级:
Major
问题所属模块:
项目管理
问题类型:

描述

接口路径: /api/meos/EMS_SaaS_Web/Spring/MVC/entrance/unifier/saveProjectService
问题描述: 新增项目—重复提交系统直接异常

步骤:

{
"groupCode": "BR",
"puser": {
"userId": "PERSAGYADMIN",
"loginDevice": "PC",
"pd": "e10adc3949ba59abbe56e057f20f883e"
},
"projectId": "Pj1120981231",
"projectLocalID": "1120981231",
"projectLocalName": "编辑项目名称TestlF7V58755",
"businessOpeningTime": "20220322",
"projectName": "编辑项目TestlF7V58755",
"province": "110000",
"city": "110100",
"partition": "110102",
"longitude": "14.25",
"latitude": "45",
"climateZone": "10",
"urbanDevpLev": "1120",
"detailAddress":"this is test address",
"functionType": "BFT-01.20.00",
"groupManageZone": "BR",
"liveStatus": "0"
}

期望:
程序应处理重复请求

实际:
系统抛异常

response:
{"content":[],"reason":"{\"message\":\"\n### Error updating database. Cause: com.mysql.jdbc.exceptions.jdbc4.MySQLIntegrityConstraintViolationException: Duplicate entry 'Pj1120981231' for key 'PRIMARY'\n### The error may exist in class path resource [mapping/ProjectStateMapper.xml]\n### The error may involve com.persagy.dao.mapper.ProjectStateMapper.insert-Inline\n### The error occurred while setting parameters\n### SQL: insert into t_project (c_project_id, c_state, c_create_time, c_update_time,group_code) values (?, ?, ?, ?,?)\n### Cause: com.mysql.jdbc.exceptions.jdbc4.MySQLIntegrityConstraintViolationException: Duplicate entry 'Pj1120981231' for key 'PRIMARY'\n; Duplicate entry 'Pj1120981231' for key 'PRIMARY'; nested exception is com.mysql.jdbc.exceptions.jdbc4.MySQLIntegrityConstraintViolationException: Duplicate entry 'Pj1120981231' for key 'PRIMARY'\"}","result":"failure","version":"1.0"}

历史记录

#1

由 齐贝 更新于 超过 2 年 之前

  • 指派给 被设置为 汪存文
#2

由 齐贝 更新于 大约 2 年 之前

  • 描述 已更新。 (diff)
  • 指派给汪存文 变更为 衡茜
  • 目标版本 被设置为 接口优化版本V2.4.0
#3

衡茜 更新于 大约 2 年 之前

  • 状态新建 变更为 进行中

之前确定是中台有问题,目前测试环境的中台好像好了
开发环境一直没有这个问题

#4

衡茜 更新于 大约 2 年 之前

  • 状态进行中 变更为 已解决

环境问题

#5

由 齐贝 更新于 大约 2 年 之前

  • 状态已解决 变更为 已关闭

导出 Atom PDF