Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
J
jfV4platform
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
管理员
jfV4platform
Commits
a975c1cd
Commit
a975c1cd
authored
May 08, 2018
by
周添尉
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
...
parent
1d5309ee
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
4 additions
and
4 deletions
+4
-4
appsTab.js
WebContent/jwapp/pages/apps/js/appsTab.js
+2
-2
actAction.java
src_jwapp/com/jw/app/apps/action/actAction.java
+1
-1
AppsDAO.xml
src_jwapp/com/jw/app/business/apps/AppsDAO.xml
+1
-1
No files found.
WebContent/jwapp/pages/apps/js/appsTab.js
View file @
a975c1cd
...
...
@@ -432,11 +432,11 @@ function updateData(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_G_ID = is_entity.FIELD_G_ID;
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'
,
{});
return
v_result
;
...
...
src_jwapp/com/jw/app/apps/action/actAction.java
View file @
a975c1cd
...
...
@@ -254,7 +254,7 @@ public class actAction extends BasicAction{
if
(
StringUtils
.
isNotEmpty
(
is_default
)
&&
StringUtils
.
equals
(
is_default
,
"1"
)){
business
.
insert_install
(
entityNew
);
}
else
{
business
.
insert_uninstall
(
entityNew
);
//
business.insert_uninstall(entityNew);
}
}
jsonObject
.
putAll
(
Status
.
getStatus
(
Status
.
INSERT_OK
));
...
...
src_jwapp/com/jw/app/business/apps/AppsDAO.xml
View file @
a975c1cd
...
...
@@ -133,7 +133,7 @@
<delete
id=
"delete_app"
parameterType=
"list"
>
<![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=
")"
>
#{APP_ID}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment