Browse Source

1.修改了更新方法

verguenza 4 years ago
parent
commit
a89da23edd
1 changed files with 0 additions and 4 deletions
  1. 0 4
      src/main/java/com/galaxis/manatee/service/LogUpdateService.java

+ 0 - 4
src/main/java/com/galaxis/manatee/service/LogUpdateService.java

@@ -14,7 +14,6 @@ import com.galaxis.manatee.entity.chuanyun.dto.ChuanyunWeekMemberHourDTO;
 import lombok.extern.slf4j.Slf4j;
 import org.springframework.beans.BeanUtils;
 import org.springframework.data.domain.PageRequest;
-import org.springframework.scheduling.annotation.Async;
 import org.springframework.stereotype.Service;
 import org.springframework.util.StringUtils;
 
@@ -69,7 +68,6 @@ public class LogUpdateService {
      *
      * @param userId 用户ID
      */
-    @Async
     public void updateChuanyunSelfWorkHourListByUserId(String userId) {
         List<ChuanyunSelfWorkHourDO> updateList = chuanyunSelfWorkHourDao.findByUserId(userId);
         this.updateChuanyunSelfWorkHourList(updateList);
@@ -80,7 +78,6 @@ public class LogUpdateService {
      *
      * @param userId 用户ID
      */
-    @Async
     public void updateChuanyunWeekMemberHourListByUserId(String userId) {
         List<ChuanyunWeekMemberHourDO> updateList = chuanyunWeekMemberHourDao.findByUserId(userId);
         this.updateChuanyunWeekMemberHourList(updateList);
@@ -91,7 +88,6 @@ public class LogUpdateService {
      *
      * @param userId 用户ID
      */
-    @Async
     public void updateChuanyunSelfCostListByUserId(String userId) {
         List<ChuanyunSelfCostDO> updateList = chuanyunSelfCostDao.findByUserId(userId);
         this.updateChuanyunSelfCostList(updateList);