Browse Source

添加节点类型、标签等

master
陈裕财 4 years ago
parent
commit
377c54ce92
  1. 4
      xm-core/src/main/java/com/xm/core/ctrl/XmQuestionController.java
  2. 3
      xm-core/src/main/java/com/xm/core/service/XmQuestionService.java
  3. 2
      xm-core/src/main/resources/mybatis/mapper/xm/core/dao/XmProjectStateMapper.xml

4
xm-core/src/main/java/com/xm/core/ctrl/XmQuestionController.java

@ -271,8 +271,6 @@ public class XmQuestionController {
return m; return m;
} }
/**
@ApiOperation( value = "根据主键列表批量删除xm_question信息",notes="batchDelXmQuestion,仅需要上传主键字段") @ApiOperation( value = "根据主键列表批量删除xm_question信息",notes="batchDelXmQuestion,仅需要上传主键字段")
@ApiResponses({ @ApiResponses({
@ApiResponse(code = 200, message = "{tips:{isOk:true/false,msg:'成功/失败原因',tipscode:'失败时错误码'}") @ApiResponse(code = 200, message = "{tips:{isOk:true/false,msg:'成功/失败原因',tipscode:'失败时错误码'}")
@ -293,7 +291,7 @@ public class XmQuestionController {
m.put("tips", tips); m.put("tips", tips);
return m; return m;
} }
*/

3
xm-core/src/main/java/com/xm/core/service/XmQuestionService.java

@ -49,9 +49,10 @@ public class XmQuestionService extends BaseService {
xmQuestionVo.setId(this.createKey("id")); xmQuestionVo.setId(this.createKey("id"));
} }
xmQuestionVo.setCreateTime(new Date()); xmQuestionVo.setCreateTime(new Date());
xmQuestionVo.setLtime(new Date());
XmQuestion xmQuestion = new XmQuestion(); XmQuestion xmQuestion = new XmQuestion();
BeanUtils.copyProperties(xmQuestionVo,xmQuestion); BeanUtils.copyProperties(xmQuestionVo,xmQuestion);
xmQuestion.setBugStatus("active");
xmQuestion.setBugStatus("1");
this.insert(xmQuestion); this.insert(xmQuestion);
XmQuestionHandle handle=new XmQuestionHandle(); XmQuestionHandle handle=new XmQuestionHandle();

2
xm-core/src/main/resources/mybatis/mapper/xm/core/dao/XmProjectStateMapper.xml

@ -11,7 +11,7 @@
( #{item}) ( #{item})
</foreach> </foreach>
</if> </if>
<if test="key != null and key !='' "> </if>
<if test="key != null and key !='' "> and (res.project_id = #{key} or res.project_name like concat('%',#{key},'%') ) </if>
</sql> </sql>
<update id="loadTasksToXmProjectState" parameterType="String" statementType="CALLABLE"> <update id="loadTasksToXmProjectState" parameterType="String" statementType="CALLABLE">
{call load_tasks_to_xm_project_state(#{projectId,mode=IN})} {call load_tasks_to_xm_project_state(#{projectId,mode=IN})}

Loading…
Cancel
Save