Browse Source

Merge remote-tracking branch 'origin/develop' into develop

tags/v1.1.0^2
chenjiandong 1 year ago
parent
commit
80fd5f40f2
3 changed files with 9 additions and 1 deletions
  1. +0
    -1
      tuoheng-admin/src/main/java/com/tuoheng/admin/entity/request/WorkOrderQuestionRequest.java
  2. +7
    -0
      tuoheng-admin/src/main/java/com/tuoheng/admin/entity/vo/WorkOrderQuestionVO.java
  3. +2
    -0
      tuoheng-admin/src/main/resources/mapper/WorkOrderMapper.xml

+ 0
- 1
tuoheng-admin/src/main/java/com/tuoheng/admin/entity/request/WorkOrderQuestionRequest.java View File

*/ */
private String questionType; private String questionType;



/** /**
* 问题状态:0待处理 1已处理 * 问题状态:0待处理 1已处理
*/ */

+ 7
- 0
tuoheng-admin/src/main/java/com/tuoheng/admin/entity/vo/WorkOrderQuestionVO.java View File

@Data @Data
public class WorkOrderQuestionVO { public class WorkOrderQuestionVO {


private String type;

/** /**
* 问题类型名称 * 问题类型名称
*/ */
*/ */
private Integer handlerUser; private Integer handlerUser;


/**
* 处理后图片(多个图片逗号“,”分隔)
*/
private String handlerImage;

/** /**
* 处理人员名称 * 处理人员名称
*/ */

+ 2
- 0
tuoheng-admin/src/main/resources/mapper/WorkOrderMapper.xml View File



<select id="questionPage" resultType="com.tuoheng.admin.entity.vo.WorkOrderQuestionVO"> <select id="questionPage" resultType="com.tuoheng.admin.entity.vo.WorkOrderQuestionVO">
SELECT SELECT
q.type,
q.question_name AS questionName, q.question_name AS questionName,
q.file_original_url AS fileOriginalUrl, q.file_original_url AS fileOriginalUrl,
q.file_marker_url AS fileMarkerUrl, q.file_marker_url AS fileMarkerUrl,
woq.`status` AS status, woq.`status` AS status,
q.create_time AS createTime, q.create_time AS createTime,
qh.handler_user AS handlerUser, qh.handler_user AS handlerUser,
qh.handler_image AS handlerImage,
u.realname AS handlerUserName u.realname AS handlerUserName
FROM th_work_order wo FROM th_work_order wo
LEFT JOIN th_work_order_question woq on wo.id = woq.work_order_id LEFT JOIN th_work_order_question woq on wo.id = woq.work_order_id

Loading…
Cancel
Save