| | |
| | | import org.springframework.transaction.annotation.Transactional; |
| | | import org.springframework.web.multipart.MultipartFile; |
| | | |
| | | import javax.annotation.Resource; |
| | | import java.util.ArrayList; |
| | | import java.util.Arrays; |
| | | import java.util.HashMap; |
| | |
| | | |
| | | @Autowired |
| | | ZPropertyServiceImpl zPropertyService; |
| | | |
| | | @Resource |
| | | ZPropertyMapper zPropertyMapper; |
| | | |
| | | private LambdaQueryWrapper<ZProperty> uniqueCondition(ZProperty zProperty) { |
| | | LambdaQueryWrapper<ZProperty> lqw = new LambdaQueryWrapper<>(); |
| | |
| | | } |
| | | |
| | | @Override |
| | | public AjaxResult listType() { |
| | | List<String> result = zPropertyMapper.listType(); |
| | | return AjaxResult.success(result); |
| | | } |
| | | |
| | | @Override |
| | | @Transactional |
| | | public AjaxResult importExcel(MultipartFile file) { |
| | | |