Commit 79d2da0006d025931060f37bf44052839c354069
1 parent
be50f4b115
Exists in
master
结束问诊
Showing 1 changed file with 4 additions and 0 deletions
talkonlineweb/src/main/java/com/lyms/talkonlineweb/controller/CommonController.java
View file @
79d2da0
| ... | ... | @@ -25,11 +25,15 @@ |
| 25 | 25 | BaseResponse baseResponse=new BaseResponse(); |
| 26 | 26 | tkrecord.setStat(0); |
| 27 | 27 | baseResponse.setErrorcode(1); |
| 28 | + int updateby=tkrecord.getUpdatedby(); | |
| 29 | + tkrecord.setUpdatedby(null); | |
| 30 | + | |
| 28 | 31 | List<LymsTkrecord> tLst=lymsTkrecordService.list(Wrappers.query(tkrecord)); |
| 29 | 32 | if (tLst.size()>0){ |
| 30 | 33 | tkrecord=tLst.get(0); |
| 31 | 34 | tkrecord.setStat(1); |
| 32 | 35 | tkrecord.setUpdatedtime(new Date()); |
| 36 | + tkrecord.setUpdatedby(updateby); | |
| 33 | 37 | boolean f=lymsTkrecordService.save(tkrecord); |
| 34 | 38 | baseResponse.setErrorcode(f==true?0:1); |
| 35 | 39 | } |