diff --git a/talkonlineweb/src/main/java/com/lyms/talkonlineweb/controller/CommonController.java b/talkonlineweb/src/main/java/com/lyms/talkonlineweb/controller/CommonController.java index 3b8c577..f40f62a 100644 --- a/talkonlineweb/src/main/java/com/lyms/talkonlineweb/controller/CommonController.java +++ b/talkonlineweb/src/main/java/com/lyms/talkonlineweb/controller/CommonController.java @@ -11,6 +11,7 @@ import org.springframework.web.bind.annotation.RequestMapping; import org.springframework.web.bind.annotation.RestController; import java.util.Collections; +import java.util.Date; import java.util.List; @RestController @@ -28,6 +29,7 @@ public class CommonController { if (tLst.size()>0){ tkrecord=tLst.get(0); tkrecord.setStat(1); + tkrecord.setUpdatedtime(new Date()); boolean f=lymsTkrecordService.save(tkrecord); baseResponse.setErrorcode(f==true?0:1); }