|
|
@ -45,6 +45,7 @@ import org.springframework.stereotype.Service; |
|
|
|
import org.springframework.transaction.annotation.Transactional; |
|
|
|
|
|
|
|
import javax.annotation.Resource; |
|
|
|
import java.util.Date; |
|
|
|
import java.util.List; |
|
|
|
import java.util.Map; |
|
|
|
import java.util.concurrent.atomic.AtomicInteger; |
|
|
@ -118,6 +119,12 @@ public class IcPartymemberStyleServiceImpl extends BaseServiceImpl<IcPartymember |
|
|
|
e.setStyleId(entity.getId()); |
|
|
|
e.setImageUrl(item); |
|
|
|
e.setSort(i.getAndIncrement()); |
|
|
|
e.setRevision(NumConstant.ZERO); |
|
|
|
e.setDelFlag(NumConstant.ZERO_STR); |
|
|
|
e.setCreatedBy(tokenDto.getUserId()); |
|
|
|
e.setUpdatedBy(tokenDto.getUserId()); |
|
|
|
e.setCreatedTime(new Date()); |
|
|
|
e.setUpdatedTime(new Date()); |
|
|
|
return e; |
|
|
|
}).collect(Collectors.toList()); |
|
|
|
icPartymemberStyleImageService.insertBatch(list); |
|
|
|