傅行帆 5 years ago
parent
commit
13fc6cb6f7

+ 3
- 0
src/main/java/com/huiju/estateagents/service/impl/TaShareChildRecordServiceImpl.java View File

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