| | |
| | | import org.springframework.beans.factory.annotation.Autowired; |
| | | import org.springframework.stereotype.Service; |
| | | import org.springframework.transaction.annotation.Transactional; |
| | | import org.springframework.web.bind.annotation.RequestBody; |
| | | import org.springframework.web.multipart.MultipartFile; |
| | | |
| | | import javax.annotation.Resource; |
| | | import java.util.ArrayList; |
| | | import java.util.Arrays; |
| | | import java.util.HashMap; |
| | |
| | | |
| | | @Autowired |
| | | ZYearInfoServiceImpl zYearInfoService; |
| | | |
| | | @Resource |
| | | ZYearInfoMapper zYearInfoMapper; |
| | | |
| | | private LambdaQueryWrapper<ZYearInfo> uniqueCondition(ZYearInfo zYearInfo) { |
| | | LambdaQueryWrapper<ZYearInfo> lqw = new LambdaQueryWrapper<>(); |
| | |
| | | } |
| | | |
| | | @Override |
| | | public AjaxResult listType() { |
| | | List<String> result = zYearInfoMapper.listType(); |
| | | return AjaxResult.success(result); |
| | | } |
| | | |
| | | @Override |
| | | @Transactional |
| | | public AjaxResult importExcel(MultipartFile file) { |
| | | |