Commit a975c1cd by 周添尉

...

parent 1d5309ee
...@@ -432,11 +432,11 @@ function updateData(is_entity){ ...@@ -432,11 +432,11 @@ function updateData(is_entity){
var v_result = appstoreModel.actAction.updateApp(is_entity); var v_result = appstoreModel.actAction.updateApp(is_entity);
//自动为授予角色用户默认安装 //自动为授予角色用户默认安装
var v_default_data = {}; /* var v_default_data = {};
v_default_data.FIELD_APP_ID = is_entity.FIELD_APP_ID; v_default_data.FIELD_APP_ID = is_entity.FIELD_APP_ID;
v_default_data.FIELD_G_ID = is_entity.FIELD_G_ID; v_default_data.FIELD_G_ID = is_entity.FIELD_G_ID;
v_default_data.FIELD_IS_DEFAULT = is_entity.FIELD_IS_DEFAULT v_default_data.FIELD_IS_DEFAULT = is_entity.FIELD_IS_DEFAULT
var v_result = appstoreModel.actAction.insertDefaultInstall(v_default_data); var v_result = appstoreModel.actAction.insertDefaultInstall(v_default_data);*/
$('#list').datagrid('reload', {}); $('#list').datagrid('reload', {});
return v_result; return v_result;
......
...@@ -254,7 +254,7 @@ public class actAction extends BasicAction{ ...@@ -254,7 +254,7 @@ public class actAction extends BasicAction{
if(StringUtils.isNotEmpty(is_default) && StringUtils.equals(is_default, "1")){ if(StringUtils.isNotEmpty(is_default) && StringUtils.equals(is_default, "1")){
business.insert_install(entityNew); business.insert_install(entityNew);
}else{ }else{
business.insert_uninstall(entityNew); //business.insert_uninstall(entityNew);
} }
} }
jsonObject.putAll(Status.getStatus(Status.INSERT_OK)); jsonObject.putAll(Status.getStatus(Status.INSERT_OK));
......
...@@ -133,7 +133,7 @@ ...@@ -133,7 +133,7 @@
<delete id="delete_app" parameterType="list"> <delete id="delete_app" parameterType="list">
<![CDATA[ <![CDATA[
delete APPS_APP where APP_ID IN delete from APPS_APP where APP_ID IN
]]> ]]>
<foreach collection="list" item="APP_ID" open="(" separator="," close=")"> <foreach collection="list" item="APP_ID" open="(" separator="," close=")">
#{APP_ID} #{APP_ID}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment