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
257cf447
Commit
257cf447
authored
Nov 19, 2024
by
liuyang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
调整驾驶舱工厂选择
parent
2d000bb4
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
11 additions
and
5 deletions
+11
-5
ServiceHGSC007.java
.../java/com/baosight/hggp/hg/sc/service/ServiceHGSC007.java
+9
-3
HGKC006.jsp
src/main/webapp/HG/KC/HGKC006.jsp
+2
-2
No files found.
src/main/java/com/baosight/hggp/hg/sc/service/ServiceHGSC007.java
View file @
257cf447
...
...
@@ -399,9 +399,15 @@ public class ServiceHGSC007 extends ServiceEPBase {
List
<
Org
>
factoryCodes
=
new
ArrayList
<>();
try
{
List
<
String
>
roleCompanyCode
=
HGSBTools
.
getRoleCompanyCode
();
Optional
.
ofNullable
(
roleCompanyCode
).
orElse
(
new
ArrayList
<>()).
stream
().
forEach
(
code
->
{
factoryCodes
.
addAll
(
HGXSTools
.
XsOrg
.
queryByParent
(
code
,
OrgTypeEnum
.
FACTORY
.
getCode
()));
});
String
accountCode
=
UserSessionUtils
.
getAccountCode
();
if
(
"Q24072514"
.
equals
(
accountCode
)){
factoryCodes
.
addAll
(
HGXSTools
.
XsOrg
.
queryByParent
(
"R24072632"
,
OrgTypeEnum
.
FACTORY
.
getCode
()));
}
else
{
Optional
.
ofNullable
(
roleCompanyCode
).
orElse
(
new
ArrayList
<>()).
stream
().
forEach
(
code
->
{
factoryCodes
.
addAll
(
HGXSTools
.
XsOrg
.
queryByParent
(
code
,
OrgTypeEnum
.
FACTORY
.
getCode
()));
});
}
List
list
=
factoryCodes
.
stream
()
.
filter
(
o
->
com
.
baosight
.
hggp
.
util
.
StringUtils
.
equals
(
o
.
getOrgType
(),
OrgTypeEnum
.
FACTORY
.
getCode
()))
.
map
(
item
->
new
Factory
(
item
.
getCompanyCode
(),
item
.
getCompanyName
(),
item
.
getOrgId
(),
...
...
src/main/webapp/HG/KC/HGKC006.jsp
View file @
257cf447
...
...
@@ -59,10 +59,10 @@
<EF:EFColumn
ename=
"otherEnterNo"
cname=
"其他入库单号"
enable=
"false"
width=
"140"
align=
"center"
/>
<EF:EFColumn
ename=
"whCode"
cname=
"仓库名称"
width=
"120"
align=
"center"
required=
"true"
/>
<EF:EFColumn
ename=
"whName"
cname=
"仓库名称"
hidden=
"true"
/>
<EF:EFComboColumn
cname=
"状态"
ename=
"submitStatus"
width=
"90"
align=
"center"
enable=
"false"
>
<EF:EFComboColumn
cname=
"状态"
ename=
"submitStatus"
width=
"90"
align=
"center"
enable=
"false"
defaultValue=
"0"
>
<EF:EFCodeOption
codeName=
"hggp.hpkc.submitStatus"
/>
</EF:EFComboColumn>
<EF:EFComboColumn
cname=
"数据来源"
ename=
"source"
width=
"90"
align=
"center"
enable=
"false"
>
<EF:EFComboColumn
cname=
"数据来源"
ename=
"source"
width=
"90"
align=
"center"
enable=
"false"
defaultValue=
"1"
>
<EF:EFCodeOption
codeName=
"hggp.hpkc.source"
/>
</EF:EFComboColumn>
</EF:EFGrid>
...
...
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