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
700a333e
Commit
700a333e
authored
Oct 24, 2024
by
江和松
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
详情选择下拉存货编码没有显示,实际存货档案有数据bug修改
parent
73fd3bb0
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
17 additions
and
20 deletions
+17
-20
ServiceHGKC007A.java
...java/com/baosight/hggp/hg/kc/service/ServiceHGKC007A.java
+17
-20
No files found.
src/main/java/com/baosight/hggp/hg/kc/service/ServiceHGKC007A.java
View file @
700a333e
...
...
@@ -2,18 +2,17 @@ package com.baosight.hggp.hg.kc.service;
import
com.baosight.hggp.aspect.annotation.OperationLogAnnotation
;
import
com.baosight.hggp.common.DdynamicEnum
;
import
com.baosight.hggp.co
mmon.InventTypeDetailEnum
;
import
com.baosight.hggp.co
re.constant.CommonConstant
;
import
com.baosight.hggp.core.dao.DaoUtils
;
import
com.baosight.hggp.core.security.UserSessionUtils
;
import
com.baosight.hggp.hg.constant.HGConstant
;
import
com.baosight.hggp.hg.kc.domain.*
;
import
com.baosight.hggp.hg.kc.domain.HGKC007
;
import
com.baosight.hggp.hg.kc.domain.HGKC007A
;
import
com.baosight.hggp.hg.kc.tools.HGKCTools
;
import
com.baosight.hggp.hg.
kc.utils.HGKCUtils
;
import
com.baosight.hggp.hg.
pz.domain.HGPZ004
;
import
com.baosight.hggp.hg.xs.
tools.HGXSTools
;
import
com.baosight.hggp.hg.
sb.domain.HGSB001
;
import
com.baosight.hggp.hg.
sb.tools.HGSBTools
;
import
com.baosight.hggp.hg.xs.
domain.Company
;
import
com.baosight.hggp.util.AssertUtils
;
import
com.baosight.hggp.util.CommonMethod
;
import
com.baosight.hggp.util.EiInfoUtils
;
...
...
@@ -23,7 +22,6 @@ import com.baosight.iplat4j.core.ei.EiConstant;
import
com.baosight.iplat4j.core.ei.EiInfo
;
import
com.baosight.iplat4j.core.exception.PlatException
;
import
com.baosight.iplat4j.core.service.impl.ServiceBase
;
import
com.baosight.iplat4j.ed.util.SequenceGenerator
;
import
java.util.*
;
...
...
@@ -44,25 +42,24 @@ public class ServiceHGKC007A extends ServiceBase {
@Override
@OperationLogAnnotation
(
operModul
=
"其他出库明细"
,
operType
=
"查询"
,
operDesc
=
"初始化"
)
public
EiInfo
initLoad
(
EiInfo
inInfo
)
{
EiInfo
outInfo
=
super
.
initLoad
(
inInfo
,
new
HGKC007A
());
try
{
String
whCode
=
inInfo
.
getCellStr
(
EiConstant
.
queryBlock
,
ACConstants
.
ROW_CODE_0
,
HGKC007A
.
FIELD_WH_CODE
);
String
companyCode
=
inInfo
.
getCellStr
(
EiConstant
.
queryBlock
,
ACConstants
.
ROW_CODE_0
,
HGKC007A
.
FIELD_COMPANY_CODE
);
Map
map
=
new
HashMap
();
map
.
put
(
HGKC007A
.
FIELD_ACCOUNT_CODE
,
UserSessionUtils
.
getAccountCode
());
map
.
put
(
HGKC007A
.
FIELD_WH_CODE
,
whCode
);
map
.
put
(
HGKC007A
.
FIELD_COMPANY_CODE
,
companyCode
);
map
.
put
(
HGPZ004
.
FIELD_INVENT_TYPE_DETAILS
,
InventTypeDetailEnum
.
getProdTypeFour
());
CommonMethod
.
initBlock
(
inInfo
,
EiInfoUtils
.
addBlock
(
outInfo
,
"roleCompany"
,
UserSessionUtils
.
getRoleCompany
(),
Company
.
class
);
List
<
String
>
roleCompanyCode
=
HGSBTools
.
getRoleCompanyCode
();
CommonMethod
.
initBlock
(
outInfo
,
Arrays
.
asList
(
DdynamicEnum
.
INVENT_TYPE_BOX_BLOCK_ID
,
DdynamicEnum
.
INVENT_CODE_BOX_BLOCK_ID
,
DdynamicEnum
.
SPEC_BOX_BLOCK_ID
),
map
,
false
);
inInfo
.
addBlock
(
EiConstant
.
resultBlock
).
addBlockMeta
(
new
HGKC007A
().
eiMetadata
);
}
catch
(
PlatException
e
)
{
LogUtils
.
setDetailMsg
(
inInfo
,
e
,
"初始化失败"
);
DdynamicEnum
.
SPEC_BOX_BLOCK_ID
),
new
HashMap
<
String
,
Object
>(){{
put
(
HGSB001
.
FIELD_COMPANY_CODES
,
roleCompanyCode
);
put
(
HGKC013A
.
FIELD_DELETE_FLAG
,
CommonConstant
.
YesNo
.
NO_0
);
}},
false
);
outInfo
.
addBlock
(
EiConstant
.
resultBlock
).
addBlockMeta
(
new
HGKC007A
().
eiMetadata
);
}
catch
(
Exception
e
){
LogUtils
.
setDetailMsg
(
outInfo
,
e
,
"初始化失败"
);
}
return
in
Info
;
return
out
Info
;
}
/**
...
...
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