Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
H
hg-smart
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
platform
hg-smart
Commits
375977d4
Commit
375977d4
authored
Oct 12, 2024
by
宋祥
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'dev-sx' of
http://git.pseer.com:8800/platform/hg-smart
into dev
parents
c5a291b6
ea449b73
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
24 additions
and
7 deletions
+24
-7
ServiceHGSC101A.java
...java/com/baosight/hggp/hg/sc/service/ServiceHGSC101A.java
+4
-0
HgWdSqlConstant.java
...ava/com/baosight/hggp/hg/wd/constant/HgWdSqlConstant.java
+2
-0
HGWD001.xml
src/main/java/com/baosight/hggp/hg/wd/sql/HGWD001.xml
+10
-0
XS40.js
src/main/webapp/XS/XS40.js
+2
-3
XS40.jsp
src/main/webapp/XS/XS40.jsp
+6
-4
No files found.
src/main/java/com/baosight/hggp/hg/sc/service/ServiceHGSC101A.java
View file @
375977d4
...
@@ -6,6 +6,8 @@ import com.baosight.hggp.hg.constant.HGConstant;
...
@@ -6,6 +6,8 @@ import com.baosight.hggp.hg.constant.HGConstant;
import
com.baosight.hggp.hg.sc.constant.HgScSqlConstant
;
import
com.baosight.hggp.hg.sc.constant.HgScSqlConstant
;
import
com.baosight.hggp.hg.sc.domain.HGSC001
;
import
com.baosight.hggp.hg.sc.domain.HGSC001
;
import
com.baosight.hggp.hg.sc.tools.HGSCTools
;
import
com.baosight.hggp.hg.sc.tools.HGSCTools
;
import
com.baosight.hggp.hg.wd.constant.HgWdSqlConstant
;
import
com.baosight.hggp.hg.wd.tools.HGWDTools
;
import
com.baosight.hggp.util.AssertUtils
;
import
com.baosight.hggp.util.AssertUtils
;
import
com.baosight.hggp.util.CommonMethod
;
import
com.baosight.hggp.util.CommonMethod
;
import
com.baosight.hggp.util.EiInfoUtils
;
import
com.baosight.hggp.util.EiInfoUtils
;
...
@@ -100,6 +102,8 @@ public class ServiceHGSC101A extends ServiceEPBase {
...
@@ -100,6 +102,8 @@ public class ServiceHGSC101A extends ServiceEPBase {
private
void
modifyData
(
HGSC001
fSc001
)
{
private
void
modifyData
(
HGSC001
fSc001
)
{
Map
map
=
fSc001
.
toMap
();
Map
map
=
fSc001
.
toMap
();
DaoUtils
.
update
(
HgScSqlConstant
.
HgSc001
.
UPDATE_FOR_DC
,
map
);
DaoUtils
.
update
(
HgScSqlConstant
.
HgSc001
.
UPDATE_FOR_DC
,
map
);
// 同步更新文档库
DaoUtils
.
update
(
HgWdSqlConstant
.
HgWd001
.
UPDATE_PROJECT
,
map
);
}
}
/**
/**
...
...
src/main/java/com/baosight/hggp/hg/wd/constant/HgWdSqlConstant.java
View file @
375977d4
...
@@ -20,6 +20,8 @@ public class HgWdSqlConstant {
...
@@ -20,6 +20,8 @@ public class HgWdSqlConstant {
public
static
final
String
COUNT_BY_TYPE
=
"HGWD001.countByType"
;
public
static
final
String
COUNT_BY_TYPE
=
"HGWD001.countByType"
;
// 搜索树节点
// 搜索树节点
public
static
final
String
SEARCH_TREE_NODE
=
"HGWD001.searchTreeNode"
;
public
static
final
String
SEARCH_TREE_NODE
=
"HGWD001.searchTreeNode"
;
// 修改项目
public
static
final
String
UPDATE_PROJECT
=
"HGWD001.updateProject"
;
}
}
/**
/**
...
...
src/main/java/com/baosight/hggp/hg/wd/sql/HGWD001.xml
View file @
375977d4
...
@@ -360,4 +360,14 @@
...
@@ -360,4 +360,14 @@
ORDER BY T3.FILE_ID ASC
ORDER BY T3.FILE_ID ASC
</select>
</select>
<!-- 修改项目信息 -->
<sql
id=
"updateProject"
>
UPDATE ${hggpSchema}.HGWD001
SET
PROJ_NAME = #projName#,
PROJ_TYPE = #projType#,
<include
refid=
"SqlBase.updateRevise"
/>
WHERE PROJ_CODE = #projCode#
</sql>
</sqlMap>
</sqlMap>
src/main/webapp/XS/XS40.js
View file @
375977d4
...
@@ -259,7 +259,7 @@ $(function () {
...
@@ -259,7 +259,7 @@ $(function () {
EiCommunicator
.
send
(
"XS03"
,
"queryParentGroups"
,
eiInfo
,
{
EiCommunicator
.
send
(
"XS03"
,
"queryParentGroups"
,
eiInfo
,
{
onSuccess
:
function
(
ei
)
{
onSuccess
:
function
(
ei
)
{
var
message
=
ei
.
getMsg
();
var
message
=
ei
.
getMsg
();
IPLAT
.
confirm
(
message
+
"确认要
删除["
+
data
.
text
+
"]的信息
吗?"
,
function
(
e
)
{
IPLAT
.
confirm
(
message
+
"确认要
从角色树中移除["
+
data
.
text
+
"]
吗?"
,
function
(
e
)
{
var
eiInfo
=
new
EiInfo
();
var
eiInfo
=
new
EiInfo
();
eiInfo
.
set
(
"groupId"
,
groupId
);
eiInfo
.
set
(
"groupId"
,
groupId
);
eiInfo
.
set
(
"groupEname"
,
groupEname
);
eiInfo
.
set
(
"groupEname"
,
groupEname
);
...
@@ -673,4 +673,4 @@ window.onload = () => {
...
@@ -673,4 +673,4 @@ window.onload = () => {
}
}
resetGridHeight
()
resetGridHeight
()
}
}
\ No newline at end of file
src/main/webapp/XS/XS40.jsp
View file @
375977d4
...
@@ -71,14 +71,16 @@
...
@@ -71,14 +71,16 @@
<li data-type="create">
<li data-type="create">
<span style="font-size: 16px; width: 16px; vertical-align: middle;" class="fa fa-plus"></span>新增
<span style="font-size: 16px; width: 16px; vertical-align: middle;" class="fa fa-plus"></span>新增
</li>
</li>
<li data-type="edit" id="isEdit">
<span style="font-size: 16px; width: 16px; vertical-align: middle;" class="fa fa-pencil"></span>编辑
</li>
<li data-type="delete" id="isDel">
<li data-type="delete" id="isDel">
<span style="font-size: 16px; width: 16px; vertical-align: middle;"
<span style="font-size: 16px; width: 16px; vertical-align: middle;"
class="fa fa-minus-circle"></span>删除
class="fa fa-minus-circle"></span>移除
</li>
<li data-type="edit" id="isEdit">
<span style="font-size: 16px; width: 16px; vertical-align: middle;" class="fa fa-pencil"></span>编辑
</li>
</li>
</ul>
</ul>
<br/>
<span style="color: red; ">说明:"删除角色"需要到用户信息管理->角色管理界面进行操作</span><br>
</EF:EFRegion>
</EF:EFRegion>
</div>
</div>
<div id="right-pane" class="i-fit-height">
<div id="right-pane" class="i-fit-height">
...
...
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