base基类调整
parent
a9e6dc069f
commit
972b6bc064
@ -1,21 +0,0 @@
|
|||||||
package cn.estsh.i3plus.core.apiservice.dao;
|
|
||||||
|
|
||||||
import cn.estsh.i3plus.pojo.platform.bean.FactoryStore;
|
|
||||||
import org.springframework.stereotype.Repository;
|
|
||||||
|
|
||||||
import java.util.List;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* @Description :
|
|
||||||
* @Reference :
|
|
||||||
* @Author : alwaysfrin
|
|
||||||
* @CreateDate : 2018-09-12 14:55
|
|
||||||
* @Modify:
|
|
||||||
**/
|
|
||||||
@Repository
|
|
||||||
public interface IFactoryStoreDao {
|
|
||||||
|
|
||||||
// List<FactoryStore> listFactoryStore();
|
|
||||||
|
|
||||||
|
|
||||||
}
|
|
@ -0,0 +1,34 @@
|
|||||||
|
package cn.estsh.i3plus.core.apiservice.serviceimpl.busi;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @Description :
|
||||||
|
* @Reference :
|
||||||
|
* @Author : alwaysfrin
|
||||||
|
* @CreateDate : 2018-11-09 10:00
|
||||||
|
* @Modify:
|
||||||
|
**/
|
||||||
|
public class ArraySort implements Runnable {
|
||||||
|
|
||||||
|
private String num;
|
||||||
|
|
||||||
|
public ArraySort(int num){
|
||||||
|
this.num = num + "";
|
||||||
|
}
|
||||||
|
|
||||||
|
public static void main(String[] args){
|
||||||
|
int[] num = {11,3,9,5,1,4,15};
|
||||||
|
for(int i=0;i<num.length;i++){
|
||||||
|
new Thread(new ArraySort(num[i])).start();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public void run() {
|
||||||
|
try {
|
||||||
|
Thread.sleep(Integer.parseInt(num));
|
||||||
|
System.out.println(num);
|
||||||
|
} catch (InterruptedException e) {
|
||||||
|
e.printStackTrace();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
Loading…
Reference in New Issue