|
@ -73,6 +73,7 @@ import org.apache.commons.fileupload.disk.DiskFileItemFactory; |
|
|
import org.apache.commons.lang3.StringUtils; |
|
|
import org.apache.commons.lang3.StringUtils; |
|
|
import org.apache.http.entity.ContentType; |
|
|
import org.apache.http.entity.ContentType; |
|
|
import org.springframework.beans.factory.annotation.Autowired; |
|
|
import org.springframework.beans.factory.annotation.Autowired; |
|
|
|
|
|
import org.springframework.scheduling.annotation.Async; |
|
|
import org.springframework.stereotype.Service; |
|
|
import org.springframework.stereotype.Service; |
|
|
import org.springframework.transaction.annotation.Transactional; |
|
|
import org.springframework.transaction.annotation.Transactional; |
|
|
import org.springframework.web.multipart.commons.CommonsMultipartFile; |
|
|
import org.springframework.web.multipart.commons.CommonsMultipartFile; |
|
@ -602,6 +603,7 @@ public class IcPartyUnitServiceImpl extends BaseServiceImpl<IcPartyUnitDao, IcPa |
|
|
* @param customerId |
|
|
* @param customerId |
|
|
* @param userId |
|
|
* @param userId |
|
|
*/ |
|
|
*/ |
|
|
|
|
|
@Async |
|
|
@Override |
|
|
@Override |
|
|
public void execAsyncExcelImport(Path filePath, String importTaskId, String customerId, String userId) { |
|
|
public void execAsyncExcelImport(Path filePath, String importTaskId, String customerId, String userId) { |
|
|
try { |
|
|
try { |
|
|