Merge remote-tracking branch 'origin/5.0.2'
持久层增加一组updateByKeys操作方法,批量更新记录,支持的key类型有int,string,long,short,使用示例:
public void deleteBatchSmUser(String[] userIds,String user_deltype)
throws SmUserException {
TransactionManager tm = new TransactionManager();
try {
tm.begin();
if(user_deltype == null ||
user_deltype.equals("0"))//逻辑删除,采用批量更新方法,对应得SQL语句为:
{
executor.updateByKeys("logicDeleteUsers", userIds);
}
else
{
executor.deleteByKeys("deleteByKey", userIds);//物理删除
}
tm.commit();
} catch (Throwable e) {
throw new SmUserException("batch delete SmUser failed::userIds=" +
userIds, e);
} finally {
tm.release();
}
}
对应得批量更新sql配置-logicDeleteUsers
<property name="logicDeleteUsers">
<![CDATA[
update td_sm_user set USER_ISVALID=0 where USER_ID=?
]]>
</property>
<config
file="file:F:/workspace/bboss/bboss-core/test/org/frameworkset/spi/variable/ioc-var.properties"/>
通过file:前缀指定物理路径,默认是classpath目录下的路径
Merge remote-tracking branch 'origin/5.0.0'
更新bboss框架jar包
修改ant构建指令,依赖buildtool项目进行构建
国际化功能改造:可以为localeResolver指定defaultLanguage默认语言
<property name="localeResolver"
class="org.frameworkset.web.servlet.i18n.CookieLocaleResolver"
f:cookielocalkey="cookie.localkey" defaultLanguage="zh_CN"
/>
改进ant构建脚本
改进jvm退出时FileContentCache没有正确关闭扫描进程的问题
Merge remote-tracking branch 'origin/master' into 4.10.0
Conflicts:
bboss-mvc/WebRoot/WEB-INF/lib/ditchnet-tabs-taglib.jar
bboss-mvc/WebRoot/WEB-INF/lib/frameworkset.jar
bboss-mvc/WebRoot/WEB-INF/lib/htmlparser-1.5-20050925.jar
bboss-mvc/WebRoot/WEB-INF/pager-taglib.tld
bboss-plugin-wordpdf/lib-depends/frameworkset.jar
bboss 源码github托管地址:
https://github.com/bbossgroups/bbossgroups-3.5
svn下载地址
https://github.com/bbossgroups/bbossgroups-3.5/trunk
bboss demos源码github托管地址:
https://github.com/bbossgroups/bestpractice
svn下载地址
https://github.com/bbossgroups/bestpractice/trunk
基于bboss的开源工作流Activiti5.12 github托管地址
https://github.com/yin-bp/activiti-engine-5.12
svn下载地址
https://github.com/yin-bp/activiti-engine-5.12/trunk
自动代码生成框架github源码托管地址和svn下载地址:
github源码托管地址
https://github.com/bbossgroups/bboss-gencode
svn下载地址
https://github.com/bbossgroups/bboss-gencode/trunk
bboss大数据抽取工具db-hdfs github托管地址
https://github.com/bbossgroups/bigdatas
svn下载地址
https://github.com/bbossgroups/bigdatas/trunk
bboss设计相关文档托管地址
https://github.com/bbossgroups/bboss-document
svn下载地址
https://github.com/bbossgroups/bboss-document/trunk
会话监控主界面点击应用查看应用会话时,重置查询条件
完善监控模块中session有效状态的显示,session有效时间小于等于0时监控界面中session有效状态显示不对。
1.标签库true和false标签增加typeof属性,用来检测标签数据类型是否是typeof给定的类型,typeof可以字符串类型的类路径,也可以直接是Class对象
2.解决标签库表达式中部分内置变量前的嵌套索引号不起作用的bug