Browse Source

生成产品项目关联关系表

生成迭代与产品关联关系表
master
陈裕财 5 years ago
parent
commit
86930d9667
  1. 9
      xm-core/src/main/java/com/xm/core/ctrl/XmIterationProductLinkController.java
  2. 8
      xm-core/src/main/java/com/xm/core/ctrl/XmProductProjectLinkController.java

9
xm-core/src/main/java/com/xm/core/ctrl/XmIterationProductLinkController.java

@ -74,7 +74,7 @@ public class XmIterationProductLinkController {
/**
@ApiOperation( value = "新增一条迭代表与产品表的关联关系,一般由迭代管理员将迭代挂接到产品表信息",notes=" ") @ApiOperation( value = "新增一条迭代表与产品表的关联关系,一般由迭代管理员将迭代挂接到产品表信息",notes=" ")
@ApiResponses({ @ApiResponses({
@ApiResponse(code = 200,response=XmIterationProductLink.class,message = "{tips:{isOk:true/false,msg:'成功/失败原因',tipscode:'失败时错误码'},data:数据对象}") @ApiResponse(code = 200,response=XmIterationProductLink.class,message = "{tips:{isOk:true/false,msg:'成功/失败原因',tipscode:'失败时错误码'},data:数据对象}")
@ -95,7 +95,7 @@ public class XmIterationProductLinkController {
} }
if(createPk==false){ if(createPk==false){
if(xmIterationProductLinkService.selectOneObject(xmIterationProductLink) !=null ){ if(xmIterationProductLinkService.selectOneObject(xmIterationProductLink) !=null ){
tips.setFailureMsg("编号重复,请修改编号再提交");
tips.setFailureMsg("该产品已经在迭代中,无需再添加");
m.put("tips", tips); m.put("tips", tips);
return m; return m;
} }
@ -112,9 +112,7 @@ public class XmIterationProductLinkController {
m.put("tips", tips); m.put("tips", tips);
return m; return m;
} }
*/
/**
@ApiOperation( value = "删除一条迭代表与产品表的关联关系,一般由迭代管理员将迭代挂接到产品表信息",notes=" ") @ApiOperation( value = "删除一条迭代表与产品表的关联关系,一般由迭代管理员将迭代挂接到产品表信息",notes=" ")
@ApiResponses({ @ApiResponses({
@ApiResponse(code = 200, message = "{tips:{isOk:true/false,msg:'成功/失败原因',tipscode:'失败时错误码'}}") @ApiResponse(code = 200, message = "{tips:{isOk:true/false,msg:'成功/失败原因',tipscode:'失败时错误码'}}")
@ -135,7 +133,6 @@ public class XmIterationProductLinkController {
m.put("tips", tips); m.put("tips", tips);
return m; return m;
} }
*/
/** /**
@ApiOperation( value = "根据主键修改一条迭代表与产品表的关联关系,一般由迭代管理员将迭代挂接到产品表信息",notes=" ") @ApiOperation( value = "根据主键修改一条迭代表与产品表的关联关系,一般由迭代管理员将迭代挂接到产品表信息",notes=" ")

8
xm-core/src/main/java/com/xm/core/ctrl/XmProductProjectLinkController.java

@ -73,8 +73,7 @@ public class XmProductProjectLinkController {
} }
/**
@ApiOperation( value = "新增一条产品与项目的关联关系表,一般由产品经理挂接项目到产品上信息",notes=" ") @ApiOperation( value = "新增一条产品与项目的关联关系表,一般由产品经理挂接项目到产品上信息",notes=" ")
@ApiResponses({ @ApiResponses({
@ApiResponse(code = 200,response=XmProductProjectLink.class,message = "{tips:{isOk:true/false,msg:'成功/失败原因',tipscode:'失败时错误码'},data:数据对象}") @ApiResponse(code = 200,response=XmProductProjectLink.class,message = "{tips:{isOk:true/false,msg:'成功/失败原因',tipscode:'失败时错误码'},data:数据对象}")
@ -108,9 +107,7 @@ public class XmProductProjectLinkController {
m.put("tips", tips); m.put("tips", tips);
return m; return m;
} }
*/
/**
@ApiOperation( value = "删除一条产品与项目的关联关系表,一般由产品经理挂接项目到产品上信息",notes=" ") @ApiOperation( value = "删除一条产品与项目的关联关系表,一般由产品经理挂接项目到产品上信息",notes=" ")
@ApiResponses({ @ApiResponses({
@ApiResponse(code = 200, message = "{tips:{isOk:true/false,msg:'成功/失败原因',tipscode:'失败时错误码'}}") @ApiResponse(code = 200, message = "{tips:{isOk:true/false,msg:'成功/失败原因',tipscode:'失败时错误码'}}")
@ -131,7 +128,6 @@ public class XmProductProjectLinkController {
m.put("tips", tips); m.put("tips", tips);
return m; return m;
} }
*/
/** /**
@ApiOperation( value = "根据主键修改一条产品与项目的关联关系表,一般由产品经理挂接项目到产品上信息",notes=" ") @ApiOperation( value = "根据主键修改一条产品与项目的关联关系表,一般由产品经理挂接项目到产品上信息",notes=" ")

Loading…
Cancel
Save