Browse Source

解决资源名字和资源提供服务不能修改的问题。

zzy.zhiyuan.foxmail 8 years ago
parent
commit
5364dd8d10
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/main/java/com/ekexiu/portal/service/ResourceService.java

+ 1 - 1
src/main/java/com/ekexiu/portal/service/ResourceService.java

127
	
127
	
128
	@Get
128
	@Get
129
	@Path("/nameAndSupport")
129
	@Path("/nameAndSupport")
130
	public void updateNameAndSupport(@JdbcConn Connection con, String resourceId, 
130
	public void updateNameAndSupport(@JdbcConn(true) Connection con, String resourceId, 
131
			String resourceName, String supportedServices) throws SQLException{
131
			String resourceName, String supportedServices) throws SQLException{
132
		this.resourceDao.updateNameAndSupport(con, resourceId, resourceName, supportedServices);
132
		this.resourceDao.updateNameAndSupport(con, resourceId, resourceName, supportedServices);
133
	}
133
	}