| | |
| | | package com.ltkj.web.controller.sqlserver; |
| | | |
| | | import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper; |
| | | import com.fasterxml.jackson.core.JsonProcessingException; |
| | | import com.fasterxml.jackson.databind.ObjectMapper; |
| | | import com.ltkj.common.core.controller.BaseController; |
| | | import com.ltkj.common.core.domain.AjaxResult; |
| | | import com.ltkj.common.core.redis.RedisCache; |
| | |
| | | @RequestParam(defaultValue = "10") Integer pageSize, |
| | | @RequestParam(required = false) String deptId, |
| | | @RequestParam(required = false) String tjName, |
| | | @RequestParam(required = false) String tjNum) throws SQLException { |
| | | @RequestParam(required = false) String tjNum) throws SQLException, JsonProcessingException { |
| | | // long start = System.currentTimeMillis(); |
| | | // //需要匹配的key |
| | | // ScanOptions options = ScanOptions.scanOptions() |
| | |
| | | |
| | | // List<Map<String, Object>> map = deptService.getSysDeptYjWjCustomerList(deptId, tjName, tjNum, aa, page, pageSize); |
| | | // List<ResultSet> map = deptService.getSysDeptYjWjCustomerList1(deptId, tjName, tjNum, aa, page, pageSize); |
| | | ResultSet resultSet = deptService.getSysDeptYjWjCustomerList12(deptId, tjName, tjNum, aa, page, pageSize); |
| | | while (resultSet.next()){ |
| | | String anInt = resultSet.getString(1); |
| | | System.out.println(anInt); |
| | | } |
| | | return AjaxResult.success(); |
| | | // ResultSet resultSet = deptService.getSysDeptYjWjCustomerList12(deptId, tjName, tjNum, aa, page, pageSize); |
| | | // while (resultSet.next()){ |
| | | // String anInt = resultSet.getString(1); |
| | | // System.out.println(anInt); |
| | | // } |
| | | |
| | | Map<String,Object> map = deptService.getSysDeptYjWjCustomerList13(deptId, tjName, tjNum, aa, page, pageSize); |
| | | return AjaxResult.success(map); |
| | | } |
| | | |
| | | |