Browse Source

修改统计时间最新的五条

tags/v1.0.0^2
chengwang 1 year ago
parent
commit
0384f2a648
2 changed files with 6 additions and 0 deletions
  1. +1
    -0
      tuoheng-service/tuoheng-miniprogram/src/main/java/com/tuoheng/miniprogram/service/impl/WorkOrderServiceImpl.java
  2. +5
    -0
      tuoheng-service/tuoheng-miniprogram/src/main/java/com/tuoheng/miniprogram/vo/WorkOrderHandleVo.java

+ 1
- 0
tuoheng-service/tuoheng-miniprogram/src/main/java/com/tuoheng/miniprogram/service/impl/WorkOrderServiceImpl.java View File

QuestionType questionType = questionTypeMapper.selectById(t.getQuestionId()); QuestionType questionType = questionTypeMapper.selectById(t.getQuestionId());
if (ObjectUtil.isNotNull(questionType)) { if (ObjectUtil.isNotNull(questionType)) {
vo.setType(questionType.getName()); vo.setType(questionType.getName());
vo.setContent(questionType.getContent());
} }
return vo; return vo;



+ 5
- 0
tuoheng-service/tuoheng-miniprogram/src/main/java/com/tuoheng/miniprogram/vo/WorkOrderHandleVo.java View File

*/ */
private Integer type; private Integer type;


/**
* 问题内容
*/
private String content;

/** /**
* 问题图片 缩略图 * 问题图片 缩略图
*/ */

Loading…
Cancel
Save