修改模块
This commit is contained in:
parent
98a61c602c
commit
90f5a14dd1
17
pom.xml
17
pom.xml
@ -2,8 +2,8 @@
|
|||||||
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||||
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
|
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
|
||||||
<modelVersion>4.0.0</modelVersion>
|
<modelVersion>4.0.0</modelVersion>
|
||||||
<groupId>com.lz</groupId>
|
<groupId>com.wl</groupId>
|
||||||
<artifactId>lz_management</artifactId>
|
<artifactId>wl_management</artifactId>
|
||||||
<version>3.0.0</version>
|
<version>3.0.0</version>
|
||||||
<packaging>jar</packaging>
|
<packaging>jar</packaging>
|
||||||
|
|
||||||
@ -18,7 +18,7 @@
|
|||||||
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
|
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
|
||||||
<java.version>1.8</java.version>
|
<java.version>1.8</java.version>
|
||||||
<mybatisplus.version>3.3.1</mybatisplus.version>
|
<mybatisplus.version>3.3.1</mybatisplus.version>
|
||||||
<mysql.version>8.0.17</mysql.version>
|
<mysql.version>8.0.29</mysql.version>
|
||||||
<druid.version>1.1.13</druid.version>
|
<druid.version>1.1.13</druid.version>
|
||||||
<quartz.version>2.3.0</quartz.version>
|
<quartz.version>2.3.0</quartz.version>
|
||||||
<commons.lang.version>2.6</commons.lang.version>
|
<commons.lang.version>2.6</commons.lang.version>
|
||||||
@ -42,7 +42,7 @@
|
|||||||
<poi.version>3.17</poi.version>
|
<poi.version>3.17</poi.version>
|
||||||
<jsoupXpath.version>2.2</jsoupXpath.version>
|
<jsoupXpath.version>2.2</jsoupXpath.version>
|
||||||
<!--wagon plugin 配置-->
|
<!--wagon plugin 配置-->
|
||||||
<service-path>/work/linzi</service-path>
|
<service-path>/work/wl</service-path>
|
||||||
<pack-name>${project.artifactId}-${project.version}.jar</pack-name>
|
<pack-name>${project.artifactId}-${project.version}.jar</pack-name>
|
||||||
<remote-addr>192.168.1.10:22</remote-addr>
|
<remote-addr>192.168.1.10:22</remote-addr>
|
||||||
<remote-username>root</remote-username>
|
<remote-username>root</remote-username>
|
||||||
@ -265,17 +265,12 @@
|
|||||||
<artifactId>org.eclipse.jgit</artifactId>
|
<artifactId>org.eclipse.jgit</artifactId>
|
||||||
<version>5.1.3.201810200350-r</version>
|
<version>5.1.3.201810200350-r</version>
|
||||||
</dependency>
|
</dependency>
|
||||||
<!-- https://mvnrepository.com/artifact/io.socket/socket.io-client -->
|
|
||||||
<dependency>
|
|
||||||
<groupId>io.socket</groupId>
|
|
||||||
<artifactId>engine.io-client</artifactId>
|
|
||||||
<version>1.0.1-lz1</version>
|
|
||||||
</dependency>
|
|
||||||
<!-- https://mvnrepository.com/artifact/io.socket/socket.io-client -->
|
<!-- https://mvnrepository.com/artifact/io.socket/socket.io-client -->
|
||||||
<dependency>
|
<dependency>
|
||||||
<groupId>io.socket</groupId>
|
<groupId>io.socket</groupId>
|
||||||
<artifactId>socket.io-client</artifactId>
|
<artifactId>socket.io-client</artifactId>
|
||||||
<version>1.0.1-lz</version>
|
<version>2.1.0</version>
|
||||||
</dependency>
|
</dependency>
|
||||||
</dependencies>
|
</dependencies>
|
||||||
|
|
||||||
|
|||||||
@ -1,84 +0,0 @@
|
|||||||
package com.lz.modules.performance.controller;
|
|
||||||
|
|
||||||
|
|
||||||
import com.alibaba.fastjson.JSONObject;
|
|
||||||
import com.lz.common.emun.ChartOptType;
|
|
||||||
import com.lz.common.emun.CheckStaffType;
|
|
||||||
import com.lz.common.utils.PageUtils;
|
|
||||||
import com.lz.common.utils.R;
|
|
||||||
import com.lz.common.utils.StringUtil;
|
|
||||||
import com.lz.modules.app.entity.StaffEntity;
|
|
||||||
import com.lz.modules.app.entity.StaffSimpleInfo;
|
|
||||||
import com.lz.modules.app.service.StaffService;
|
|
||||||
import com.lz.modules.flow.entity.*;
|
|
||||||
import com.lz.modules.flow.model.DepartManagers;
|
|
||||||
import com.lz.modules.flow.model.ResultModelDto;
|
|
||||||
import com.lz.modules.flow.model.ResultTagetLibDto;
|
|
||||||
import com.lz.modules.flow.req.ResultModelItemReq;
|
|
||||||
import com.lz.modules.flow.req.ResultTagetLibItemReq;
|
|
||||||
import com.lz.modules.flow.service.*;
|
|
||||||
import com.lz.modules.performance.service.ResultTagetLibService;
|
|
||||||
import com.lz.modules.sys.entity.app.ResultDetail;
|
|
||||||
import com.lz.modules.sys.entity.app.ResultRecord;
|
|
||||||
import com.lz.modules.sys.service.app.ResultDetailService;
|
|
||||||
import com.lz.modules.sys.service.app.ResultRecordService;
|
|
||||||
import io.swagger.annotations.*;
|
|
||||||
import lombok.extern.slf4j.Slf4j;
|
|
||||||
import org.apache.commons.collections.map.HashedMap;
|
|
||||||
import org.springframework.beans.BeanUtils;
|
|
||||||
import org.springframework.beans.factory.annotation.Autowired;
|
|
||||||
import org.springframework.web.bind.annotation.*;
|
|
||||||
|
|
||||||
import java.text.SimpleDateFormat;
|
|
||||||
import java.util.*;
|
|
||||||
import java.util.function.Function;
|
|
||||||
import java.util.stream.Collector;
|
|
||||||
import java.util.stream.Collectors;
|
|
||||||
|
|
||||||
@RestController
|
|
||||||
@RequestMapping("/flowStart")
|
|
||||||
@Api(tags = "发起考核")
|
|
||||||
@Slf4j
|
|
||||||
public class FlowStartController {
|
|
||||||
|
|
||||||
|
|
||||||
@Autowired
|
|
||||||
private FlowStartService flowStartService;
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@GetMapping("/getById")
|
|
||||||
public R getById(@RequestParam Long id, @RequestParam int type) {
|
|
||||||
return flowStartService.getModelById(id, type);
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
@RequestMapping("/update")
|
|
||||||
public R update(@RequestBody FlowStart flowStart) {
|
|
||||||
flowStartService.updateFlowStartById(flowStart);
|
|
||||||
return R.ok();
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
@PostMapping("/save")
|
|
||||||
@ApiOperation("发起新的考核任务")
|
|
||||||
@ApiResponses({@ApiResponse(code = 200, message = "成功", response = FlowStart.class)})
|
|
||||||
public R save(@RequestBody @ApiParam FlowStart flowStart) {
|
|
||||||
log.info("发起考核接受数据{}", flowStart);
|
|
||||||
return flowStartService.saveStart(flowStart);
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
@RequestMapping("/delete")
|
|
||||||
public R list(@RequestBody Long id) {
|
|
||||||
flowStartService.deleteFlowStartById(id);
|
|
||||||
return R.ok();
|
|
||||||
}
|
|
||||||
}
|
|
||||||
@ -1,56 +0,0 @@
|
|||||||
package com.lz.modules.performance.controller;
|
|
||||||
|
|
||||||
import com.google.common.collect.Lists;
|
|
||||||
import com.lz.modules.sys.dao.app.ResultRecordMapper;
|
|
||||||
import org.eclipse.jgit.api.CloneCommand;
|
|
||||||
import org.eclipse.jgit.api.Git;
|
|
||||||
import org.eclipse.jgit.api.LogCommand;
|
|
||||||
import org.eclipse.jgit.api.PullResult;
|
|
||||||
import org.eclipse.jgit.diff.DiffEntry;
|
|
||||||
import org.eclipse.jgit.internal.storage.file.FileRepository;
|
|
||||||
import org.eclipse.jgit.lib.ObjectReader;
|
|
||||||
import org.eclipse.jgit.lib.PersonIdent;
|
|
||||||
import org.eclipse.jgit.revwalk.RevCommit;
|
|
||||||
import org.eclipse.jgit.revwalk.RevTree;
|
|
||||||
import org.eclipse.jgit.revwalk.RevWalk;
|
|
||||||
import org.eclipse.jgit.transport.UsernamePasswordCredentialsProvider;
|
|
||||||
import org.eclipse.jgit.treewalk.AbstractTreeIterator;
|
|
||||||
import org.eclipse.jgit.treewalk.CanonicalTreeParser;
|
|
||||||
import org.eclipse.jgit.treewalk.filter.PathFilterGroup;
|
|
||||||
import org.seimicrawler.xpath.JXDocument;
|
|
||||||
import org.seimicrawler.xpath.JXNode;
|
|
||||||
import org.springframework.beans.factory.annotation.Autowired;
|
|
||||||
import org.springframework.web.bind.annotation.GetMapping;
|
|
||||||
import org.springframework.web.bind.annotation.RequestMapping;
|
|
||||||
import org.springframework.web.bind.annotation.RestController;
|
|
||||||
|
|
||||||
import java.io.BufferedReader;
|
|
||||||
import java.io.File;
|
|
||||||
import java.io.IOException;
|
|
||||||
import java.io.InputStreamReader;
|
|
||||||
import java.net.HttpURLConnection;
|
|
||||||
import java.net.URL;
|
|
||||||
import java.net.URLConnection;
|
|
||||||
import java.util.ArrayList;
|
|
||||||
import java.util.List;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* @Author: djc
|
|
||||||
* @Desc:
|
|
||||||
* @Date: 2020/12/17 17:06
|
|
||||||
*/
|
|
||||||
@RestController
|
|
||||||
@RequestMapping("/test")
|
|
||||||
public class GitController {
|
|
||||||
|
|
||||||
@Autowired
|
|
||||||
private ResultRecordMapper resultRecordMapper;
|
|
||||||
|
|
||||||
@GetMapping("/test")
|
|
||||||
public void test(){
|
|
||||||
System.out.println();
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
}
|
|
||||||
@ -1,27 +0,0 @@
|
|||||||
package com.lz.modules.performance.service;
|
|
||||||
|
|
||||||
import com.lz.common.utils.PageUtils;
|
|
||||||
import com.lz.common.utils.R;
|
|
||||||
import com.lz.modules.flow.entity.FlowStart;
|
|
||||||
import com.lz.modules.performance.req.AssessChangeReq;
|
|
||||||
import com.lz.modules.performance.req.AssessDetailReq;
|
|
||||||
import com.lz.modules.performance.req.AssessListReq;
|
|
||||||
import com.lz.modules.performance.req.AssessToScoreReq;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* @Author: djc
|
|
||||||
* @Desc:
|
|
||||||
* @Date: 2020/10/22 17:27
|
|
||||||
*/
|
|
||||||
public interface AssessManagerService {
|
|
||||||
|
|
||||||
PageUtils assessList(AssessListReq req);
|
|
||||||
|
|
||||||
PageUtils assessDetail(AssessDetailReq req);
|
|
||||||
|
|
||||||
void accessDelete(FlowStart flowStart);
|
|
||||||
|
|
||||||
R assessChange(AssessChangeReq req);
|
|
||||||
|
|
||||||
void toScore(AssessToScoreReq req);
|
|
||||||
}
|
|
||||||
@ -6,20 +6,17 @@
|
|||||||
* 版权所有,侵权必究!
|
* 版权所有,侵权必究!
|
||||||
*/
|
*/
|
||||||
|
|
||||||
package com.lz;
|
package com.wl;
|
||||||
|
|
||||||
import org.mybatis.spring.annotation.MapperScan;
|
|
||||||
import org.springframework.boot.SpringApplication;
|
import org.springframework.boot.SpringApplication;
|
||||||
import org.springframework.boot.autoconfigure.SpringBootApplication;
|
import org.springframework.boot.autoconfigure.SpringBootApplication;
|
||||||
import org.springframework.context.annotation.ComponentScan;
|
|
||||||
import org.springframework.transaction.annotation.EnableTransactionManagement;
|
|
||||||
|
|
||||||
|
|
||||||
@SpringBootApplication
|
@SpringBootApplication
|
||||||
public class LinziApplication {
|
public class ManagerApplication {
|
||||||
|
|
||||||
public static void main(String[] args) {
|
public static void main(String[] args) {
|
||||||
SpringApplication.run(LinziApplication.class, args);
|
SpringApplication.run(ManagerApplication.class, args);
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
130
src/main/java/com/wl/TestQiuGuoApp.java
Normal file
130
src/main/java/com/wl/TestQiuGuoApp.java
Normal file
@ -0,0 +1,130 @@
|
|||||||
|
package com.wl;
|
||||||
|
|
||||||
|
import io.socket.client.IO;
|
||||||
|
import io.socket.client.Socket;
|
||||||
|
import io.socket.emitter.Emitter;
|
||||||
|
import lombok.extern.slf4j.Slf4j;
|
||||||
|
|
||||||
|
import java.util.ArrayList;
|
||||||
|
import java.util.HashMap;
|
||||||
|
import java.util.List;
|
||||||
|
import java.util.Map;
|
||||||
|
import java.util.concurrent.*;
|
||||||
|
import java.util.concurrent.atomic.AtomicInteger;
|
||||||
|
@Slf4j
|
||||||
|
public class TestQiuGuoApp {
|
||||||
|
private static AtomicInteger counter = new AtomicInteger(0);
|
||||||
|
private static long startTime = System.currentTimeMillis();
|
||||||
|
private static final ThreadPoolExecutor executor = new ThreadPoolExecutor(
|
||||||
|
10,
|
||||||
|
10,
|
||||||
|
1000,
|
||||||
|
TimeUnit.SECONDS,
|
||||||
|
new LinkedBlockingQueue<>(1000),
|
||||||
|
Executors.defaultThreadFactory(),
|
||||||
|
new ThreadPoolExecutor.AbortPolicy()
|
||||||
|
);
|
||||||
|
public static void main(String[] args) {
|
||||||
|
CopyOnWriteArrayList<Socket> clientList = new CopyOnWriteArrayList<>();
|
||||||
|
try {
|
||||||
|
for (int i = 0; i < 1; i++) {
|
||||||
|
Map<String, List<String>> headers = new HashMap<>();
|
||||||
|
List<String> token = new ArrayList<>();
|
||||||
|
token.add(String.valueOf(counter.addAndGet(1)));
|
||||||
|
headers.put("token", token);
|
||||||
|
List<String> connection = new ArrayList<>();
|
||||||
|
connection.add("Upgrade");
|
||||||
|
//headers.put("Connection", connection);
|
||||||
|
List<String> websocket = new ArrayList<>();
|
||||||
|
websocket.add("websocket");
|
||||||
|
//headers.put("Upgrade", websocket);
|
||||||
|
IO.Options options = new IO.Options();
|
||||||
|
|
||||||
|
options.transports = new String[]{"websocket"};
|
||||||
|
//options.extraHeaders = headers;
|
||||||
|
options.reconnection = true;
|
||||||
|
options.reconnectionAttempts = 1000;// 失败重连的时间间隔
|
||||||
|
options.reconnectionDelay = 5000;
|
||||||
|
options.upgrade = true;
|
||||||
|
//options.webSocketFactory = new w
|
||||||
|
//options.rememberUpgrade = false;
|
||||||
|
// 连接超时时间(ms)
|
||||||
|
options.timeout = 6000;
|
||||||
|
|
||||||
|
Socket socket = IO.socket("ws://127.0.0.1:9004/?roomId=-1", options);
|
||||||
|
//socket.hasListeners("onLocal");
|
||||||
|
socket.on("onLocal", new Emitter.Listener() {
|
||||||
|
@Override
|
||||||
|
public void call(Object... objects) {
|
||||||
|
//log.info("收到同步消息");
|
||||||
|
}
|
||||||
|
});
|
||||||
|
socket.on(Socket.EVENT_DISCONNECT
|
||||||
|
, new Emitter.Listener() {
|
||||||
|
@Override
|
||||||
|
public void call(Object... objects) {
|
||||||
|
log.info("断开链接");
|
||||||
|
}
|
||||||
|
});
|
||||||
|
socket.on(Socket.EVENT_CONNECT_ERROR
|
||||||
|
, new Emitter.Listener() {
|
||||||
|
@Override
|
||||||
|
public void call(Object... objects) {
|
||||||
|
log.info("链接错误{}", objects);
|
||||||
|
}
|
||||||
|
});
|
||||||
|
|
||||||
|
socket.on(Socket.EVENT_CONNECT
|
||||||
|
, new Emitter.Listener() {
|
||||||
|
@Override
|
||||||
|
public void call(Object... objects) {
|
||||||
|
log.info("连上服务器{}", objects);
|
||||||
|
|
||||||
|
}
|
||||||
|
});
|
||||||
|
clientList.add(socket);
|
||||||
|
socket.connect();
|
||||||
|
}
|
||||||
|
/*AtomicInteger userTokenCount = new AtomicInteger(Integer.parseInt(args[0]));
|
||||||
|
clientList.stream().forEach(item -> {
|
||||||
|
MsgProtocol.User user = MsgProtocol.User.newBuilder().setApiToken("1").setUserId(userTokenCount.getAndIncrement()).build();
|
||||||
|
MsgProtocol.Msg msg = MsgProtocol.Msg.newBuilder()
|
||||||
|
.setCmdId(MsgProtocol.Msg.CmdId.ENTER_SCENE_REQ)
|
||||||
|
.setData(user.toByteString())
|
||||||
|
.build();
|
||||||
|
item.send(msg.toByteArray());
|
||||||
|
});*/
|
||||||
|
|
||||||
|
while (true) {
|
||||||
|
/*AtomicInteger atomicInteger = new AtomicInteger(0);
|
||||||
|
for (int i = 0; i < 6; i++) {
|
||||||
|
clientList.stream().forEach(item -> {
|
||||||
|
|
||||||
|
|
||||||
|
//item.emit("onData", msg.toByteArray());
|
||||||
|
item.send("msg.toByteArray()");
|
||||||
|
int currentCount = atomicInteger.addAndGet(1);
|
||||||
|
//log.info("一秒内坐标点数量 currentCount: " + currentCount);
|
||||||
|
long currentTime = System.currentTimeMillis();
|
||||||
|
long elapsedTime = currentTime - startTime;
|
||||||
|
if (elapsedTime >= 1000) {
|
||||||
|
// 如果已经过了一秒钟,重置计数器和时间戳
|
||||||
|
atomicInteger.set(1);
|
||||||
|
startTime = currentTime;
|
||||||
|
}
|
||||||
|
});
|
||||||
|
}
|
||||||
|
try {
|
||||||
|
Thread.sleep(166);
|
||||||
|
} catch (InterruptedException e) {
|
||||||
|
e.printStackTrace();
|
||||||
|
}*/
|
||||||
|
Thread.sleep(1000);
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
} catch (Exception e) {
|
||||||
|
e.printStackTrace();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
133
src/main/java/com/wl/TestQiuGuoApp1.java
Normal file
133
src/main/java/com/wl/TestQiuGuoApp1.java
Normal file
@ -0,0 +1,133 @@
|
|||||||
|
package com.wl;
|
||||||
|
|
||||||
|
import io.socket.client.IO;
|
||||||
|
import io.socket.client.Socket;
|
||||||
|
import io.socket.emitter.Emitter;
|
||||||
|
import lombok.extern.slf4j.Slf4j;
|
||||||
|
|
||||||
|
import java.util.ArrayList;
|
||||||
|
import java.util.HashMap;
|
||||||
|
import java.util.List;
|
||||||
|
import java.util.Map;
|
||||||
|
import java.util.concurrent.*;
|
||||||
|
import java.util.concurrent.atomic.AtomicInteger;
|
||||||
|
@Slf4j
|
||||||
|
public class TestQiuGuoApp1 {
|
||||||
|
private static AtomicInteger counter = new AtomicInteger(65);
|
||||||
|
private static long startTime = System.currentTimeMillis();
|
||||||
|
private static final ThreadPoolExecutor executor = new ThreadPoolExecutor(
|
||||||
|
10,
|
||||||
|
10,
|
||||||
|
1000,
|
||||||
|
TimeUnit.SECONDS,
|
||||||
|
new LinkedBlockingQueue<>(1000),
|
||||||
|
Executors.defaultThreadFactory(),
|
||||||
|
new ThreadPoolExecutor.AbortPolicy()
|
||||||
|
);
|
||||||
|
public static void main(String[] args) {
|
||||||
|
CopyOnWriteArrayList<Socket> clientList = new CopyOnWriteArrayList<>();
|
||||||
|
try {
|
||||||
|
for (int i = 0; i < 64; i++) {
|
||||||
|
Map<String, List<String>> headers = new HashMap<>();
|
||||||
|
List<String> token = new ArrayList<>();
|
||||||
|
token.add(String.valueOf(counter.addAndGet(1)));
|
||||||
|
headers.put("token", token);
|
||||||
|
|
||||||
|
List<String> Upgrade = new ArrayList<>();
|
||||||
|
Upgrade.add("websocket");
|
||||||
|
headers.put("Upgrade", Upgrade);
|
||||||
|
|
||||||
|
List<String> Connection = new ArrayList<>();
|
||||||
|
Connection.add("Upgrade");
|
||||||
|
headers.put("Connection", Connection);
|
||||||
|
|
||||||
|
IO.Options options = new IO.Options();
|
||||||
|
//options.transportOptions
|
||||||
|
options.transports = new String[]{"websocket"};
|
||||||
|
//options.extraHeaders = headers;
|
||||||
|
options.reconnection = true;
|
||||||
|
options.reconnectionAttempts = 1000;// 失败重连的时间间隔
|
||||||
|
options.reconnectionDelay = 5000;
|
||||||
|
|
||||||
|
//options.upgrade = true;
|
||||||
|
//options.rememberUpgrade = false;
|
||||||
|
// 连接超时时间(ms)
|
||||||
|
options.timeout = 6000;
|
||||||
|
|
||||||
|
Socket socket = IO.socket("http://192.168.168.25:9004", options);
|
||||||
|
//socket.hasListeners("onLocal");
|
||||||
|
socket.on("onLocal", new Emitter.Listener() {
|
||||||
|
@Override
|
||||||
|
public void call(Object... objects) {
|
||||||
|
//log.info("收到同步消息");
|
||||||
|
}
|
||||||
|
});
|
||||||
|
socket.on(Socket.EVENT_DISCONNECT
|
||||||
|
, new Emitter.Listener() {
|
||||||
|
@Override
|
||||||
|
public void call(Object... objects) {
|
||||||
|
log.info("断开链接");
|
||||||
|
}
|
||||||
|
});
|
||||||
|
socket.on(Socket.EVENT_CONNECT_ERROR
|
||||||
|
, new Emitter.Listener() {
|
||||||
|
@Override
|
||||||
|
public void call(Object... objects) {
|
||||||
|
log.info("链接错误{}", objects);
|
||||||
|
}
|
||||||
|
});
|
||||||
|
|
||||||
|
socket.on(Socket.EVENT_CONNECT
|
||||||
|
, new Emitter.Listener() {
|
||||||
|
@Override
|
||||||
|
public void call(Object... objects) {
|
||||||
|
log.info("连上服务器{}", objects);
|
||||||
|
|
||||||
|
}
|
||||||
|
});
|
||||||
|
clientList.add(socket);
|
||||||
|
socket.connect();
|
||||||
|
}
|
||||||
|
/*AtomicInteger userTokenCount = new AtomicInteger(Integer.parseInt(args[0]));
|
||||||
|
clientList.stream().forEach(item -> {
|
||||||
|
MsgProtocol.User user = MsgProtocol.User.newBuilder().setApiToken("1").setUserId(userTokenCount.getAndIncrement()).build();
|
||||||
|
MsgProtocol.Msg msg = MsgProtocol.Msg.newBuilder()
|
||||||
|
.setCmdId(MsgProtocol.Msg.CmdId.ENTER_SCENE_REQ)
|
||||||
|
.setData(user.toByteString())
|
||||||
|
.build();
|
||||||
|
item.send(msg.toByteArray());
|
||||||
|
});*/
|
||||||
|
|
||||||
|
while (true) {
|
||||||
|
/*AtomicInteger atomicInteger = new AtomicInteger(0);
|
||||||
|
for (int i = 0; i < 6; i++) {
|
||||||
|
clientList.stream().forEach(item -> {
|
||||||
|
|
||||||
|
|
||||||
|
//item.emit("onData", msg.toByteArray());
|
||||||
|
item.send("msg.toByteArray()");
|
||||||
|
int currentCount = atomicInteger.addAndGet(1);
|
||||||
|
//log.info("一秒内坐标点数量 currentCount: " + currentCount);
|
||||||
|
long currentTime = System.currentTimeMillis();
|
||||||
|
long elapsedTime = currentTime - startTime;
|
||||||
|
if (elapsedTime >= 1000) {
|
||||||
|
// 如果已经过了一秒钟,重置计数器和时间戳
|
||||||
|
atomicInteger.set(1);
|
||||||
|
startTime = currentTime;
|
||||||
|
}
|
||||||
|
});
|
||||||
|
}
|
||||||
|
try {
|
||||||
|
Thread.sleep(166);
|
||||||
|
} catch (InterruptedException e) {
|
||||||
|
e.printStackTrace();
|
||||||
|
}*/
|
||||||
|
Thread.sleep(1000);
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
} catch (Exception e) {
|
||||||
|
e.printStackTrace();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
@ -1,4 +1,4 @@
|
|||||||
package com.lz;
|
package com.wl;
|
||||||
|
|
||||||
import lombok.extern.slf4j.Slf4j;
|
import lombok.extern.slf4j.Slf4j;
|
||||||
import org.json.JSONObject;
|
import org.json.JSONObject;
|
||||||
@ -13,7 +13,7 @@ import java.util.Map;
|
|||||||
@Slf4j
|
@Slf4j
|
||||||
public class TestSocket {
|
public class TestSocket {
|
||||||
public static void main(String[] args) {
|
public static void main(String[] args) {
|
||||||
String url = "http://172.16.10.5:9090";
|
String url = "http://192.168.8.115:9004";
|
||||||
try {
|
try {
|
||||||
Map<String, List<String>> extraHeaders = new HashMap<>();
|
Map<String, List<String>> extraHeaders = new HashMap<>();
|
||||||
//登录token
|
//登录token
|
||||||
@ -41,7 +41,7 @@ public class TestSocket {
|
|||||||
options.timeout = 500;
|
options.timeout = 500;
|
||||||
//options.query = "token=tUbNxd16i6omy3jqTswJ165";
|
//options.query = "token=tUbNxd16i6omy3jqTswJ165";
|
||||||
//options.query = "token:tUbNxd16i6omy3jqTswJ165";
|
//options.query = "token:tUbNxd16i6omy3jqTswJ165";
|
||||||
options.extraHeaders = extraHeaders;
|
//options.extraHeaders = extraHeaders;
|
||||||
// roomId: 房间唯一标识 传给服务端存储
|
// roomId: 房间唯一标识 传给服务端存储
|
||||||
final Socket socket = IO.socket(url + "?roomId=-1", options);
|
final Socket socket = IO.socket(url + "?roomId=-1", options);
|
||||||
socket.on(Socket.EVENT_CONNECT, new Emitter.Listener() {
|
socket.on(Socket.EVENT_CONNECT, new Emitter.Listener() {
|
||||||
@ -1,4 +1,4 @@
|
|||||||
package com.lz;
|
package com.wl;
|
||||||
|
|
||||||
import io.socket.client.IO;
|
import io.socket.client.IO;
|
||||||
import io.socket.client.Socket;
|
import io.socket.client.Socket;
|
||||||
@ -15,7 +15,7 @@ import java.util.Map;
|
|||||||
public class TestSocket1 {
|
public class TestSocket1 {
|
||||||
|
|
||||||
public static void main(String[] args) {
|
public static void main(String[] args) {
|
||||||
String url = "http://172.16.10.5:9090";
|
String url = "http://192.168.168.25:9004";
|
||||||
try {
|
try {
|
||||||
Map<String, List<String>> extraHeaders = new HashMap<>();
|
Map<String, List<String>> extraHeaders = new HashMap<>();
|
||||||
//登录token
|
//登录token
|
||||||
@ -41,7 +41,7 @@ public class TestSocket1 {
|
|||||||
options.reconnectionDelay = 1000;
|
options.reconnectionDelay = 1000;
|
||||||
// 连接超时时间(ms)
|
// 连接超时时间(ms)
|
||||||
options.timeout = 500;
|
options.timeout = 500;
|
||||||
options.extraHeaders = extraHeaders;
|
//options.extraHeaders = extraHeaders;
|
||||||
|
|
||||||
// roomId: 房间唯一标识 传给服务端存储
|
// roomId: 房间唯一标识 传给服务端存储
|
||||||
final Socket socket = IO.socket(url + "?roomId=-1", options);
|
final Socket socket = IO.socket(url + "?roomId=-1", options);
|
||||||
@ -52,6 +52,12 @@ public class TestSocket1 {
|
|||||||
socket.send("hello...");
|
socket.send("hello...");
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
socket.on(Socket.EVENT_CONNECT_ERROR, new Emitter.Listener() {
|
||||||
|
|
||||||
|
public void call(Object... args) {
|
||||||
|
log.info("链接异常{}", args);
|
||||||
|
}
|
||||||
|
});
|
||||||
|
|
||||||
// 自定义事件`onlineMessage` -> 接收服务端成功连接消息
|
// 自定义事件`onlineMessage` -> 接收服务端成功连接消息
|
||||||
socket.on("onlineMessage", new Emitter.Listener() {
|
socket.on("onlineMessage", new Emitter.Listener() {
|
||||||
@ -6,7 +6,7 @@
|
|||||||
* 版权所有,侵权必究!
|
* 版权所有,侵权必究!
|
||||||
*/
|
*/
|
||||||
|
|
||||||
package com.lz.common.annotation;
|
package com.wl.common.annotation;
|
||||||
|
|
||||||
import java.lang.annotation.Documented;
|
import java.lang.annotation.Documented;
|
||||||
import java.lang.annotation.ElementType;
|
import java.lang.annotation.ElementType;
|
||||||
@ -1,4 +1,4 @@
|
|||||||
package com.lz.common.annotation;
|
package com.wl.common.annotation;
|
||||||
|
|
||||||
import java.lang.annotation.*;
|
import java.lang.annotation.*;
|
||||||
|
|
||||||
@ -1,12 +1,12 @@
|
|||||||
package com.lz.common.aspect;
|
package com.wl.common.aspect;
|
||||||
|
|
||||||
import com.alibaba.fastjson.JSON;
|
import com.alibaba.fastjson.JSON;
|
||||||
import com.lz.common.exception.RRException;
|
import com.wl.common.exception.RRException;
|
||||||
import com.lz.common.utils.OrderUtil;
|
import com.wl.common.utils.OrderUtil;
|
||||||
import com.lz.common.utils.R;
|
import com.wl.common.utils.R;
|
||||||
import com.lz.common.utils.ServletUtils;
|
import com.wl.common.utils.ServletUtils;
|
||||||
import com.lz.common.utils.StringUtil;
|
import com.wl.common.utils.StringUtil;
|
||||||
import com.lz.modules.sys.entity.SysUserEntity;
|
import com.wl.modules.sys.entity.SysUserEntity;
|
||||||
import org.apache.catalina.connector.ResponseFacade;
|
import org.apache.catalina.connector.ResponseFacade;
|
||||||
import org.apache.shiro.SecurityUtils;
|
import org.apache.shiro.SecurityUtils;
|
||||||
import org.aspectj.lang.ProceedingJoinPoint;
|
import org.aspectj.lang.ProceedingJoinPoint;
|
||||||
@ -38,7 +38,7 @@ public class LogAspect {
|
|||||||
public static List<String> noLoginUrls = new ArrayList<>();
|
public static List<String> noLoginUrls = new ArrayList<>();
|
||||||
|
|
||||||
|
|
||||||
@Pointcut(value = "execution(* com.lz..controller..*.*(..))")
|
@Pointcut(value = "execution(* com.wl..controller..*.*(..))")
|
||||||
public void pointCut() {
|
public void pointCut() {
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -6,9 +6,9 @@
|
|||||||
* 版权所有,侵权必究!
|
* 版权所有,侵权必究!
|
||||||
*/
|
*/
|
||||||
|
|
||||||
package com.lz.common.aspect;
|
package com.wl.common.aspect;
|
||||||
|
|
||||||
import com.lz.common.exception.RRException;
|
import com.wl.common.exception.RRException;
|
||||||
import org.aspectj.lang.ProceedingJoinPoint;
|
import org.aspectj.lang.ProceedingJoinPoint;
|
||||||
import org.aspectj.lang.annotation.Around;
|
import org.aspectj.lang.annotation.Around;
|
||||||
import org.aspectj.lang.annotation.Aspect;
|
import org.aspectj.lang.annotation.Aspect;
|
||||||
@ -30,7 +30,7 @@ public class RedisAspect {
|
|||||||
@Value("${spring.redis.open: false}")
|
@Value("${spring.redis.open: false}")
|
||||||
private boolean open;
|
private boolean open;
|
||||||
|
|
||||||
@Around("execution(* com.lz.common.utils.RedisUtils.*(..))")
|
@Around("execution(* com.wl.common.utils.RedisUtils.*(..))")
|
||||||
public Object around(ProceedingJoinPoint point) throws Throwable {
|
public Object around(ProceedingJoinPoint point) throws Throwable {
|
||||||
Object result = null;
|
Object result = null;
|
||||||
if(open){
|
if(open){
|
||||||
@ -6,15 +6,15 @@
|
|||||||
* 版权所有,侵权必究!
|
* 版权所有,侵权必究!
|
||||||
*/
|
*/
|
||||||
|
|
||||||
package com.lz.common.aspect;
|
package com.wl.common.aspect;
|
||||||
|
|
||||||
import com.google.gson.Gson;
|
import com.google.gson.Gson;
|
||||||
import com.lz.common.annotation.SysLog;
|
import com.wl.common.annotation.SysLog;
|
||||||
import com.lz.common.utils.HttpContextUtils;
|
import com.wl.common.utils.HttpContextUtils;
|
||||||
import com.lz.common.utils.IPUtils;
|
import com.wl.common.utils.IPUtils;
|
||||||
import com.lz.modules.sys.entity.SysLogEntity;
|
import com.wl.modules.sys.entity.SysLogEntity;
|
||||||
import com.lz.modules.sys.entity.SysUserEntity;
|
import com.wl.modules.sys.entity.SysUserEntity;
|
||||||
import com.lz.modules.sys.service.SysLogService;
|
import com.wl.modules.sys.service.SysLogService;
|
||||||
import org.apache.shiro.SecurityUtils;
|
import org.apache.shiro.SecurityUtils;
|
||||||
import org.aspectj.lang.ProceedingJoinPoint;
|
import org.aspectj.lang.ProceedingJoinPoint;
|
||||||
import org.aspectj.lang.annotation.Around;
|
import org.aspectj.lang.annotation.Around;
|
||||||
@ -40,7 +40,7 @@ public class SysLogAspect {
|
|||||||
@Autowired
|
@Autowired
|
||||||
private SysLogService sysLogService;
|
private SysLogService sysLogService;
|
||||||
|
|
||||||
@Pointcut("@annotation(com.lz.common.annotation.SysLog)")
|
@Pointcut("@annotation(com.wl.common.annotation.SysLog)")
|
||||||
public void logPointCut() {
|
public void logPointCut() {
|
||||||
|
|
||||||
}
|
}
|
||||||
@ -1,4 +1,4 @@
|
|||||||
package com.lz.common.cli;
|
package com.wl.common.cli;
|
||||||
|
|
||||||
public interface CliToken {
|
public interface CliToken {
|
||||||
/**
|
/**
|
||||||
@ -1,9 +1,9 @@
|
|||||||
package com.lz.common.cli;
|
package com.wl.common.cli;
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
import com.lz.common.cli.impl.CliTokenImpl;
|
import com.wl.common.cli.impl.CliTokenImpl;
|
||||||
|
|
||||||
import java.util.List;
|
import java.util.List;
|
||||||
|
|
||||||
@ -1,4 +1,4 @@
|
|||||||
package com.lz.common.cli;
|
package com.wl.common.cli;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @author bw on 25/10/2016.
|
* @author bw on 25/10/2016.
|
||||||
@ -14,7 +14,7 @@
|
|||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
package com.lz.common.cli;
|
package com.wl.common.cli;
|
||||||
|
|
||||||
|
|
||||||
import java.util.LinkedList;
|
import java.util.LinkedList;
|
||||||
@ -1,8 +1,8 @@
|
|||||||
package com.lz.common.cli.impl;
|
package com.wl.common.cli.impl;
|
||||||
|
|
||||||
|
|
||||||
import com.lz.common.cli.CliToken;
|
import com.wl.common.cli.CliToken;
|
||||||
import com.lz.common.cli.LineStatus;
|
import com.wl.common.cli.LineStatus;
|
||||||
|
|
||||||
import java.util.LinkedList;
|
import java.util.LinkedList;
|
||||||
import java.util.List;
|
import java.util.List;
|
||||||
@ -1,4 +1,4 @@
|
|||||||
package com.lz.common.constant;
|
package com.wl.common.constant;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @author yuzhong
|
* @author yuzhong
|
||||||
@ -1,4 +1,4 @@
|
|||||||
package com.lz.common.emun;
|
package com.wl.common.emun;
|
||||||
|
|
||||||
public enum ChartFlowType {
|
public enum ChartFlowType {
|
||||||
|
|
||||||
@ -1,4 +1,4 @@
|
|||||||
package com.lz.common.emun;
|
package com.wl.common.emun;
|
||||||
|
|
||||||
public enum ChartOptType {
|
public enum ChartOptType {
|
||||||
|
|
||||||
@ -1,4 +1,4 @@
|
|||||||
package com.lz.common.emun;
|
package com.wl.common.emun;
|
||||||
//考核人员类型
|
//考核人员类型
|
||||||
public enum CheckStaffType {
|
public enum CheckStaffType {
|
||||||
|
|
||||||
@ -1,4 +1,4 @@
|
|||||||
package com.lz.common.emun;
|
package com.wl.common.emun;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @Author: djc
|
* @Author: djc
|
||||||
@ -1,4 +1,4 @@
|
|||||||
package com.lz.common.emun;
|
package com.wl.common.emun;
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@ -1,4 +1,4 @@
|
|||||||
package com.lz.common.exception;
|
package com.wl.common.exception;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 自定义异常
|
* 自定义异常
|
||||||
@ -6,7 +6,7 @@
|
|||||||
* 版权所有,侵权必究!
|
* 版权所有,侵权必究!
|
||||||
*/
|
*/
|
||||||
|
|
||||||
package com.lz.common.exception;
|
package com.wl.common.exception;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 自定义异常
|
* 自定义异常
|
||||||
@ -6,9 +6,9 @@
|
|||||||
* 版权所有,侵权必究!
|
* 版权所有,侵权必究!
|
||||||
*/
|
*/
|
||||||
|
|
||||||
package com.lz.common.exception;
|
package com.wl.common.exception;
|
||||||
|
|
||||||
import com.lz.common.utils.R;
|
import com.wl.common.utils.R;
|
||||||
import org.apache.shiro.authz.AuthorizationException;
|
import org.apache.shiro.authz.AuthorizationException;
|
||||||
import org.slf4j.Logger;
|
import org.slf4j.Logger;
|
||||||
import org.slf4j.LoggerFactory;
|
import org.slf4j.LoggerFactory;
|
||||||
@ -1,4 +1,4 @@
|
|||||||
package com.lz.common.exception;
|
package com.wl.common.exception;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @Author: djc
|
* @Author: djc
|
||||||
@ -1,4 +1,4 @@
|
|||||||
package com.lz.common.layouts;
|
package com.wl.common.layouts;
|
||||||
|
|
||||||
import ch.qos.logback.classic.pattern.ClassicConverter;
|
import ch.qos.logback.classic.pattern.ClassicConverter;
|
||||||
import ch.qos.logback.classic.spi.CallerData;
|
import ch.qos.logback.classic.spi.CallerData;
|
||||||
@ -1,4 +1,4 @@
|
|||||||
package com.lz.common.layouts;
|
package com.wl.common.layouts;
|
||||||
|
|
||||||
import ch.qos.logback.classic.pattern.ClassicConverter;
|
import ch.qos.logback.classic.pattern.ClassicConverter;
|
||||||
import ch.qos.logback.classic.spi.CallerData;
|
import ch.qos.logback.classic.spi.CallerData;
|
||||||
@ -4,7 +4,7 @@
|
|||||||
// (powered by Fernflower decompiler)
|
// (powered by Fernflower decompiler)
|
||||||
//
|
//
|
||||||
|
|
||||||
package com.lz.common.utils;
|
package com.wl.common.utils;
|
||||||
|
|
||||||
import com.alibaba.druid.util.StringUtils;
|
import com.alibaba.druid.util.StringUtils;
|
||||||
|
|
||||||
@ -1,4 +1,4 @@
|
|||||||
package com.lz.common.utils;
|
package com.wl.common.utils;
|
||||||
|
|
||||||
import java.lang.reflect.Field;
|
import java.lang.reflect.Field;
|
||||||
import java.lang.reflect.Method;
|
import java.lang.reflect.Method;
|
||||||
@ -9,7 +9,7 @@ import java.util.*;
|
|||||||
*
|
*
|
||||||
*@类CollectionConverterUtil.java 的实现描述:集合类转换器
|
*@类CollectionConverterUtil.java 的实现描述:集合类转换器
|
||||||
*@author 陈金虎 2017年1月16日 下午11:33:25
|
*@author 陈金虎 2017年1月16日 下午11:33:25
|
||||||
*@注意:本内容仅限于杭州霖梓网络科技有限公司内部传阅,禁止外泄以及用于其他的商业目的
|
*
|
||||||
*/
|
*/
|
||||||
public class CollectionConverterUtil {
|
public class CollectionConverterUtil {
|
||||||
|
|
||||||
@ -1,4 +1,4 @@
|
|||||||
package com.lz.common.utils;
|
package com.wl.common.utils;
|
||||||
|
|
||||||
import org.apache.commons.codec.digest.DigestUtils;
|
import org.apache.commons.codec.digest.DigestUtils;
|
||||||
import org.apache.commons.lang.StringUtils;
|
import org.apache.commons.lang.StringUtils;
|
||||||
@ -17,7 +17,7 @@ import java.util.regex.Pattern;
|
|||||||
/**
|
/**
|
||||||
* @author 陈金虎 2017年1月16日 下午11:45:31
|
* @author 陈金虎 2017年1月16日 下午11:45:31
|
||||||
* @类描述:公共类
|
* @类描述:公共类
|
||||||
* @注意:本内容仅限于杭州霖梓网络科技有限公司内部传阅,禁止外泄以及用于其他的商业目的
|
*
|
||||||
*/
|
*/
|
||||||
public class CommonUtil {
|
public class CommonUtil {
|
||||||
|
|
||||||
@ -6,7 +6,7 @@
|
|||||||
* 版权所有,侵权必究!
|
* 版权所有,侵权必究!
|
||||||
*/
|
*/
|
||||||
|
|
||||||
package com.lz.common.utils;
|
package com.wl.common.utils;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 系统参数相关Key
|
* 系统参数相关Key
|
||||||
@ -6,7 +6,7 @@
|
|||||||
* 版权所有,侵权必究!
|
* 版权所有,侵权必究!
|
||||||
*/
|
*/
|
||||||
|
|
||||||
package com.lz.common.utils;
|
package com.wl.common.utils;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 常量
|
* 常量
|
||||||
@ -1,11 +1,11 @@
|
|||||||
|
|
||||||
package com.lz.common.utils;
|
package com.wl.common.utils;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
*
|
*
|
||||||
*@类Converter.java 的实现描述:转换器接口
|
*@类Converter.java 的实现描述:转换器接口
|
||||||
*@author 陈金虎 2017年1月16日 下午11:38:15
|
*@author 陈金虎 2017年1月16日 下午11:38:15
|
||||||
*@注意:本内容仅限于杭州霖梓网络科技有限公司内部传阅,禁止外泄以及用于其他的商业目的
|
*
|
||||||
*/
|
*/
|
||||||
public interface Converter<S, T> {
|
public interface Converter<S, T> {
|
||||||
|
|
||||||
@ -6,7 +6,7 @@
|
|||||||
* 版权所有,侵权必究!
|
* 版权所有,侵权必究!
|
||||||
*/
|
*/
|
||||||
|
|
||||||
package com.lz.common.utils;
|
package com.wl.common.utils;
|
||||||
|
|
||||||
import org.apache.commons.lang.StringUtils;
|
import org.apache.commons.lang.StringUtils;
|
||||||
import org.joda.time.DateTime;
|
import org.joda.time.DateTime;
|
||||||
@ -1,11 +1,11 @@
|
|||||||
package com.lz.common.utils;
|
package com.wl.common.utils;
|
||||||
|
|
||||||
import com.alibaba.fastjson.JSON;
|
import com.alibaba.fastjson.JSON;
|
||||||
import com.alibaba.fastjson.JSONObject;
|
import com.alibaba.fastjson.JSONObject;
|
||||||
import com.lz.modules.app.dto.SmsResult;
|
import com.wl.modules.app.dto.SmsResult;
|
||||||
import com.lz.modules.app.entity.SmsSendLogEntity;
|
import com.wl.modules.app.entity.SmsSendLogEntity;
|
||||||
import com.lz.modules.app.enums.SmsChannelEnum;
|
import com.wl.modules.app.enums.SmsChannelEnum;
|
||||||
import com.lz.modules.app.service.SmsSendLogService;
|
import com.wl.modules.app.service.SmsSendLogService;
|
||||||
import org.slf4j.Logger;
|
import org.slf4j.Logger;
|
||||||
import org.slf4j.LoggerFactory;
|
import org.slf4j.LoggerFactory;
|
||||||
import org.springframework.beans.factory.annotation.Value;
|
import org.springframework.beans.factory.annotation.Value;
|
||||||
@ -1,4 +1,4 @@
|
|||||||
package com.lz.common.utils;
|
package com.wl.common.utils;
|
||||||
|
|
||||||
import org.apache.commons.codec.DecoderException;
|
import org.apache.commons.codec.DecoderException;
|
||||||
import org.apache.commons.codec.binary.Hex;
|
import org.apache.commons.codec.binary.Hex;
|
||||||
@ -22,7 +22,7 @@ import java.security.SecureRandom;
|
|||||||
*
|
*
|
||||||
* @类DigestUtil.java 的实现描述:加解密
|
* @类DigestUtil.java 的实现描述:加解密
|
||||||
* @author 陈金虎 2017年1月16日 下午11:29:26
|
* @author 陈金虎 2017年1月16日 下午11:29:26
|
||||||
* @注意:本内容仅限于杭州霖梓网络科技有限公司内部传阅,禁止外泄以及用于其他的商业目的
|
*
|
||||||
*/
|
*/
|
||||||
public class DigestUtil {
|
public class DigestUtil {
|
||||||
|
|
||||||
@ -1,4 +1,4 @@
|
|||||||
package com.lz.common.utils;
|
package com.wl.common.utils;
|
||||||
|
|
||||||
import com.alibaba.fastjson.JSON;
|
import com.alibaba.fastjson.JSON;
|
||||||
import com.alibaba.fastjson.JSONArray;
|
import com.alibaba.fastjson.JSONArray;
|
||||||
@ -7,21 +7,21 @@ import com.dingtalk.api.DefaultDingTalkClient;
|
|||||||
import com.dingtalk.api.DingTalkClient;
|
import com.dingtalk.api.DingTalkClient;
|
||||||
import com.dingtalk.api.request.*;
|
import com.dingtalk.api.request.*;
|
||||||
import com.dingtalk.api.response.*;
|
import com.dingtalk.api.response.*;
|
||||||
import com.lz.modules.app.entity.StaffEntity;
|
import com.wl.modules.app.entity.StaffEntity;
|
||||||
import com.lz.modules.app.entity.StaffOccupationEntity;
|
import com.wl.modules.app.entity.StaffOccupationEntity;
|
||||||
import com.lz.modules.app.service.StaffOccupationService;
|
import com.wl.modules.app.service.StaffOccupationService;
|
||||||
import com.lz.modules.app.service.StaffService;
|
import com.wl.modules.app.service.StaffService;
|
||||||
import com.lz.modules.job.model.responseBo.DepartmentInfosBo;
|
import com.wl.modules.job.model.responseBo.DepartmentInfosBo;
|
||||||
import com.lz.modules.job.model.responseBo.DepartmentStaffBo;
|
import com.wl.modules.job.model.responseBo.DepartmentStaffBo;
|
||||||
import com.lz.modules.luck.entity.LuckRecord;
|
import com.wl.modules.luck.entity.LuckRecord;
|
||||||
import com.lz.modules.luck.service.LuckRecordService;
|
import com.wl.modules.luck.service.LuckRecordService;
|
||||||
import com.lz.modules.sys.entity.SysUserEntity;
|
import com.wl.modules.sys.entity.SysUserEntity;
|
||||||
import com.lz.modules.sys.service.SysUserTokenService;
|
import com.wl.modules.sys.service.SysUserTokenService;
|
||||||
import com.lz.modules.third.entity.ThirdAppConfig;
|
import com.wl.modules.third.entity.ThirdAppConfig;
|
||||||
import com.lz.modules.third.entity.ThirdMsgSendRecord;
|
import com.wl.modules.third.entity.ThirdMsgSendRecord;
|
||||||
import com.lz.modules.third.entity.WorkMsg;
|
import com.wl.modules.third.entity.WorkMsg;
|
||||||
import com.lz.modules.third.service.ThirdAppConfigService;
|
import com.wl.modules.third.service.ThirdAppConfigService;
|
||||||
import com.lz.modules.third.service.ThirdMsgSendRecordService;
|
import com.wl.modules.third.service.ThirdMsgSendRecordService;
|
||||||
import com.taobao.api.ApiException;
|
import com.taobao.api.ApiException;
|
||||||
import org.apache.http.impl.client.CloseableHttpClient;
|
import org.apache.http.impl.client.CloseableHttpClient;
|
||||||
import org.slf4j.Logger;
|
import org.slf4j.Logger;
|
||||||
@ -1,10 +1,10 @@
|
|||||||
package com.lz.common.utils;
|
package com.wl.common.utils;
|
||||||
|
|
||||||
import com.google.common.collect.Lists;
|
import com.google.common.collect.Lists;
|
||||||
import com.lz.common.utils.excel.*;
|
import com.wl.common.utils.excel.*;
|
||||||
import com.lz.modules.app.enums.ExcelStaffHeardEnum;
|
import com.wl.modules.app.enums.ExcelStaffHeardEnum;
|
||||||
import com.lz.modules.app.enums.GenderEnum;
|
import com.wl.modules.app.enums.GenderEnum;
|
||||||
import com.lz.modules.app.enums.MaritalStatusEnum;
|
import com.wl.modules.app.enums.MaritalStatusEnum;
|
||||||
import org.apache.commons.beanutils.BeanComparator;
|
import org.apache.commons.beanutils.BeanComparator;
|
||||||
import org.apache.commons.collections.CollectionUtils;
|
import org.apache.commons.collections.CollectionUtils;
|
||||||
import org.apache.commons.collections.ComparatorUtils;
|
import org.apache.commons.collections.ComparatorUtils;
|
||||||
@ -29,11 +29,11 @@ import java.util.*;
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* @BelongsProject: ltapi
|
* @BelongsProject: ltapi
|
||||||
* @BelongsPackage: com.lz.lt.api.common.util
|
* @BelongsPackage: com.wl.lt.api.common.util
|
||||||
* @Author: gui.quanwang
|
* @Author: gui.quanwang
|
||||||
* @CreateTime: 2018-11-27 16:38
|
* @CreateTime: 2018-11-27 16:38
|
||||||
* @Description: excel工具类,支持文件的导入、导出 与 {@link ExcelCell}搭配使用
|
* @Description: excel工具类,支持文件的导入、导出 与 {@link ExcelCell}搭配使用
|
||||||
* @注意:本内容仅限于杭州霖梓网络科技有限公司内部传阅,禁止外泄以及用于其他的商业目的
|
*
|
||||||
*/
|
*/
|
||||||
public class ExcelUtil {
|
public class ExcelUtil {
|
||||||
|
|
||||||
@ -1,10 +1,10 @@
|
|||||||
package com.lz.common.utils;
|
package com.wl.common.utils;
|
||||||
|
|
||||||
import com.alibaba.fastjson.JSON;
|
import com.alibaba.fastjson.JSON;
|
||||||
import com.alibaba.fastjson.JSONArray;
|
import com.alibaba.fastjson.JSONArray;
|
||||||
import com.alibaba.fastjson.JSONObject;
|
import com.alibaba.fastjson.JSONObject;
|
||||||
import com.lz.modules.job.model.responseBo.DepartmentInfosBo;
|
import com.wl.modules.job.model.responseBo.DepartmentInfosBo;
|
||||||
import com.lz.modules.job.model.responseBo.DepartmentStaffBo;
|
import com.wl.modules.job.model.responseBo.DepartmentStaffBo;
|
||||||
import org.apache.http.HttpEntity;
|
import org.apache.http.HttpEntity;
|
||||||
import org.apache.http.client.methods.CloseableHttpResponse;
|
import org.apache.http.client.methods.CloseableHttpResponse;
|
||||||
import org.apache.http.client.methods.HttpPost;
|
import org.apache.http.client.methods.HttpPost;
|
||||||
@ -3,38 +3,14 @@
|
|||||||
// (powered by Fernflower decompiler)
|
// (powered by Fernflower decompiler)
|
||||||
//
|
//
|
||||||
|
|
||||||
package com.lz.common.utils;
|
package com.wl.common.utils;
|
||||||
|
|
||||||
import java.io.*;
|
import java.io.*;
|
||||||
import java.math.BigInteger;
|
import java.math.BigInteger;
|
||||||
import java.net.HttpURLConnection;
|
import java.net.HttpURLConnection;
|
||||||
import java.net.URL;
|
import java.net.URL;
|
||||||
import java.net.URLConnection;
|
|
||||||
import java.nio.ByteBuffer;
|
|
||||||
import java.nio.channels.FileChannel;
|
|
||||||
import java.nio.charset.Charset;
|
|
||||||
import java.util.ArrayList;
|
|
||||||
import java.util.Collection;
|
|
||||||
import java.util.Date;
|
|
||||||
import java.util.Iterator;
|
|
||||||
import java.util.LinkedList;
|
|
||||||
import java.util.List;
|
|
||||||
import java.util.zip.CRC32;
|
|
||||||
import java.util.zip.CheckedInputStream;
|
|
||||||
import java.util.zip.Checksum;
|
|
||||||
|
|
||||||
import com.fasterxml.jackson.databind.ext.Java7Support;
|
|
||||||
import org.apache.commons.codec.Charsets;
|
|
||||||
import org.apache.commons.io.FilenameUtils;
|
|
||||||
import org.apache.commons.io.IOUtils;
|
import org.apache.commons.io.IOUtils;
|
||||||
import org.apache.commons.io.LineIterator;
|
|
||||||
import org.apache.commons.io.filefilter.DirectoryFileFilter;
|
|
||||||
import org.apache.commons.io.filefilter.FalseFileFilter;
|
|
||||||
import org.apache.commons.io.filefilter.FileFilterUtils;
|
|
||||||
import org.apache.commons.io.filefilter.IOFileFilter;
|
|
||||||
import org.apache.commons.io.filefilter.SuffixFileFilter;
|
|
||||||
import org.apache.commons.io.filefilter.TrueFileFilter;
|
|
||||||
import org.apache.commons.io.output.NullOutputStream;
|
|
||||||
|
|
||||||
public class FileUtils {
|
public class FileUtils {
|
||||||
public static final long ONE_KB = 1024L;
|
public static final long ONE_KB = 1024L;
|
||||||
@ -6,7 +6,7 @@
|
|||||||
* 版权所有,侵权必究!
|
* 版权所有,侵权必究!
|
||||||
*/
|
*/
|
||||||
|
|
||||||
package com.lz.common.utils;
|
package com.wl.common.utils;
|
||||||
|
|
||||||
import org.springframework.web.context.request.RequestContextHolder;
|
import org.springframework.web.context.request.RequestContextHolder;
|
||||||
import org.springframework.web.context.request.ServletRequestAttributes;
|
import org.springframework.web.context.request.ServletRequestAttributes;
|
||||||
@ -1,4 +1,4 @@
|
|||||||
package com.lz.common.utils;
|
package com.wl.common.utils;
|
||||||
|
|
||||||
import org.apache.http.*;
|
import org.apache.http.*;
|
||||||
import org.apache.http.client.ClientProtocolException;
|
import org.apache.http.client.ClientProtocolException;
|
||||||
@ -8,16 +8,8 @@ import org.apache.http.client.entity.UrlEncodedFormEntity;
|
|||||||
import org.apache.http.client.methods.HttpGet;
|
import org.apache.http.client.methods.HttpGet;
|
||||||
import org.apache.http.client.methods.HttpPost;
|
import org.apache.http.client.methods.HttpPost;
|
||||||
import org.apache.http.client.methods.HttpUriRequest;
|
import org.apache.http.client.methods.HttpUriRequest;
|
||||||
import org.apache.http.conn.ClientConnectionManager;
|
|
||||||
import org.apache.http.conn.scheme.PlainSocketFactory;
|
|
||||||
import org.apache.http.conn.scheme.Scheme;
|
|
||||||
import org.apache.http.conn.scheme.SchemeRegistry;
|
|
||||||
import org.apache.http.impl.client.DefaultHttpClient;
|
import org.apache.http.impl.client.DefaultHttpClient;
|
||||||
import org.apache.http.impl.conn.tsccm.ThreadSafeClientConnManager;
|
|
||||||
import org.apache.http.message.BasicNameValuePair;
|
import org.apache.http.message.BasicNameValuePair;
|
||||||
import org.apache.http.params.BasicHttpParams;
|
|
||||||
import org.apache.http.params.HttpParams;
|
|
||||||
import org.apache.http.params.HttpProtocolParams;
|
|
||||||
import org.apache.http.protocol.HTTP;
|
import org.apache.http.protocol.HTTP;
|
||||||
import org.apache.http.util.EntityUtils;
|
import org.apache.http.util.EntityUtils;
|
||||||
import org.slf4j.Logger;
|
import org.slf4j.Logger;
|
||||||
@ -29,7 +21,6 @@ import java.net.HttpURLConnection;
|
|||||||
import java.net.URL;
|
import java.net.URL;
|
||||||
import java.net.URLConnection;
|
import java.net.URLConnection;
|
||||||
import java.net.URLEncoder;
|
import java.net.URLEncoder;
|
||||||
import java.security.KeyStore;
|
|
||||||
import java.security.cert.CertificateException;
|
import java.security.cert.CertificateException;
|
||||||
import java.security.cert.X509Certificate;
|
import java.security.cert.X509Certificate;
|
||||||
import java.util.*;
|
import java.util.*;
|
||||||
@ -37,7 +28,7 @@ import java.util.*;
|
|||||||
/**
|
/**
|
||||||
* @author 陈金虎 2017年1月16日 下午11:41:47
|
* @author 陈金虎 2017年1月16日 下午11:41:47
|
||||||
* @类描述:http请求工具
|
* @类描述:http请求工具
|
||||||
* @注意:本内容仅限于杭州霖梓网络科技有限公司内部传阅,禁止外泄以及用于其他的商业目的
|
*
|
||||||
*/
|
*/
|
||||||
@SuppressWarnings("deprecation")
|
@SuppressWarnings("deprecation")
|
||||||
public class HttpUtil {
|
public class HttpUtil {
|
||||||
@ -6,7 +6,7 @@
|
|||||||
* 版权所有,侵权必究!
|
* 版权所有,侵权必究!
|
||||||
*/
|
*/
|
||||||
|
|
||||||
package com.lz.common.utils;
|
package com.wl.common.utils;
|
||||||
|
|
||||||
import com.alibaba.druid.util.StringUtils;
|
import com.alibaba.druid.util.StringUtils;
|
||||||
import org.slf4j.Logger;
|
import org.slf4j.Logger;
|
||||||
@ -22,12 +22,11 @@
|
|||||||
* THE SOFTWARE.
|
* THE SOFTWARE.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
package com.lz.common.utils;
|
package com.wl.common.utils;
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
import com.baomidou.mybatisplus.core.metadata.IPage;
|
import com.baomidou.mybatisplus.core.metadata.IPage;
|
||||||
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
|
|
||||||
|
|
||||||
import java.util.List;
|
import java.util.List;
|
||||||
|
|
||||||
@ -1,4 +1,4 @@
|
|||||||
package com.lz.common.utils;
|
package com.wl.common.utils;
|
||||||
|
|
||||||
import com.google.common.collect.Lists;
|
import com.google.common.collect.Lists;
|
||||||
import org.apache.commons.collections.CollectionUtils;
|
import org.apache.commons.collections.CollectionUtils;
|
||||||
@ -1,4 +1,4 @@
|
|||||||
package com.lz.common.utils;
|
package com.wl.common.utils;
|
||||||
|
|
||||||
import lombok.extern.slf4j.Slf4j;
|
import lombok.extern.slf4j.Slf4j;
|
||||||
|
|
||||||
@ -1,4 +1,4 @@
|
|||||||
package com.lz.common.utils;
|
package com.wl.common.utils;
|
||||||
|
|
||||||
import org.slf4j.Logger;
|
import org.slf4j.Logger;
|
||||||
import org.slf4j.LoggerFactory;
|
import org.slf4j.LoggerFactory;
|
||||||
@ -6,7 +6,7 @@
|
|||||||
* 版权所有,侵权必究!
|
* 版权所有,侵权必究!
|
||||||
*/
|
*/
|
||||||
|
|
||||||
package com.lz.common.utils;
|
package com.wl.common.utils;
|
||||||
|
|
||||||
import java.util.HashMap;
|
import java.util.HashMap;
|
||||||
|
|
||||||
@ -1,4 +1,4 @@
|
|||||||
package com.lz.common.utils;
|
package com.wl.common.utils;
|
||||||
|
|
||||||
import java.math.BigInteger;
|
import java.math.BigInteger;
|
||||||
import java.security.MessageDigest;
|
import java.security.MessageDigest;
|
||||||
@ -1,4 +1,4 @@
|
|||||||
package com.lz.common.utils;
|
package com.wl.common.utils;
|
||||||
|
|
||||||
import org.apache.commons.lang.StringUtils;
|
import org.apache.commons.lang.StringUtils;
|
||||||
|
|
||||||
@ -1,11 +1,11 @@
|
|||||||
package com.lz.common.utils;
|
package com.wl.common.utils;
|
||||||
|
|
||||||
import com.aliyun.oss.OSSClient;
|
import com.aliyun.oss.OSSClient;
|
||||||
import com.aliyun.oss.model.ObjectMetadata;
|
import com.aliyun.oss.model.ObjectMetadata;
|
||||||
import com.aliyun.oss.model.PutObjectResult;
|
import com.aliyun.oss.model.PutObjectResult;
|
||||||
import com.lz.oss.MockMultipartFile;
|
import com.wl.oss.MockMultipartFile;
|
||||||
import com.lz.oss.OSSConfigure;
|
import com.wl.oss.OSSConfigure;
|
||||||
import com.lz.oss.OssUploadResult;
|
import com.wl.oss.OssUploadResult;
|
||||||
import lombok.extern.slf4j.Slf4j;
|
import lombok.extern.slf4j.Slf4j;
|
||||||
import org.apache.commons.lang.StringUtils;
|
import org.apache.commons.lang.StringUtils;
|
||||||
import org.springframework.web.multipart.MultipartFile;
|
import org.springframework.web.multipart.MultipartFile;
|
||||||
@ -1,4 +1,4 @@
|
|||||||
package com.lz.common.utils;
|
package com.wl.common.utils;
|
||||||
|
|
||||||
|
|
||||||
import java.util.Random;
|
import java.util.Random;
|
||||||
@ -1,10 +1,10 @@
|
|||||||
package com.lz.common.utils;
|
package com.wl.common.utils;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
*
|
*
|
||||||
*@类描述:
|
*@类描述:
|
||||||
*@author 陈金虎 2017年1月16日 下午11:40:27
|
*@author 陈金虎 2017年1月16日 下午11:40:27
|
||||||
*@注意:本内容仅限于杭州霖梓网络科技有限公司内部传阅,禁止外泄以及用于其他的商业目的
|
*
|
||||||
*/
|
*/
|
||||||
public interface ObjectSearcher<S, T, D> {
|
public interface ObjectSearcher<S, T, D> {
|
||||||
|
|
||||||
@ -1,4 +1,4 @@
|
|||||||
package com.lz.common.utils;
|
package com.wl.common.utils;
|
||||||
|
|
||||||
import java.text.SimpleDateFormat;
|
import java.text.SimpleDateFormat;
|
||||||
|
|
||||||
@ -6,7 +6,7 @@
|
|||||||
* 版权所有,侵权必究!
|
* 版权所有,侵权必究!
|
||||||
*/
|
*/
|
||||||
|
|
||||||
package com.lz.common.utils;
|
package com.wl.common.utils;
|
||||||
|
|
||||||
import com.baomidou.mybatisplus.core.metadata.IPage;
|
import com.baomidou.mybatisplus.core.metadata.IPage;
|
||||||
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
|
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
|
||||||
@ -6,12 +6,12 @@
|
|||||||
* 版权所有,侵权必究!
|
* 版权所有,侵权必究!
|
||||||
*/
|
*/
|
||||||
|
|
||||||
package com.lz.common.utils;
|
package com.wl.common.utils;
|
||||||
|
|
||||||
import com.baomidou.mybatisplus.core.metadata.IPage;
|
import com.baomidou.mybatisplus.core.metadata.IPage;
|
||||||
import com.baomidou.mybatisplus.core.metadata.OrderItem;
|
import com.baomidou.mybatisplus.core.metadata.OrderItem;
|
||||||
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
|
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
|
||||||
import com.lz.common.xss.SQLFilter;
|
import com.wl.common.xss.SQLFilter;
|
||||||
import org.apache.commons.lang.StringUtils;
|
import org.apache.commons.lang.StringUtils;
|
||||||
|
|
||||||
import java.util.Map;
|
import java.util.Map;
|
||||||
@ -6,9 +6,9 @@
|
|||||||
* 版权所有,侵权必究!
|
* 版权所有,侵权必究!
|
||||||
*/
|
*/
|
||||||
|
|
||||||
package com.lz.common.utils;
|
package com.wl.common.utils;
|
||||||
|
|
||||||
import com.lz.modules.app.utils.t.Tuple;
|
import com.wl.modules.app.utils.t.Tuple;
|
||||||
import org.apache.http.HttpStatus;
|
import org.apache.http.HttpStatus;
|
||||||
|
|
||||||
import java.util.HashMap;
|
import java.util.HashMap;
|
||||||
@ -1,7 +1,7 @@
|
|||||||
package com.lz.common.utils;
|
package com.wl.common.utils;
|
||||||
|
|
||||||
import com.fasterxml.jackson.databind.JavaType;
|
import com.fasterxml.jackson.databind.JavaType;
|
||||||
import com.lz.common.constant.CacheConstants;
|
import com.wl.common.constant.CacheConstants;
|
||||||
import org.slf4j.Logger;
|
import org.slf4j.Logger;
|
||||||
import org.slf4j.LoggerFactory;
|
import org.slf4j.LoggerFactory;
|
||||||
import org.springframework.beans.factory.annotation.Autowired;
|
import org.springframework.beans.factory.annotation.Autowired;
|
||||||
@ -10,7 +10,6 @@ import org.springframework.data.redis.connection.RedisConnection;
|
|||||||
import org.springframework.data.redis.core.*;
|
import org.springframework.data.redis.core.*;
|
||||||
import org.springframework.stereotype.Component;
|
import org.springframework.stereotype.Component;
|
||||||
|
|
||||||
import java.io.Serializable;
|
|
||||||
import java.util.Arrays;
|
import java.util.Arrays;
|
||||||
import java.util.Map;
|
import java.util.Map;
|
||||||
import java.util.Random;
|
import java.util.Random;
|
||||||
@ -6,7 +6,7 @@
|
|||||||
* 版权所有,侵权必究!
|
* 版权所有,侵权必究!
|
||||||
*/
|
*/
|
||||||
|
|
||||||
package com.lz.common.utils;
|
package com.wl.common.utils;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Redis所有Keys
|
* Redis所有Keys
|
||||||
@ -6,7 +6,7 @@
|
|||||||
* 版权所有,侵权必究!
|
* 版权所有,侵权必究!
|
||||||
*/
|
*/
|
||||||
|
|
||||||
package com.lz.common.utils;
|
package com.wl.common.utils;
|
||||||
|
|
||||||
import com.google.gson.Gson;
|
import com.google.gson.Gson;
|
||||||
import org.springframework.beans.factory.annotation.Autowired;
|
import org.springframework.beans.factory.annotation.Autowired;
|
||||||
@ -1,4 +1,4 @@
|
|||||||
package com.lz.common.utils;
|
package com.wl.common.utils;
|
||||||
|
|
||||||
import org.slf4j.Logger;
|
import org.slf4j.Logger;
|
||||||
import org.slf4j.LoggerFactory;
|
import org.slf4j.LoggerFactory;
|
||||||
@ -1,7 +1,7 @@
|
|||||||
package com.lz.common.utils;
|
package com.wl.common.utils;
|
||||||
|
|
||||||
|
|
||||||
import com.lz.common.utils.json.JsonUtil;
|
import com.wl.common.utils.json.JsonUtil;
|
||||||
import org.slf4j.Logger;
|
import org.slf4j.Logger;
|
||||||
import org.slf4j.LoggerFactory;
|
import org.slf4j.LoggerFactory;
|
||||||
import org.springframework.web.context.request.RequestAttributes;
|
import org.springframework.web.context.request.RequestAttributes;
|
||||||
@ -6,10 +6,10 @@
|
|||||||
* 版权所有,侵权必究!
|
* 版权所有,侵权必究!
|
||||||
*/
|
*/
|
||||||
|
|
||||||
package com.lz.common.utils;
|
package com.wl.common.utils;
|
||||||
|
|
||||||
import com.lz.modules.sys.entity.SysUserEntity;
|
import com.wl.modules.sys.entity.SysUserEntity;
|
||||||
import com.lz.common.exception.RRException;
|
import com.wl.common.exception.RRException;
|
||||||
import org.apache.shiro.SecurityUtils;
|
import org.apache.shiro.SecurityUtils;
|
||||||
import org.apache.shiro.session.Session;
|
import org.apache.shiro.session.Session;
|
||||||
import org.apache.shiro.subject.Subject;
|
import org.apache.shiro.subject.Subject;
|
||||||
@ -6,7 +6,7 @@
|
|||||||
* 版权所有,侵权必究!
|
* 版权所有,侵权必究!
|
||||||
*/
|
*/
|
||||||
|
|
||||||
package com.lz.common.utils;
|
package com.wl.common.utils;
|
||||||
|
|
||||||
import org.springframework.beans.BeansException;
|
import org.springframework.beans.BeansException;
|
||||||
import org.springframework.context.ApplicationContext;
|
import org.springframework.context.ApplicationContext;
|
||||||
@ -1,4 +1,4 @@
|
|||||||
package com.lz.common.utils;
|
package com.wl.common.utils;
|
||||||
|
|
||||||
import org.apache.commons.lang.StringUtils;
|
import org.apache.commons.lang.StringUtils;
|
||||||
|
|
||||||
@ -15,7 +15,7 @@ import java.util.regex.Pattern;
|
|||||||
/**
|
/**
|
||||||
* @author 陈金虎 2017年1月16日 下午11:43:50
|
* @author 陈金虎 2017年1月16日 下午11:43:50
|
||||||
* @类描述:字符串工具类
|
* @类描述:字符串工具类
|
||||||
* @注意:本内容仅限于杭州霖梓网络科技有限公司内部传阅,禁止外泄以及用于其他的商业目的
|
*
|
||||||
*/
|
*/
|
||||||
public class StringUtil extends StringUtils {
|
public class StringUtil extends StringUtils {
|
||||||
|
|
||||||
@ -165,7 +165,7 @@ public class StringUtil extends StringUtils {
|
|||||||
* @return
|
* @return
|
||||||
* @方法描述:将字符串中的emoji符号转换为*
|
* @方法描述:将字符串中的emoji符号转换为*
|
||||||
* @author huyang 2017年4月6日下午12:38:04
|
* @author huyang 2017年4月6日下午12:38:04
|
||||||
* @注意:本内容仅限于杭州霖梓网络科技有限公司内部传阅,禁止外泄以及用于其他的商业目的
|
*
|
||||||
*/
|
*/
|
||||||
public static String filterEmoji(String source) {
|
public static String filterEmoji(String source) {
|
||||||
if (source != null) {
|
if (source != null) {
|
||||||
@ -1,10 +1,8 @@
|
|||||||
package com.lz.common.utils;
|
package com.wl.common.utils;
|
||||||
|
|
||||||
|
|
||||||
import com.lz.common.cli.CliToken;
|
import com.wl.common.cli.CliToken;
|
||||||
import com.lz.common.cli.CliTokens;
|
import com.wl.common.cli.CliTokens;
|
||||||
import com.lz.modules.app.utils.t.Tuple;
|
|
||||||
import com.lz.modules.flow.model.TaskDto;
|
|
||||||
import lombok.extern.slf4j.Slf4j;
|
import lombok.extern.slf4j.Slf4j;
|
||||||
import org.junit.Test;
|
import org.junit.Test;
|
||||||
|
|
||||||
@ -1,4 +1,4 @@
|
|||||||
package com.lz.common.utils;
|
package com.wl.common.utils;
|
||||||
|
|
||||||
import java.io.BufferedInputStream;
|
import java.io.BufferedInputStream;
|
||||||
import java.io.File;
|
import java.io.File;
|
||||||
@ -1,7 +1,7 @@
|
|||||||
package com.lz.common.utils.excel;
|
package com.wl.common.utils.excel;
|
||||||
|
|
||||||
|
|
||||||
import com.lz.common.utils.StringUtil;
|
import com.wl.common.utils.StringUtil;
|
||||||
|
|
||||||
import java.lang.annotation.ElementType;
|
import java.lang.annotation.ElementType;
|
||||||
import java.lang.annotation.Retention;
|
import java.lang.annotation.Retention;
|
||||||
@ -10,11 +10,11 @@ import java.lang.annotation.Target;
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* @BelongsProject: ltapi
|
* @BelongsProject: ltapi
|
||||||
* @BelongsPackage: com.lz.lt.api.common.util.excel
|
* @BelongsPackage: com.wl.lt.api.common.util.excel
|
||||||
* @Author: gui.quanwang
|
* @Author: gui.quanwang
|
||||||
* @CreateTime: 2018-11-27 16:53
|
* @CreateTime: 2018-11-27 16:53
|
||||||
* @Description: 数值型的栏位只能使用Double(自定义注解)
|
* @Description: 数值型的栏位只能使用Double(自定义注解)
|
||||||
* @注意:本内容仅限于杭州霖梓网络科技有限公司内部传阅,禁止外泄以及用于其他的商业目的
|
*
|
||||||
*/
|
*/
|
||||||
@Retention(RetentionPolicy.RUNTIME)
|
@Retention(RetentionPolicy.RUNTIME)
|
||||||
@Target(ElementType.FIELD)
|
@Target(ElementType.FIELD)
|
||||||
@ -1,12 +1,12 @@
|
|||||||
package com.lz.common.utils.excel;
|
package com.wl.common.utils.excel;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @BelongsProject: ltapi
|
* @BelongsProject: ltapi
|
||||||
* @BelongsPackage: com.lz.lt.api.common.util.excel
|
* @BelongsPackage: com.wl.lt.api.common.util.excel
|
||||||
* @Author: gui.quanwang
|
* @Author: gui.quanwang
|
||||||
* @CreateTime: 2018-11-27 16:43
|
* @CreateTime: 2018-11-27 16:43
|
||||||
* @Description: excel输出
|
* @Description: excel输出
|
||||||
* @注意:本内容仅限于杭州霖梓网络科技有限公司内部传阅,禁止外泄以及用于其他的商业目的
|
*
|
||||||
*/
|
*/
|
||||||
public class ExcelLog {
|
public class ExcelLog {
|
||||||
|
|
||||||
@ -1,17 +1,17 @@
|
|||||||
package com.lz.common.utils.excel;
|
package com.wl.common.utils.excel;
|
||||||
|
|
||||||
import com.lz.common.utils.StringUtil;
|
import com.wl.common.utils.StringUtil;
|
||||||
|
|
||||||
import java.util.ArrayList;
|
import java.util.ArrayList;
|
||||||
import java.util.List;
|
import java.util.List;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @BelongsProject: ltapi
|
* @BelongsProject: ltapi
|
||||||
* @BelongsPackage: com.lz.lt.api.common.util.excel
|
* @BelongsPackage: com.wl.lt.api.common.util.excel
|
||||||
* @Author: gui.quanwang
|
* @Author: gui.quanwang
|
||||||
* @CreateTime: 2018-11-27 16:45
|
* @CreateTime: 2018-11-27 16:45
|
||||||
* @Description: excel错误日志记录
|
* @Description: excel错误日志记录
|
||||||
* @注意:本内容仅限于杭州霖梓网络科技有限公司内部传阅,禁止外泄以及用于其他的商业目的
|
*
|
||||||
*/
|
*/
|
||||||
public class ExcelLogs {
|
public class ExcelLogs {
|
||||||
|
|
||||||
@ -1,15 +1,15 @@
|
|||||||
package com.lz.common.utils.excel;
|
package com.wl.common.utils.excel;
|
||||||
|
|
||||||
import java.util.Collection;
|
import java.util.Collection;
|
||||||
import java.util.Map;
|
import java.util.Map;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @BelongsProject: ltapi
|
* @BelongsProject: ltapi
|
||||||
* @BelongsPackage: com.lz.lt.api.common.util.excel
|
* @BelongsPackage: com.wl.lt.api.common.util.excel
|
||||||
* @Author: gui.quanwang
|
* @Author: gui.quanwang
|
||||||
* @CreateTime: 2018-11-27 16:49
|
* @CreateTime: 2018-11-27 16:49
|
||||||
* @Description: 用于汇出多个sheet的Vo
|
* @Description: 用于汇出多个sheet的Vo
|
||||||
* @注意:本内容仅限于杭州霖梓网络科技有限公司内部传阅,禁止外泄以及用于其他的商业目的
|
*
|
||||||
*/
|
*/
|
||||||
public class ExcelSheet<T> {
|
public class ExcelSheet<T> {
|
||||||
|
|
||||||
@ -1,14 +1,14 @@
|
|||||||
package com.lz.common.utils.excel;
|
package com.wl.common.utils.excel;
|
||||||
|
|
||||||
import java.lang.reflect.Field;
|
import java.lang.reflect.Field;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @BelongsProject: ltapi
|
* @BelongsProject: ltapi
|
||||||
* @BelongsPackage: com.lz.lt.api.common.util.excel
|
* @BelongsPackage: com.wl.lt.api.common.util.excel
|
||||||
* @Author: gui.quanwang
|
* @Author: gui.quanwang
|
||||||
* @CreateTime: 2018-11-27 16:52
|
* @CreateTime: 2018-11-27 16:52
|
||||||
* @Description: 泛型类反射后的字段封装类
|
* @Description: 泛型类反射后的字段封装类
|
||||||
* @注意:本内容仅限于杭州霖梓网络科技有限公司内部传阅,禁止外泄以及用于其他的商业目的
|
*
|
||||||
*/
|
*/
|
||||||
public class FieldForSortting {
|
public class FieldForSortting {
|
||||||
|
|
||||||
@ -1,7 +1,7 @@
|
|||||||
/**
|
/**
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
package com.lz.common.utils.json;
|
package com.wl.common.utils.json;
|
||||||
|
|
||||||
|
|
||||||
import com.alibaba.fastjson.JSON;
|
import com.alibaba.fastjson.JSON;
|
||||||
@ -12,10 +12,10 @@ import com.fasterxml.jackson.databind.DeserializationFeature;
|
|||||||
import com.fasterxml.jackson.databind.JavaType;
|
import com.fasterxml.jackson.databind.JavaType;
|
||||||
import com.fasterxml.jackson.databind.ObjectMapper;
|
import com.fasterxml.jackson.databind.ObjectMapper;
|
||||||
import com.fasterxml.jackson.databind.SerializationFeature;
|
import com.fasterxml.jackson.databind.SerializationFeature;
|
||||||
import com.lz.common.utils.Constant;
|
import com.wl.common.utils.Constant;
|
||||||
import com.lz.common.utils.MapUtil;
|
import com.wl.common.utils.MapUtil;
|
||||||
import com.lz.common.utils.NumberUtil;
|
import com.wl.common.utils.NumberUtil;
|
||||||
import com.lz.common.utils.StringUtil;
|
import com.wl.common.utils.StringUtil;
|
||||||
import org.slf4j.Logger;
|
import org.slf4j.Logger;
|
||||||
import org.slf4j.LoggerFactory;
|
import org.slf4j.LoggerFactory;
|
||||||
|
|
||||||
@ -29,7 +29,7 @@ import java.util.Set;
|
|||||||
/**
|
/**
|
||||||
* @类描述:
|
* @类描述:
|
||||||
* @author suweili 2017年3月4日下午2:57:14
|
* @author suweili 2017年3月4日下午2:57:14
|
||||||
* @注意:本内容仅限于杭州霖梓网络科技有限公司内部传阅,禁止外泄以及用于其他的商业目的
|
*
|
||||||
*/
|
*/
|
||||||
public class JsonUtil {
|
public class JsonUtil {
|
||||||
public static final Logger logger = LoggerFactory.getLogger(JsonUtil.class);
|
public static final Logger logger = LoggerFactory.getLogger(JsonUtil.class);
|
||||||
@ -6,9 +6,9 @@
|
|||||||
* 版权所有,侵权必究!
|
* 版权所有,侵权必究!
|
||||||
*/
|
*/
|
||||||
|
|
||||||
package com.lz.common.validator;
|
package com.wl.common.validator;
|
||||||
|
|
||||||
import com.lz.common.exception.RRException;
|
import com.wl.common.exception.RRException;
|
||||||
import org.apache.commons.lang.StringUtils;
|
import org.apache.commons.lang.StringUtils;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@ -6,9 +6,9 @@
|
|||||||
* 版权所有,侵权必究!
|
* 版权所有,侵权必究!
|
||||||
*/
|
*/
|
||||||
|
|
||||||
package com.lz.common.validator;
|
package com.wl.common.validator;
|
||||||
|
|
||||||
import com.lz.common.exception.RRException;
|
import com.wl.common.exception.RRException;
|
||||||
|
|
||||||
import javax.validation.ConstraintViolation;
|
import javax.validation.ConstraintViolation;
|
||||||
import javax.validation.Validation;
|
import javax.validation.Validation;
|
||||||
@ -6,7 +6,7 @@
|
|||||||
* 版权所有,侵权必究!
|
* 版权所有,侵权必究!
|
||||||
*/
|
*/
|
||||||
|
|
||||||
package com.lz.common.validator.group;
|
package com.wl.common.validator.group;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 新增数据 Group
|
* 新增数据 Group
|
||||||
@ -6,7 +6,7 @@
|
|||||||
* 版权所有,侵权必究!
|
* 版权所有,侵权必究!
|
||||||
*/
|
*/
|
||||||
|
|
||||||
package com.lz.common.validator.group;
|
package com.wl.common.validator.group;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 阿里云
|
* 阿里云
|
||||||
@ -6,7 +6,7 @@
|
|||||||
* 版权所有,侵权必究!
|
* 版权所有,侵权必究!
|
||||||
*/
|
*/
|
||||||
|
|
||||||
package com.lz.common.validator.group;
|
package com.wl.common.validator.group;
|
||||||
|
|
||||||
import javax.validation.GroupSequence;
|
import javax.validation.GroupSequence;
|
||||||
|
|
||||||
@ -6,7 +6,7 @@
|
|||||||
* 版权所有,侵权必究!
|
* 版权所有,侵权必究!
|
||||||
*/
|
*/
|
||||||
|
|
||||||
package com.lz.common.validator.group;
|
package com.wl.common.validator.group;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 腾讯云
|
* 腾讯云
|
||||||
@ -6,7 +6,7 @@
|
|||||||
* 版权所有,侵权必究!
|
* 版权所有,侵权必究!
|
||||||
*/
|
*/
|
||||||
|
|
||||||
package com.lz.common.validator.group;
|
package com.wl.common.validator.group;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 七牛
|
* 七牛
|
||||||
@ -6,7 +6,7 @@
|
|||||||
* 版权所有,侵权必究!
|
* 版权所有,侵权必究!
|
||||||
*/
|
*/
|
||||||
|
|
||||||
package com.lz.common.validator.group;
|
package com.wl.common.validator.group;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 更新数据 Group
|
* 更新数据 Group
|
||||||
@ -1,4 +1,4 @@
|
|||||||
package com.lz.common.xss;
|
package com.wl.common.xss;
|
||||||
|
|
||||||
import java.util.*;
|
import java.util.*;
|
||||||
import java.util.concurrent.ConcurrentHashMap;
|
import java.util.concurrent.ConcurrentHashMap;
|
||||||
@ -6,9 +6,9 @@
|
|||||||
* 版权所有,侵权必究!
|
* 版权所有,侵权必究!
|
||||||
*/
|
*/
|
||||||
|
|
||||||
package com.lz.common.xss;
|
package com.wl.common.xss;
|
||||||
|
|
||||||
import com.lz.common.exception.RRException;
|
import com.wl.common.exception.RRException;
|
||||||
import org.apache.commons.lang.StringUtils;
|
import org.apache.commons.lang.StringUtils;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@ -6,7 +6,7 @@
|
|||||||
* 版权所有,侵权必究!
|
* 版权所有,侵权必究!
|
||||||
*/
|
*/
|
||||||
|
|
||||||
package com.lz.common.xss;
|
package com.wl.common.xss;
|
||||||
|
|
||||||
import javax.servlet.*;
|
import javax.servlet.*;
|
||||||
import javax.servlet.http.HttpServletRequest;
|
import javax.servlet.http.HttpServletRequest;
|
||||||
@ -6,7 +6,7 @@
|
|||||||
* 版权所有,侵权必究!
|
* 版权所有,侵权必究!
|
||||||
*/
|
*/
|
||||||
|
|
||||||
package com.lz.common.xss;
|
package com.wl.common.xss;
|
||||||
|
|
||||||
import org.apache.commons.io.IOUtils;
|
import org.apache.commons.io.IOUtils;
|
||||||
import org.apache.commons.lang.StringUtils;
|
import org.apache.commons.lang.StringUtils;
|
||||||
@ -6,7 +6,7 @@
|
|||||||
* 版权所有,侵权必究!
|
* 版权所有,侵权必究!
|
||||||
*/
|
*/
|
||||||
|
|
||||||
package com.lz.config;
|
package com.wl.config;
|
||||||
|
|
||||||
import org.springframework.context.annotation.Configuration;
|
import org.springframework.context.annotation.Configuration;
|
||||||
import org.springframework.web.servlet.config.annotation.CorsRegistry;
|
import org.springframework.web.servlet.config.annotation.CorsRegistry;
|
||||||
@ -15,7 +15,7 @@
|
|||||||
* Author: songfayuan (1414798079@qq.com)
|
* Author: songfayuan (1414798079@qq.com)
|
||||||
*/
|
*/
|
||||||
|
|
||||||
package com.lz.config;
|
package com.wl.config;
|
||||||
|
|
||||||
import lombok.Data;
|
import lombok.Data;
|
||||||
|
|
||||||
@ -15,15 +15,15 @@
|
|||||||
* Author: songfayuan (1414798079@qq.com)
|
* Author: songfayuan (1414798079@qq.com)
|
||||||
*/
|
*/
|
||||||
|
|
||||||
package com.lz.config;
|
package com.wl.config;
|
||||||
|
|
||||||
import cn.hutool.core.collection.CollectionUtil;
|
import cn.hutool.core.collection.CollectionUtil;
|
||||||
import com.baomidou.mybatisplus.core.toolkit.PluginUtils;
|
import com.baomidou.mybatisplus.core.toolkit.PluginUtils;
|
||||||
import com.baomidou.mybatisplus.extension.handlers.AbstractSqlParserHandler;
|
import com.baomidou.mybatisplus.extension.handlers.AbstractSqlParserHandler;
|
||||||
import com.lz.common.utils.OrderUtil;
|
import com.wl.common.utils.OrderUtil;
|
||||||
import com.lz.common.utils.ReflectionUtils;
|
import com.wl.common.utils.ReflectionUtils;
|
||||||
import com.lz.common.utils.SpringContextUtils;
|
import com.wl.common.utils.SpringContextUtils;
|
||||||
import com.lz.common.utils.StringUtil;
|
import com.wl.common.utils.StringUtil;
|
||||||
import lombok.extern.slf4j.Slf4j;
|
import lombok.extern.slf4j.Slf4j;
|
||||||
import org.apache.ibatis.binding.BindingException;
|
import org.apache.ibatis.binding.BindingException;
|
||||||
import org.apache.ibatis.executor.statement.StatementHandler;
|
import org.apache.ibatis.executor.statement.StatementHandler;
|
||||||
@ -6,9 +6,9 @@
|
|||||||
* 版权所有,侵权必究!
|
* 版权所有,侵权必究!
|
||||||
*/
|
*/
|
||||||
|
|
||||||
package com.lz.config;
|
package com.wl.config;
|
||||||
|
|
||||||
import com.lz.common.xss.XssFilter;
|
import com.wl.common.xss.XssFilter;
|
||||||
import org.springframework.boot.web.servlet.FilterRegistrationBean;
|
import org.springframework.boot.web.servlet.FilterRegistrationBean;
|
||||||
import org.springframework.context.annotation.Bean;
|
import org.springframework.context.annotation.Bean;
|
||||||
import org.springframework.context.annotation.Configuration;
|
import org.springframework.context.annotation.Configuration;
|
||||||
@ -6,7 +6,7 @@
|
|||||||
* 版权所有,侵权必究!
|
* 版权所有,侵权必究!
|
||||||
*/
|
*/
|
||||||
|
|
||||||
package com.lz.config;
|
package com.wl.config;
|
||||||
|
|
||||||
import com.google.code.kaptcha.impl.DefaultKaptcha;
|
import com.google.code.kaptcha.impl.DefaultKaptcha;
|
||||||
import com.google.code.kaptcha.util.Config;
|
import com.google.code.kaptcha.util.Config;
|
||||||
@ -6,7 +6,7 @@
|
|||||||
* 版权所有,侵权必究!
|
* 版权所有,侵权必究!
|
||||||
*/
|
*/
|
||||||
|
|
||||||
package com.lz.config;
|
package com.wl.config;
|
||||||
|
|
||||||
import com.baomidou.mybatisplus.extension.plugins.PaginationInterceptor;
|
import com.baomidou.mybatisplus.extension.plugins.PaginationInterceptor;
|
||||||
import org.springframework.context.annotation.Bean;
|
import org.springframework.context.annotation.Bean;
|
||||||
@ -6,15 +6,13 @@
|
|||||||
* 版权所有,侵权必究!
|
* 版权所有,侵权必究!
|
||||||
*/
|
*/
|
||||||
|
|
||||||
package com.lz.config;
|
package com.wl.config;
|
||||||
|
|
||||||
import org.springframework.beans.factory.annotation.Autowired;
|
|
||||||
import org.springframework.beans.factory.annotation.Value;
|
import org.springframework.beans.factory.annotation.Value;
|
||||||
import org.springframework.cache.interceptor.KeyGenerator;
|
import org.springframework.cache.interceptor.KeyGenerator;
|
||||||
import org.springframework.cache.interceptor.SimpleKeyGenerator;
|
import org.springframework.cache.interceptor.SimpleKeyGenerator;
|
||||||
import org.springframework.context.annotation.Bean;
|
import org.springframework.context.annotation.Bean;
|
||||||
import org.springframework.context.annotation.Configuration;
|
import org.springframework.context.annotation.Configuration;
|
||||||
import org.springframework.data.redis.cache.RedisCacheManager;
|
|
||||||
import org.springframework.data.redis.connection.RedisConnectionFactory;
|
import org.springframework.data.redis.connection.RedisConnectionFactory;
|
||||||
import org.springframework.data.redis.core.*;
|
import org.springframework.data.redis.core.*;
|
||||||
import org.springframework.data.redis.serializer.GenericJackson2JsonRedisSerializer;
|
import org.springframework.data.redis.serializer.GenericJackson2JsonRedisSerializer;
|
||||||
@ -6,10 +6,10 @@
|
|||||||
* 版权所有,侵权必究!
|
* 版权所有,侵权必究!
|
||||||
*/
|
*/
|
||||||
|
|
||||||
package com.lz.config;
|
package com.wl.config;
|
||||||
|
|
||||||
import com.lz.modules.sys.oauth2.OAuth2Filter;
|
import com.wl.modules.sys.oauth2.OAuth2Filter;
|
||||||
import com.lz.modules.sys.oauth2.OAuth2Realm;
|
import com.wl.modules.sys.oauth2.OAuth2Realm;
|
||||||
import org.apache.shiro.mgt.SecurityManager;
|
import org.apache.shiro.mgt.SecurityManager;
|
||||||
import org.apache.shiro.spring.LifecycleBeanPostProcessor;
|
import org.apache.shiro.spring.LifecycleBeanPostProcessor;
|
||||||
import org.apache.shiro.spring.security.interceptor.AuthorizationAttributeSourceAdvisor;
|
import org.apache.shiro.spring.security.interceptor.AuthorizationAttributeSourceAdvisor;
|
||||||
@ -6,7 +6,7 @@
|
|||||||
* 版权所有,侵权必究!
|
* 版权所有,侵权必究!
|
||||||
*/
|
*/
|
||||||
|
|
||||||
package com.lz.config;
|
package com.wl.config;
|
||||||
|
|
||||||
import io.swagger.annotations.ApiOperation;
|
import io.swagger.annotations.ApiOperation;
|
||||||
import org.springframework.beans.factory.annotation.Value;
|
import org.springframework.beans.factory.annotation.Value;
|
||||||
@ -6,7 +6,7 @@
|
|||||||
* 版权所有,侵权必究!
|
* 版权所有,侵权必究!
|
||||||
*/
|
*/
|
||||||
|
|
||||||
package com.lz.datasource.annotation;
|
package com.wl.datasource.annotation;
|
||||||
|
|
||||||
import java.lang.annotation.*;
|
import java.lang.annotation.*;
|
||||||
|
|
||||||
Some files were not shown because too many files have changed in this diff Show More
Loading…
x
Reference in New Issue
Block a user