Commit be50f4b115972e17726d0c5e6930e2902f19f914

Authored by changpengfei
1 parent 071fc32041
Exists in master

聊天记录+结束问诊

Showing 1 changed file with 2 additions and 0 deletions

talkonlineweb/src/main/java/com/lyms/talkonlineweb/controller/CommonController.java View file @ be50f4b
... ... @@ -11,6 +11,7 @@
11 11 import org.springframework.web.bind.annotation.RestController;
12 12  
13 13 import java.util.Collections;
  14 +import java.util.Date;
14 15 import java.util.List;
15 16  
16 17 @RestController
... ... @@ -28,6 +29,7 @@
28 29 if (tLst.size()>0){
29 30 tkrecord=tLst.get(0);
30 31 tkrecord.setStat(1);
  32 + tkrecord.setUpdatedtime(new Date());
31 33 boolean f=lymsTkrecordService.save(tkrecord);
32 34 baseResponse.setErrorcode(f==true?0:1);
33 35 }