Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
H
hp-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
hp-smart
Commits
06ec3643
Commit
06ec3643
authored
Jan 25, 2024
by
yukang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
增加公司过滤
parent
63205c2c
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
6 additions
and
2 deletions
+6
-2
ServiceHPSC003.java
.../java/com/baosight/hpjx/hp/sc/service/ServiceHPSC003.java
+1
-1
ServiceHPSC098.java
.../java/com/baosight/hpjx/hp/sc/service/ServiceHPSC098.java
+4
-0
HPSC003.jsp
src/main/webapp/HP/SC/HPSC003.jsp
+1
-1
No files found.
src/main/java/com/baosight/hpjx/hp/sc/service/ServiceHPSC003.java
View file @
06ec3643
...
@@ -200,7 +200,7 @@ public class ServiceHPSC003 extends ServiceBase {
...
@@ -200,7 +200,7 @@ public class ServiceHPSC003 extends ServiceBase {
HPSC005
.
setNum
(
HPSC004
.
getNum
());
HPSC005
.
setNum
(
HPSC004
.
getNum
());
HPSC005
.
setTotalWt
(
HPSC004
.
getUnitWt
());
HPSC005
.
setTotalWt
(
HPSC004
.
getUnitWt
());
HPSC005
.
setStatus
(
0
);
HPSC005
.
setStatus
(
0
);
HPSC005
.
setFilePath1
(
HPSC004
.
get
Id
().
toString
());
HPSC005
.
setFilePath1
(
HPSC004
.
get
FilePath1
());
DaoUtils
.
insert
(
"HPSC005.insert"
,
HPSC005
.
toMap
());
DaoUtils
.
insert
(
"HPSC005.insert"
,
HPSC005
.
toMap
());
HPSC004
.
setProductionOrderNo
(
SCDD
);
HPSC004
.
setProductionOrderNo
(
SCDD
);
...
...
src/main/java/com/baosight/hpjx/hp/sc/service/ServiceHPSC098.java
View file @
06ec3643
package
com
.
baosight
.
hpjx
.
hp
.
sc
.
service
;
package
com
.
baosight
.
hpjx
.
hp
.
sc
.
service
;
import
com.baosight.hpjx.core.security.UserSessionUtils
;
import
com.baosight.hpjx.hp.sc.domain.HPSC004
;
import
com.baosight.hpjx.hp.sc.domain.HPSC004
;
import
com.baosight.hpjx.hp.sc.domain.HPSC005
;
import
com.baosight.hpjx.hp.sc.domain.HPSC005
;
import
com.baosight.iplat4j.core.ei.EiBlock
;
import
com.baosight.iplat4j.core.ei.EiBlock
;
...
@@ -10,6 +11,7 @@ import com.baosight.xservices.xs.og.domain.XSOG01;
...
@@ -10,6 +11,7 @@ import com.baosight.xservices.xs.og.domain.XSOG01;
import
java.util.HashMap
;
import
java.util.HashMap
;
import
java.util.List
;
import
java.util.List
;
import
java.util.Map
;
/**
/**
*
*
...
@@ -22,6 +24,7 @@ public class ServiceHPSC098 extends ServiceBase {
...
@@ -22,6 +24,7 @@ public class ServiceHPSC098 extends ServiceBase {
*/
*/
public
EiInfo
initLoad
(
EiInfo
inInfo
)
{
public
EiInfo
initLoad
(
EiInfo
inInfo
)
{
EiInfo
outInfo
=
new
EiInfo
();
EiInfo
outInfo
=
new
EiInfo
();
outInfo
.
set
(
"inqu_status-0-companyCode"
,
UserSessionUtils
.
getCompanyCode
());
outInfo
.
set
(
"inqu_status-0-orgCname"
,
inInfo
.
get
(
"inqu_status-0-orgCname"
));
outInfo
.
set
(
"inqu_status-0-orgCname"
,
inInfo
.
get
(
"inqu_status-0-orgCname"
));
outInfo
=
super
.
query
(
outInfo
,
"XSOG0801.queryOrgList"
,
new
XSOG01
());
outInfo
=
super
.
query
(
outInfo
,
"XSOG0801.queryOrgList"
,
new
XSOG01
());
EiBlock
r3Block
=
new
EiBlock
(
"result"
);
EiBlock
r3Block
=
new
EiBlock
(
"result"
);
...
@@ -38,6 +41,7 @@ public class ServiceHPSC098 extends ServiceBase {
...
@@ -38,6 +41,7 @@ public class ServiceHPSC098 extends ServiceBase {
EiBlock
eiBlock
=
outInfo
.
addBlock
(
"result"
);
EiBlock
eiBlock
=
outInfo
.
addBlock
(
"result"
);
HashMap
params
=
new
HashMap
();
HashMap
params
=
new
HashMap
();
params
.
put
(
"orgCname"
,
inInfo
.
get
(
"inqu_status-0-orgCname"
));
params
.
put
(
"orgCname"
,
inInfo
.
get
(
"inqu_status-0-orgCname"
));
params
.
put
(
"companyCode"
,
UserSessionUtils
.
getCompanyCode
());
List
list
=
dao
.
query
(
"XSOG0801.queryOrgList"
,
params
,
0
,-
999999
);
List
list
=
dao
.
query
(
"XSOG0801.queryOrgList"
,
params
,
0
,-
999999
);
outInfo
.
addBlock
(
EiConstant
.
resultBlock
).
addBlockMeta
(
XSOG01
.
eiMetadata
);
outInfo
.
addBlock
(
EiConstant
.
resultBlock
).
addBlockMeta
(
XSOG01
.
eiMetadata
);
outInfo
.
addBlock
(
EiConstant
.
resultBlock
).
addRows
(
list
);
outInfo
.
addBlock
(
EiConstant
.
resultBlock
).
addRows
(
list
);
...
...
src/main/webapp/HP/SC/HPSC003.jsp
View file @
06ec3643
...
@@ -20,7 +20,7 @@
...
@@ -20,7 +20,7 @@
<div
class=
"row"
>
<div
class=
"row"
>
<EF:EFInput
blockId=
"inqu_status"
ename=
"planInfoNo"
colWidth=
"3"
cname=
"生产计划单号:"
row=
"0"
/>
<EF:EFInput
blockId=
"inqu_status"
ename=
"planInfoNo"
colWidth=
"3"
cname=
"生产计划单号:"
row=
"0"
/>
<EF:EFDatePicker
blockId=
"inqu_status"
ename=
"planCompletionDate"
colWidth=
"3"
cname=
"计划完成日期:"
<EF:EFDatePicker
blockId=
"inqu_status"
ename=
"planCompletionDate"
colWidth=
"3"
cname=
"计划完成日期:"
format=
"yyyy-MM-dd"
required=
"true"
/>
format=
"yyyy-MM-dd"
/>
<EF:EFSelect
cname=
"状态:"
optionLabel=
"全部"
blockId=
"inqu_status"
colWidth=
"3"
ename=
"status"
row=
"0"
>
<EF:EFSelect
cname=
"状态:"
optionLabel=
"全部"
blockId=
"inqu_status"
colWidth=
"3"
ename=
"status"
row=
"0"
>
<EF:EFOption
label=
"未审核"
value=
"0"
/>
<EF:EFOption
label=
"未审核"
value=
"0"
/>
<EF:EFOption
label=
"已审核"
value=
"1"
/>
<EF:EFOption
label=
"已审核"
value=
"1"
/>
...
...
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