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
66285939
Commit
66285939
authored
May 08, 2024
by
wancheng
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
拆弹派工生产组代码更新
parent
4fb39777
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
11 additions
and
4 deletions
+11
-4
ServiceHPSC005A.java
...java/com/baosight/hpjx/hp/sc/service/ServiceHPSC005A.java
+7
-3
HPXSOrg.xml
src/main/java/com/baosight/hpjx/hp/xs/sql/HPXSOrg.xml
+3
-0
HPSC005A.jsp
src/main/webapp/HP/SC/HPSC005A.jsp
+1
-1
No files found.
src/main/java/com/baosight/hpjx/hp/sc/service/ServiceHPSC005A.java
View file @
66285939
...
...
@@ -49,11 +49,15 @@ public class ServiceHPSC005A extends ServiceBase {
String
prodOrderNo
=
MapUtils
.
getString
(
queryMap
,
CommonConstant
.
Field
.
PROD_ORDER_NO
);
HPSC005
dbSc005
=
HPSCTools
.
HpSc005
.
get
(
prodOrderNo
);
inInfo
.
addBlock
(
CommonConstant
.
Field
.
DETAIL
).
addRow
(
dbSc005
);
queryMap
.
put
(
"userId"
,
UserSessionUtils
.
getUserId
());
queryMap
.
put
(
"userId"
,
dbSc005
.
getFactoryCode
());
queryMap
.
put
(
"orgType"
,
"prodGroup"
);
queryMap
.
put
(
HPSC005
.
FIELD_FACTORY_CODE
,
dbSc005
.
getFactoryCode
());
CommonMethod
.
initBlock
(
inInfo
,
Arrays
.
asList
(
DdynamicEnum
.
USER_GROUP_BLOCK_ID
),
queryMap
,
false
);
CommonMethod
.
initBlock
(
inInfo
,
Arrays
.
asList
(
DdynamicEnum
.
FACTORY_RECORD_BLOCK_ID
),
null
,
false
);
CommonMethod
.
initBlock
(
inInfo
,
Arrays
.
asList
(
DdynamicEnum
.
FACTORY_RECORD_BLOCK_ID
,
DdynamicEnum
.
GROUP_PRO_BLOCK_ID
),
new
HashMap
<
String
,
Object
>(){{
put
(
HPSC005
.
FIELD_FACTORY_CODE
,
dbSc005
.
getFactoryCode
());}},
false
);
CommonMethod
.
initBlock
(
inInfo
,
Arrays
.
asList
(
DdynamicEnum
.
FACTORY_RECORD_BLOCK_ID
,
DdynamicEnum
.
GROUP_RECORD_BLOCK_ID
),
queryMap
,
false
);
/*new HashMap<String,Object>(){{put(HPSC005.FIELD_FACTORY_CODE,dbSc005.getFactoryCode());}}*/
inInfo
.
addBlock
(
EiConstant
.
resultBlock
).
addBlockMeta
(
new
HPSC005A
().
eiMetadata
);
}
catch
(
Exception
e
)
{
LogUtils
.
setMsg
(
inInfo
,
e
,
"初始化失败"
);
...
...
src/main/java/com/baosight/hpjx/hp/xs/sql/HPXSOrg.xml
View file @
66285939
...
...
@@ -182,6 +182,9 @@
<isNotEmpty
prepend=
" AND "
property=
"orgType"
>
T3.ORG_TYPE = #orgType#
</isNotEmpty>
<isNotEmpty
prepend=
" AND "
property=
"factoryCode"
>
T3.FACTORY_CODE = #factoryCode#
</isNotEmpty>
ORDER BY T2.LEVEL, T3.ORG_ID
</select>
...
...
src/main/webapp/HP/SC/HPSC005A.jsp
View file @
66285939
...
...
@@ -50,7 +50,7 @@
<EF:EFColumn
ename=
"factoryName"
cname=
"工厂"
enable=
"false"
align=
"center"
hidden=
"true"
/>
--%>
<EF:EFComboColumn
ename=
"orgNo"
cname=
"生产组"
width=
"110"
align=
"center"
defaultValue=
""
required=
"true"
filter=
"contains"
readonly=
"true"
>
<EF:EFOptions
blockId=
"group_
pro
_block_id"
valueField=
"valueField"
textField=
"textField"
/>
<EF:EFOptions
blockId=
"group_
record
_block_id"
valueField=
"valueField"
textField=
"textField"
/>
</EF:EFComboColumn>
<EF:EFColumn
ename=
"orgName"
cname=
"生产组名称"
enable=
"false"
align=
"center"
hidden=
"true"
/>
<EF:EFColumn
ename=
"workDate"
cname=
"派工时间"
enable=
"false"
width=
"100"
align=
"center"
...
...
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