whywhyo
2023-08-07 94eb7d8c68ab299163b8eb13a1c1df929255377e
zhang-content/src/main/java/com/ruoyi/service/impl/ZPropertyServiceImpl.java
@@ -20,6 +20,7 @@
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;
@@ -38,6 +39,9 @@
    @Autowired
    ZPropertyServiceImpl zPropertyService;
    @Resource
    ZPropertyMapper zPropertyMapper;
    private LambdaQueryWrapper<ZProperty> uniqueCondition(ZProperty zProperty) {
        LambdaQueryWrapper<ZProperty> lqw = new LambdaQueryWrapper<>();
@@ -128,6 +132,12 @@
    }
    @Override
    public AjaxResult listType() {
        List<String> result = zPropertyMapper.listType();
        return AjaxResult.success(result);
    }
    @Override
    @Transactional
    public AjaxResult importExcel(MultipartFile file) {