傅行帆 5 vuotta sitten
vanhempi
commit
13fc6cb6f7

+ 3
- 0
src/main/java/com/huiju/estateagents/service/impl/TaShareChildRecordServiceImpl.java Näytä tiedosto

180
             taShareRecord.setVerificationCode(String.valueOf(taShareRecord.getRecordId()+System.currentTimeMillis()));
180
             taShareRecord.setVerificationCode(String.valueOf(taShareRecord.getRecordId()+System.currentTimeMillis()));
181
             taShareRecord.setVerificationStatus(CommConstant.STATUS_UNACCALIMED);
181
             taShareRecord.setVerificationStatus(CommConstant.STATUS_UNACCALIMED);
182
             taShareRecord.setStatus(CommConstant.STATUS_UNACCALIMED);
182
             taShareRecord.setStatus(CommConstant.STATUS_UNACCALIMED);
183
+            taShareRecord.setEndTime(LocalDateTime.now());
183
         }
184
         }
184
         tashareRecordmapper.updateById(taShareRecord);
185
         tashareRecordmapper.updateById(taShareRecord);
185
         Map<String,Object> map = new HashMap<>();
186
         Map<String,Object> map = new HashMap<>();
223
      * @param groupActivityId
224
      * @param groupActivityId
224
      */
225
      */
225
     private void changeChildRecord(Integer recordId, Integer orgId, Integer groupActivityId) {
226
     private void changeChildRecord(Integer recordId, Integer orgId, Integer groupActivityId) {
227
+        LocalDateTime dateTime = LocalDateTime.now();
226
         QueryWrapper<TaShareChildRecord> taShareChildRecordQueryWrapper = new QueryWrapper<>();
228
         QueryWrapper<TaShareChildRecord> taShareChildRecordQueryWrapper = new QueryWrapper<>();
227
         taShareChildRecordQueryWrapper.eq("record_id",recordId);
229
         taShareChildRecordQueryWrapper.eq("record_id",recordId);
228
         taShareChildRecordQueryWrapper.eq("org_id",orgId);
230
         taShareChildRecordQueryWrapper.eq("org_id",orgId);
232
             e.setVerificationCode(String.valueOf(e.getChildRecordId()+System.currentTimeMillis()));
234
             e.setVerificationCode(String.valueOf(e.getChildRecordId()+System.currentTimeMillis()));
233
             e.setVerificationStatus(CommConstant.STATUS_UNACCALIMED);
235
             e.setVerificationStatus(CommConstant.STATUS_UNACCALIMED);
234
             e.setStatus(CommConstant.STATUS_UNACCALIMED);
236
             e.setStatus(CommConstant.STATUS_UNACCALIMED);
237
+            e.setEndTime(dateTime);
235
         });
238
         });
236
         this.updateBatchById(shareChildRecordList);
239
         this.updateBatchById(shareChildRecordList);
237
     }
240
     }