Browse Source

修复bug

weiximei 6 years ago
parent
commit
3b84b7c81e

+ 1
- 0
CODE/smart-community/app-api/src/main/java/com/community/huiju/service/impl/TicketServiceImpl.java View File

143
             tpTicketVO.setStatus(recordList.get(recordList.size()-1).getStatus());
143
             tpTicketVO.setStatus(recordList.get(recordList.size()-1).getStatus());
144
             tpTicketVO.setTicketStatusName(recordList.get(recordList.size()-1).getTicketStatusName());
144
             tpTicketVO.setTicketStatusName(recordList.get(recordList.size()-1).getTicketStatusName());
145
             tpTicketVO.setTicketRecordDate(recordList.get(recordList.size()-1).getCreateDate());
145
             tpTicketVO.setTicketRecordDate(recordList.get(recordList.size()-1).getCreateDate());
146
+            tpTicketVO.setTicketStatusContent(recordList.get(recordList.size()-1).getContent());
146
             if (null != comment) {
147
             if (null != comment) {
147
                 tpTicketVO.setCommentContent(comment.getContent());
148
                 tpTicketVO.setCommentContent(comment.getContent());
148
                 tpTicketVO.setCommentCreateDate(comment.getCreateDate());
149
                 tpTicketVO.setCommentCreateDate(comment.getCreateDate());

+ 3
- 0
CODE/smart-community/app-api/src/main/java/com/community/huiju/vo/TpTicketVO.java View File

58
     /** 流程状态名称 **/
58
     /** 流程状态名称 **/
59
     private String ticketStatusName;
59
     private String ticketStatusName;
60
 
60
 
61
+    /** 流程状态内容 **/
62
+    private String ticketStatusContent;
63
+
61
     /** 流程状态时间 **/
64
     /** 流程状态时间 **/
62
     private Date ticketRecordDate;
65
     private Date ticketRecordDate;
63
 
66
 

+ 1
- 0
CODE/smart-community/app-api/src/main/resources/mapper/TpTicketRecordMapper.xml View File

122
         t.status,
122
         t.status,
123
         t.ticket_id AS ticketId,
123
         t.ticket_id AS ticketId,
124
         t.community_id AS communityId,
124
         t.community_id AS communityId,
125
+        t.content AS content,
125
         d.NAME AS ticketStatusName
126
         d.NAME AS ticketStatusName
126
     FROM
127
     FROM
127
         tp_ticket_record t
128
         tp_ticket_record t