提交 91c8bfea 编写于 作者: zhouweidong's avatar zhouweidong

事务注解

上级 a4aca661
...@@ -2536,7 +2536,7 @@ ${deaction.getRender().code} ...@@ -2536,7 +2536,7 @@ ${deaction.getRender().code}
* @return * @return
*/ */
@Override @Override
<@transactionalAnno deaction/> @Transactional
public JSONObject importData(List<${de.codeName}> entities, int batchSize ,boolean isIgnoreError) { public JSONObject importData(List<${de.codeName}> entities, int batchSize ,boolean isIgnoreError) {
JSONObject rs=testImportData(entities,isIgnoreError); JSONObject rs=testImportData(entities,isIgnoreError);
...@@ -2569,7 +2569,7 @@ ${deaction.getRender().code} ...@@ -2569,7 +2569,7 @@ ${deaction.getRender().code}
* @param entities 数据 * @param entities 数据
* @param ids 要提交数据的id * @param ids 要提交数据的id
*/ */
<@transactionalAnno deaction/> @Transactional
public void commit(List<${de.codeName}> entities, Set ids){ public void commit(List<${de.codeName}> entities, Set ids){
String keyField= DEFieldCacheMap.getDEKeyField(${de.codeName}.class); String keyField= DEFieldCacheMap.getDEKeyField(${de.codeName}.class);
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册