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
8f5e564b
Commit
8f5e564b
authored
Aug 22, 2024
by
宋祥
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'dev-sx' of
http://129.211.46.84:8800/platform/hg-smart
Conflicts: src/main/resources/application.properties
parents
50765dfc
56725d6e
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
23 additions
and
5 deletions
+23
-5
HGDM099.xml
src/main/java/com/baosight/hggp/hg/dm/sql/HGDM099.xml
+1
-1
HGSC001.xml
src/main/java/com/baosight/hggp/hg/sc/sql/HGSC001.xml
+2
-1
ServiceHGSJ001.java
.../java/com/baosight/hggp/hg/sj/service/ServiceHGSJ001.java
+20
-3
No files found.
src/main/java/com/baosight/hggp/hg/dm/sql/HGDM099.xml
View file @
8f5e564b
...
@@ -29,7 +29,7 @@
...
@@ -29,7 +29,7 @@
<sql
id=
"condition"
>
<sql
id=
"condition"
>
AND A.DELETE_FLAG = '0'
AND A.DELETE_FLAG = '0'
<include
refid=
"
SqlBase.authCondition
"
/>
<include
refid=
"
HGXSDataAuth.authConditionA
"
/>
<isNotEmpty
prepend=
" AND "
property=
"id"
>
<isNotEmpty
prepend=
" AND "
property=
"id"
>
A.ID = #id#
A.ID = #id#
</isNotEmpty>
</isNotEmpty>
...
...
src/main/java/com/baosight/hggp/hg/sc/sql/HGSC001.xml
View file @
8f5e564b
...
@@ -296,7 +296,8 @@
...
@@ -296,7 +296,8 @@
SET
SET
COMPANY_CODE = #companyCode#,
COMPANY_CODE = #companyCode#,
COMPANY_NAME = #companyName#,
COMPANY_NAME = #companyName#,
PROJ_NAME = #projName#
PROJ_NAME = #projName#,
<include
refid=
"SqlBase.updateRevise"
/>
WHERE PROJ_CODE = #projCode#
WHERE PROJ_CODE = #projCode#
</update>
</update>
...
...
src/main/java/com/baosight/hggp/hg/sj/service/ServiceHGSJ001.java
View file @
8f5e564b
...
@@ -173,13 +173,13 @@ public class ServiceHGSJ001 extends ServiceEPBase {
...
@@ -173,13 +173,13 @@ public class ServiceHGSJ001 extends ServiceEPBase {
public
List
<
String
>
getOrgId
(){
public
List
<
String
>
getOrgId
(){
Map
<
String
,
Object
>
orgMap
=
new
HashMap
();
Map
<
String
,
Object
>
orgMap
=
new
HashMap
();
List
<
Org
>
orgList
=
HGXSTools
.
XsOrg
.
queryByUser
();
List
<
Org
>
orgList
=
HGXSTools
.
XsOrg
.
queryByUser
();
if
(
CollectionUtils
.
isNotEmpty
(
orgList
))
{
if
(
CollectionUtils
.
isNotEmpty
(
orgList
))
{
Org
org
=
orgList
.
get
(
0
);
Org
org
=
orgList
.
get
(
0
);
if
(!
org
.
getOrgType
().
equals
(
"company"
))
{
if
(!
org
.
getOrgType
().
equals
(
"company"
))
{
//如果不是公司公司,则找到上一级
//如果不是公司公司,则找到上一级
Org
org1
=
HGXSTools
.
XsOrg
.
queryCompany
(
org
.
getOrgId
());
Org
org1
=
HGXSTools
.
XsOrg
.
queryCompany
(
org
.
getOrgId
());
orgMap
.
put
(
"orgId"
,
org1
.
getParentOrgId
());
orgMap
.
put
(
"orgId"
,
org1
.
getParentOrgId
());
}
else
{
}
else
{
orgMap
.
put
(
"orgId"
,
org
.
getParentOrgId
());
orgMap
.
put
(
"orgId"
,
org
.
getParentOrgId
());
}
}
}
}
...
@@ -194,4 +194,21 @@ public class ServiceHGSJ001 extends ServiceEPBase {
...
@@ -194,4 +194,21 @@ public class ServiceHGSJ001 extends ServiceEPBase {
return
strList
;
return
strList
;
}
}
/**
* 下拉框
*
* @param inInfo
* @return
*/
@OperationLogAnnotation
(
operModul
=
"仓库档案"
,
operType
=
"查询"
,
operDesc
=
"下拉框"
)
public
EiInfo
queryComboBox
(
EiInfo
inInfo
)
{
try
{
List
<
DdynamicEnum
>
list
=
new
ArrayList
<>();
list
.
add
(
DdynamicEnum
.
PROCESS_CODE_BLOCK_ID
);
CommonMethod
.
initBlock
(
inInfo
,
list
,
EiInfoUtils
.
getFirstRow
(
inInfo
),
false
);
}
catch
(
Exception
e
)
{
LogUtils
.
setDetailMsg
(
inInfo
,
e
,
"查询工序失败"
);
}
return
inInfo
;
}
}
}
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