| | |
| | | import com.zy.asrs.service.ReviewDetlService; |
| | | import com.zy.asrs.service.ReviewService; |
| | | import com.zy.common.web.BaseController; |
| | | import com.zy.system.service.ConfigService; |
| | | import com.zy.system.service.impl.ConfigServiceImpl; |
| | | import io.swagger.annotations.ApiOperation; |
| | | import org.springframework.beans.factory.annotation.Autowired; |
| | | import org.springframework.http.MediaType; |
| | |
| | | |
| | | @Resource |
| | | private HttpServletResponse response; |
| | | @Autowired |
| | | private ConfigService configService; |
| | | |
| | | |
| | | @RequestMapping("/exportReview") |
| | |
| | | public void importOrder(MultipartFile multipartFile) throws IOException { |
| | | // 考核数据的判重使用order_id,check_type的组合唯一索引解决 |
| | | EasyExcel.read(multipartFile.getInputStream(), ImportReviewDto.class, |
| | | new ImportReviewListener(transactionManager, reviewService, reviewDetlService, snowflakeIdWorker, getUserId())).sheet().doReadSync(); |
| | | new ImportReviewListener(configService,transactionManager, reviewService, reviewDetlService, snowflakeIdWorker, getUserId())).sheet().doReadSync(); |
| | | } |
| | | |
| | | |