- 浏览: 9575 次
- 性别:
- 来自: 上海
最新评论
文章列表
select *,sum(sri.RI_REQUIREMENT_OFFER_MONEY),count(str.UR_SEQ) ,avg(sue.UE_EVALUATE_SCORE)
from SFRLF_TEAM_INFO sti
left outer join SFRLF_TEAM_REQUIREMENT str
on str.UR_TEAM_ID=sti.TN_TEAM_ID
and str.UR_STATUS='0'
left outer join SFRLF_USER_EVALUATE sue
on sue.UE_TEAM_ID=sti.TN_TEAM_ID
a ...
@GET
@Path("/images/{id}.{type}")
public StreamingOutput getImages(@Context final HttpServletResponse response, @Context HttpServletRequest request, @PathParam("id") long id) throws IOException {
byte[] info = null;
File file = new File("d://test" + id + ".png ...
package com.sf.portal.teamInfo.model;
import java.util.HashSet;
import java.util.Set;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.ManyToMany; ...
package com.sf.portal.teamInfo.model;
import java.util.HashSet;
import java.util.Set;
import com.google.common.base.Objects;
import javax.persistence.*;
@Entity
@Table(name = "SFRLF_TEAM_INFO")
public class TeamInfo {
@Id
@GeneratedValue(strategy = GenerationType.IDENTITY)
@ ...
SIT 后台启动命令 ./gradlew.bat jR
./gradlew.bat jettyRun
gradle jettyRun
gradle JettyRunWar (打包)
SIT jenkins 10.118.40.210:8080
sit 10.118.40.211 log /app/sfows/sf-service-web/logs
opencms 10.118.40.211:8080/opencms/opencms/system/workplace/views/workplace.jsp
sit 挂载open ...
su -oracle
sqlplus / as sysdba
startup
exit
lsnrctl start
ps -ef|grep oracle
# Stopping Docker and removing docker0 sudo service docker stop
sudo ip link set dev docker0 down
sudo brctl delbr docker0 # Create our own bridge sudo brctl addbr bridge0
sudo ip addr add 192.168.5.1/24 dev bridge0
sudo ip link set dev bridge0 up # Confirming that our bridge is up and running ip add ...
以前用过 jxl包 和 POI包,现在发现jxl已经不支持excel 2007了。。。只好用POI了,
那来看看我走过的弯路。。。
1,下载poi-3.8 然后发现 仅仅用一个jar是不可以滴,
2,需要poi-3.8.jar
poi-ooxml-3.8.jar
dom4j-1.6.1.jar
xml-apis-1.0b2.jar
commons-codec-1.5.jar
xmlbeans-2.40.jar
poi-ooxml-schemas-3.8.jar
对于用java开发小程序 真是一窍不通 最后在网络上看到个计算器 好东西啊,swing 基本不会,
看到几个内部类 和构造函数里面放监 ...
mysql -u root -p
create database biobank;
use biobank;
mysql->source 路径/xx.sql
create user 'dummy'@'localhost' IDENTIFIED BY 'ozzy498';
grant all privileges on biobank.* to 'dummy'@'localhost' ;
reset password=>set password for 'dummy'@localhost=password('ozzy498');
SELECT DISTINCT CO ...
先进入 主文件
cd ~
vi .bashrc
export ANT_HOME=/opt/apache-ant-1.8.4
export ECLIPSE_HOME=/opt/eclipse/
export JBOSS_HOME=/usr/local/jboss-4.0.5.GA/
PATH=$PATH:/opt/apache-ant-1.8.4/bin:/opt/eclipse/
JAVA_HOME=/usr/jdk1.6.0_35/
export JRE_HOME=/usr/jdk1.6.0_35/jre
export CLASSPATH=$JAVA_HOME/lib:$JRE_HOME ...