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
0b5a1219
Commit
0b5a1219
authored
Dec 03, 2024
by
liuyang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1、采购收票格式日期
2、用户下拉框添加企业账套条件
parent
09d2cc53
Hide whitespace changes
Inline
Side-by-side
Showing
25 changed files
with
116 additions
and
72 deletions
+116
-72
ServiceHPBG001.java
.../java/com/baosight/hpjx/hp/bg/service/ServiceHPBG001.java
+3
-5
ServiceHPBG002.java
.../java/com/baosight/hpjx/hp/bg/service/ServiceHPBG002.java
+2
-1
ServiceHPBG002A.java
...java/com/baosight/hpjx/hp/bg/service/ServiceHPBG002A.java
+3
-5
ServiceHPBG002B.java
...java/com/baosight/hpjx/hp/bg/service/ServiceHPBG002B.java
+3
-1
ServiceHPBG002C.java
...java/com/baosight/hpjx/hp/bg/service/ServiceHPBG002C.java
+3
-5
ServiceHPBG003.java
.../java/com/baosight/hpjx/hp/bg/service/ServiceHPBG003.java
+2
-1
ServiceHPBG003A.java
...java/com/baosight/hpjx/hp/bg/service/ServiceHPBG003A.java
+3
-5
ServiceHPBG003B.java
...java/com/baosight/hpjx/hp/bg/service/ServiceHPBG003B.java
+3
-1
ServiceHPBG003C.java
...java/com/baosight/hpjx/hp/bg/service/ServiceHPBG003C.java
+3
-5
ServiceHPBG004.java
.../java/com/baosight/hpjx/hp/bg/service/ServiceHPBG004.java
+3
-5
HPCW002.java
src/main/java/com/baosight/hpjx/hp/cw/domain/HPCW002.java
+1
-1
ServiceHPFW001B.java
...java/com/baosight/hpjx/hp/fw/service/ServiceHPFW001B.java
+4
-2
ServiceHPFW002B.java
...java/com/baosight/hpjx/hp/fw/service/ServiceHPFW002B.java
+4
-2
ServiceHPFW003B.java
...java/com/baosight/hpjx/hp/fw/service/ServiceHPFW003B.java
+7
-2
ServiceHPFW004B.java
...java/com/baosight/hpjx/hp/fw/service/ServiceHPFW004B.java
+7
-2
ServiceHPKC012.java
.../java/com/baosight/hpjx/hp/kc/service/ServiceHPKC012.java
+5
-1
ServiceHPPZ007.java
.../java/com/baosight/hpjx/hp/pz/service/ServiceHPPZ007.java
+5
-1
ServiceHPSB003A.java
...java/com/baosight/hpjx/hp/sb/service/ServiceHPSB003A.java
+6
-1
ServiceHPYX001.java
.../java/com/baosight/hpjx/hp/yx/service/ServiceHPYX001.java
+6
-5
ServiceHPYX005.java
.../java/com/baosight/hpjx/hp/yx/service/ServiceHPYX005.java
+5
-5
ServiceHPYX005B.java
...java/com/baosight/hpjx/hp/yx/service/ServiceHPYX005B.java
+5
-1
ServiceHPYX005C.java
...java/com/baosight/hpjx/hp/yx/service/ServiceHPYX005C.java
+5
-1
ServiceHPYX006.java
.../java/com/baosight/hpjx/hp/yx/service/ServiceHPYX006.java
+5
-5
ServiceHPZL001.java
.../java/com/baosight/hpjx/hp/zl/service/ServiceHPZL001.java
+12
-5
ServiceHPZL004B.java
...java/com/baosight/hpjx/hp/zl/service/ServiceHPZL004B.java
+11
-4
No files found.
src/main/java/com/baosight/hpjx/hp/bg/service/ServiceHPBG001.java
View file @
0b5a1219
...
...
@@ -4,6 +4,7 @@ import com.baosight.hpjx.aspect.annotation.OperationLogAnnotation;
import
com.baosight.hpjx.common.DdynamicEnum
;
import
com.baosight.hpjx.core.constant.CommonConstant
;
import
com.baosight.hpjx.core.dao.DaoUtils
;
import
com.baosight.hpjx.core.security.UserSessionUtils
;
import
com.baosight.hpjx.hp.bg.domain.HPBG001
;
import
com.baosight.hpjx.hp.constant.HPConstant
;
import
com.baosight.hpjx.util.CommonMethod
;
...
...
@@ -14,10 +15,7 @@ import com.baosight.iplat4j.core.ei.EiInfo;
import
com.baosight.iplat4j.core.service.impl.ServiceEPBase
;
import
com.baosight.iplat4j.ed.util.SequenceGenerator
;
import
java.util.ArrayList
;
import
java.util.Arrays
;
import
java.util.List
;
import
java.util.Map
;
import
java.util.*
;
/**
* @author LiuYang
...
...
@@ -33,7 +31,7 @@ public class ServiceHPBG001 extends ServiceEPBase {
DdynamicEnum
.
CUSTOMER_RECORD_BLOCK_ID
,
DdynamicEnum
.
WH_RECORD_BLOCK_ID
,
DdynamicEnum
.
USER_BLOCK_ID
),
n
ull
,
false
);
),
n
ew
HashMap
<
String
,
Object
>(){{
put
(
"companyCode"
,
UserSessionUtils
.
getCompanyCode
());
}}
,
false
);
}
catch
(
Exception
e
)
{
LogUtils
.
setDetailMsg
(
inInfo
,
e
,
"初始化失败"
);
}
...
...
src/main/java/com/baosight/hpjx/hp/bg/service/ServiceHPBG002.java
View file @
0b5a1219
...
...
@@ -5,6 +5,7 @@ import com.baosight.hpjx.common.DdynamicEnum;
import
com.baosight.hpjx.common.ReviewStatusEnum
;
import
com.baosight.hpjx.core.constant.CommonConstant
;
import
com.baosight.hpjx.core.dao.DaoUtils
;
import
com.baosight.hpjx.core.security.UserSessionUtils
;
import
com.baosight.hpjx.hp.bg.domain.HPBG001
;
import
com.baosight.hpjx.hp.bg.domain.HPBG002
;
import
com.baosight.hpjx.hp.bg.domain.HPBG002A
;
...
...
@@ -35,7 +36,7 @@ public class ServiceHPBG002 extends ServiceEPBase {
CommonMethod
.
initBlock
(
inInfo
,
Arrays
.
asList
(
DdynamicEnum
.
WH_RECORD_BLOCK_ID
,
DdynamicEnum
.
USER_BLOCK_ID
),
n
ull
,
false
);
),
n
ew
HashMap
<
String
,
Object
>(){{
put
(
"companyCode"
,
UserSessionUtils
.
getCompanyCode
());
}}
,
false
);
inInfo
.
addBlock
(
EiConstant
.
resultBlock
).
addBlockMeta
(
new
HPBG002
().
eiMetadata
);
}
catch
(
Exception
e
)
{
LogUtils
.
setDetailMsg
(
inInfo
,
e
,
"初始化失败"
);
...
...
src/main/java/com/baosight/hpjx/hp/bg/service/ServiceHPBG002A.java
View file @
0b5a1219
...
...
@@ -5,6 +5,7 @@ import com.baosight.hpjx.common.DdynamicEnum;
import
com.baosight.hpjx.common.ReviewStatusEnum
;
import
com.baosight.hpjx.core.constant.CommonConstant
;
import
com.baosight.hpjx.core.dao.DaoUtils
;
import
com.baosight.hpjx.core.security.UserSessionUtils
;
import
com.baosight.hpjx.hp.bg.domain.HPBG001
;
import
com.baosight.hpjx.hp.bg.domain.HPBG002
;
import
com.baosight.hpjx.hp.bg.domain.HPBG002A
;
...
...
@@ -17,10 +18,7 @@ import com.baosight.iplat4j.core.ei.EiInfo;
import
com.baosight.iplat4j.core.service.impl.ServiceEPBase
;
import
java.math.BigDecimal
;
import
java.util.Arrays
;
import
java.util.List
;
import
java.util.Map
;
import
java.util.Objects
;
import
java.util.*
;
import
java.util.stream.Collectors
;
/**
...
...
@@ -37,7 +35,7 @@ public class ServiceHPBG002A extends ServiceEPBase {
DdynamicEnum
.
CUSTOMER_RECORD_BLOCK_ID
,
DdynamicEnum
.
WH_RECORD_BLOCK_ID
,
DdynamicEnum
.
USER_BLOCK_ID
),
n
ull
,
false
);
),
n
ew
HashMap
<
String
,
Object
>(){{
put
(
"companyCode"
,
UserSessionUtils
.
getCompanyCode
());
}}
,
false
);
inInfo
.
addBlock
(
EiConstant
.
resultBlock
).
addBlockMeta
(
new
HPBG002A
().
eiMetadata
);
}
catch
(
Exception
e
)
{
LogUtils
.
setDetailMsg
(
inInfo
,
e
,
"初始化失败"
);
...
...
src/main/java/com/baosight/hpjx/hp/bg/service/ServiceHPBG002B.java
View file @
0b5a1219
...
...
@@ -4,6 +4,7 @@ import com.baosight.hpjx.aspect.annotation.OperationLogAnnotation;
import
com.baosight.hpjx.common.DdynamicEnum
;
import
com.baosight.hpjx.core.constant.CommonConstant
;
import
com.baosight.hpjx.core.dao.DaoUtils
;
import
com.baosight.hpjx.core.security.UserSessionUtils
;
import
com.baosight.hpjx.hp.bg.domain.HPBG002
;
import
com.baosight.hpjx.hp.bg.domain.HPBG002A
;
import
com.baosight.hpjx.hp.constant.HPConstant
;
...
...
@@ -16,6 +17,7 @@ import com.baosight.iplat4j.core.service.impl.ServiceEPBase;
import
com.baosight.iplat4j.ed.util.SequenceGenerator
;
import
java.util.Arrays
;
import
java.util.HashMap
;
import
java.util.List
;
import
java.util.Map
;
...
...
@@ -33,7 +35,7 @@ public class ServiceHPBG002B extends ServiceEPBase {
DdynamicEnum
.
WH_RECORD_BLOCK_ID
,
DdynamicEnum
.
USER_BLOCK_ID
,
DdynamicEnum
.
ITEM_CODE_BLOCK_ID
),
n
ull
,
false
);
),
n
ew
HashMap
<
String
,
Object
>(){{
put
(
"companyCode"
,
UserSessionUtils
.
getCompanyCode
());
}}
,
false
);
}
catch
(
Exception
e
)
{
LogUtils
.
setDetailMsg
(
inInfo
,
e
,
"初始化失败"
);
}
...
...
src/main/java/com/baosight/hpjx/hp/bg/service/ServiceHPBG002C.java
View file @
0b5a1219
...
...
@@ -5,6 +5,7 @@ import com.baosight.hpjx.common.DdynamicEnum;
import
com.baosight.hpjx.common.ReviewStatusEnum
;
import
com.baosight.hpjx.core.constant.CommonConstant
;
import
com.baosight.hpjx.core.dao.DaoUtils
;
import
com.baosight.hpjx.core.security.UserSessionUtils
;
import
com.baosight.hpjx.hp.bg.domain.HPBG002
;
import
com.baosight.hpjx.hp.bg.domain.HPBG002A
;
import
com.baosight.hpjx.hp.bg.domain.HPBG003A
;
...
...
@@ -20,10 +21,7 @@ import com.baosight.iplat4j.core.ei.EiConstant;
import
com.baosight.iplat4j.core.ei.EiInfo
;
import
com.baosight.iplat4j.core.service.impl.ServiceEPBase
;
import
java.util.Arrays
;
import
java.util.Collections
;
import
java.util.List
;
import
java.util.Map
;
import
java.util.*
;
/**
* @author LiuYang
...
...
@@ -40,7 +38,7 @@ public class ServiceHPBG002C extends ServiceEPBase {
DdynamicEnum
.
WH_RECORD_BLOCK_ID
,
DdynamicEnum
.
USER_BLOCK_ID
,
DdynamicEnum
.
ITEM_CODE_BLOCK_ID
),
n
ull
,
false
);
),
n
ew
HashMap
<
String
,
Object
>(){{
put
(
"companyCode"
,
UserSessionUtils
.
getCompanyCode
());
}}
,
false
);
Long
id
=
Long
.
parseLong
(
params
.
get
(
HPBG002
.
FIELD_ID
));
HPBG002
hpbg002
=
HPBGTools
.
HpBg002
.
get
(
id
);
List
<
HPBG002A
>
hpbg002As
=
HPBGTools
.
HpBg002a
.
getByParentId
(
id
);
...
...
src/main/java/com/baosight/hpjx/hp/bg/service/ServiceHPBG003.java
View file @
0b5a1219
...
...
@@ -5,6 +5,7 @@ import com.baosight.hpjx.common.DdynamicEnum;
import
com.baosight.hpjx.common.ReviewStatusEnum
;
import
com.baosight.hpjx.core.constant.CommonConstant
;
import
com.baosight.hpjx.core.dao.DaoUtils
;
import
com.baosight.hpjx.core.security.UserSessionUtils
;
import
com.baosight.hpjx.hp.bg.domain.*
;
import
com.baosight.hpjx.hp.bg.tools.HPBGTools
;
import
com.baosight.hpjx.hp.constant.HPConstant
;
...
...
@@ -32,7 +33,7 @@ public class ServiceHPBG003 extends ServiceEPBase {
CommonMethod
.
initBlock
(
inInfo
,
Arrays
.
asList
(
DdynamicEnum
.
WH_RECORD_BLOCK_ID
,
DdynamicEnum
.
USER_BLOCK_ID
),
n
ull
,
false
);
),
n
ew
HashMap
<
String
,
Object
>(){{
put
(
"companyCode"
,
UserSessionUtils
.
getCompanyCode
());
}}
,
false
);
inInfo
.
addBlock
(
EiConstant
.
resultBlock
).
addBlockMeta
(
new
HPBG003
().
eiMetadata
);
}
catch
(
Exception
e
)
{
LogUtils
.
setDetailMsg
(
inInfo
,
e
,
"初始化失败"
);
...
...
src/main/java/com/baosight/hpjx/hp/bg/service/ServiceHPBG003A.java
View file @
0b5a1219
...
...
@@ -5,6 +5,7 @@ import com.baosight.hpjx.common.DdynamicEnum;
import
com.baosight.hpjx.common.ReviewStatusEnum
;
import
com.baosight.hpjx.core.constant.CommonConstant
;
import
com.baosight.hpjx.core.dao.DaoUtils
;
import
com.baosight.hpjx.core.security.UserSessionUtils
;
import
com.baosight.hpjx.hp.bg.domain.*
;
import
com.baosight.hpjx.hp.bg.tools.HPBGTools
;
import
com.baosight.hpjx.util.*
;
...
...
@@ -14,10 +15,7 @@ import com.baosight.iplat4j.core.ei.EiInfo;
import
com.baosight.iplat4j.core.service.impl.ServiceEPBase
;
import
java.math.BigDecimal
;
import
java.util.Arrays
;
import
java.util.List
;
import
java.util.Map
;
import
java.util.Objects
;
import
java.util.*
;
import
java.util.stream.Collectors
;
/**
...
...
@@ -33,7 +31,7 @@ public class ServiceHPBG003A extends ServiceEPBase {
CommonMethod
.
initBlock
(
inInfo
,
Arrays
.
asList
(
DdynamicEnum
.
WH_RECORD_BLOCK_ID
,
DdynamicEnum
.
USER_BLOCK_ID
),
n
ull
,
false
);
),
n
ew
HashMap
<
String
,
Object
>(){{
put
(
"companyCode"
,
UserSessionUtils
.
getCompanyCode
());
}}
,
false
);
inInfo
.
addBlock
(
EiConstant
.
resultBlock
).
addBlockMeta
(
new
HPBG003A
().
eiMetadata
);
}
catch
(
Exception
e
)
{
LogUtils
.
setDetailMsg
(
inInfo
,
e
,
"初始化失败"
);
...
...
src/main/java/com/baosight/hpjx/hp/bg/service/ServiceHPBG003B.java
View file @
0b5a1219
package
com
.
baosight
.
hpjx
.
hp
.
bg
.
service
;
import
com.baosight.hpjx.common.DdynamicEnum
;
import
com.baosight.hpjx.core.security.UserSessionUtils
;
import
com.baosight.hpjx.util.CommonMethod
;
import
com.baosight.hpjx.util.LogUtils
;
import
com.baosight.iplat4j.core.ei.EiInfo
;
import
com.baosight.iplat4j.core.service.impl.ServiceEPBase
;
import
java.util.Arrays
;
import
java.util.HashMap
;
/**
* @author LiuYang
...
...
@@ -22,7 +24,7 @@ public class ServiceHPBG003B extends ServiceEPBase {
DdynamicEnum
.
WH_RECORD_BLOCK_ID
,
DdynamicEnum
.
USER_BLOCK_ID
,
DdynamicEnum
.
ITEM_CODE_BLOCK_ID
),
n
ull
,
false
);
),
n
ew
HashMap
<
String
,
Object
>(){{
put
(
"companyCode"
,
UserSessionUtils
.
getCompanyCode
());
}}
,
false
);
}
catch
(
Exception
e
)
{
LogUtils
.
setDetailMsg
(
inInfo
,
e
,
"初始化失败"
);
}
...
...
src/main/java/com/baosight/hpjx/hp/bg/service/ServiceHPBG003C.java
View file @
0b5a1219
...
...
@@ -5,6 +5,7 @@ import com.baosight.hpjx.common.DdynamicEnum;
import
com.baosight.hpjx.common.ReviewStatusEnum
;
import
com.baosight.hpjx.core.constant.CommonConstant
;
import
com.baosight.hpjx.core.dao.DaoUtils
;
import
com.baosight.hpjx.core.security.UserSessionUtils
;
import
com.baosight.hpjx.hp.bg.domain.HPBG002A
;
import
com.baosight.hpjx.hp.bg.domain.HPBG003
;
import
com.baosight.hpjx.hp.bg.domain.HPBG003A
;
...
...
@@ -20,10 +21,7 @@ import com.baosight.iplat4j.core.ei.EiConstant;
import
com.baosight.iplat4j.core.ei.EiInfo
;
import
com.baosight.iplat4j.core.service.impl.ServiceEPBase
;
import
java.util.Arrays
;
import
java.util.Collections
;
import
java.util.List
;
import
java.util.Map
;
import
java.util.*
;
/**
* @author LiuYang
...
...
@@ -40,7 +38,7 @@ public class ServiceHPBG003C extends ServiceEPBase {
DdynamicEnum
.
WH_RECORD_BLOCK_ID
,
DdynamicEnum
.
USER_BLOCK_ID
,
DdynamicEnum
.
ITEM_CODE_BLOCK_ID
),
n
ull
,
false
);
),
n
ew
HashMap
<
String
,
Object
>(){{
put
(
"companyCode"
,
UserSessionUtils
.
getCompanyCode
());
}}
,
false
);
Long
id
=
Long
.
parseLong
(
params
.
get
(
HPBG003
.
FIELD_ID
));
HPBG003
hpbg003
=
HPBGTools
.
HpBg003
.
get
(
id
);
List
<
HPBG003A
>
hpbg003As
=
HPBGTools
.
HpBg003a
.
getByParentId
(
id
);
...
...
src/main/java/com/baosight/hpjx/hp/bg/service/ServiceHPBG004.java
View file @
0b5a1219
...
...
@@ -5,6 +5,7 @@ import com.baosight.hpjx.common.DdynamicEnum;
import
com.baosight.hpjx.common.ReviewStatusEnum
;
import
com.baosight.hpjx.core.constant.CommonConstant
;
import
com.baosight.hpjx.core.dao.DaoUtils
;
import
com.baosight.hpjx.core.security.UserSessionUtils
;
import
com.baosight.hpjx.hp.bg.domain.HPBG001
;
import
com.baosight.hpjx.hp.bg.domain.HPBG004
;
import
com.baosight.hpjx.hp.bg.domain.HPBG004
;
...
...
@@ -16,10 +17,7 @@ import com.baosight.iplat4j.core.ei.EiInfo;
import
com.baosight.iplat4j.core.service.impl.ServiceEPBase
;
import
java.math.BigDecimal
;
import
java.util.ArrayList
;
import
java.util.Arrays
;
import
java.util.List
;
import
java.util.Map
;
import
java.util.*
;
import
java.util.stream.Collectors
;
/**
...
...
@@ -37,7 +35,7 @@ public class ServiceHPBG004 extends ServiceEPBase {
DdynamicEnum
.
WH_RECORD_BLOCK_ID
,
DdynamicEnum
.
USER_BLOCK_ID
,
DdynamicEnum
.
ITEM_CODE_BLOCK_ID
),
n
ull
,
false
);
),
n
ew
HashMap
<
String
,
Object
>(){{
put
(
"companyCode"
,
UserSessionUtils
.
getCompanyCode
());
}}
,
false
);
}
catch
(
Exception
e
)
{
LogUtils
.
setDetailMsg
(
inInfo
,
e
,
"初始化失败"
);
}
...
...
src/main/java/com/baosight/hpjx/hp/cw/domain/HPCW002.java
View file @
0b5a1219
...
...
@@ -757,7 +757,7 @@ public class HPCW002 extends DaoEPBase {
setThisSettlementTax
(
StringUtils
.
defaultIfEmpty
(
StringUtils
.
toString
(
map
.
get
(
FIELD_THIS_SETTLEMENT_TAX
)),
thisSettlementTax
));
setThisSettlementAmount
(
StringUtils
.
defaultIfEmpty
(
StringUtils
.
toString
(
map
.
get
(
FIELD_THIS_SETTLEMENT_AMOUNT
)),
thisSettlementAmount
));
setTotalContractPriceIncluding
(
NumberUtils
.
toBigDecimal
(
StringUtils
.
toString
(
map
.
get
(
FIELD_TOTAL_CONTRACT_PRICE_INCLUDING
)),
totalContractPriceIncluding
));
setReceiveDate
(
StringUtils
.
defaultIfEmpty
(
StringUtils
.
toString
(
map
.
get
(
FIELD_RECEIVE_DATE
)),
receiveDate
));
setReceiveDate
(
StringUtils
.
defaultIfEmpty
(
StringUtils
.
toString
(
DateUtils
.
formatShort
(
map
.
get
(
FIELD_RECEIVE_DATE
)
)),
receiveDate
));
setDepositQty
(
NumberUtils
.
toBigDecimal
(
StringUtils
.
toString
(
map
.
get
(
FIELD_DEPOSIT_QTY
)),
depositQty
));
setReceiveWeight
(
NumberUtils
.
toBigDecimal
(
StringUtils
.
toString
(
map
.
get
(
FIELD_RECEIVE_WEIGHT
)),
receiveWeight
));
setPrice
(
NumberUtils
.
toBigDecimal
(
StringUtils
.
toString
(
map
.
get
(
FIELD_PRICE
)),
price
));
...
...
src/main/java/com/baosight/hpjx/hp/fw/service/ServiceHPFW001B.java
View file @
0b5a1219
...
...
@@ -4,6 +4,7 @@ import com.baosight.hpjx.aspect.annotation.OperationLogAnnotation;
import
com.baosight.hpjx.common.DdynamicEnum
;
import
com.baosight.hpjx.core.constant.CommonConstant
;
import
com.baosight.hpjx.core.dao.DaoUtils
;
import
com.baosight.hpjx.core.security.UserSessionUtils
;
import
com.baosight.hpjx.hp.constant.HPConstant
;
import
com.baosight.hpjx.hp.fw.domain.HPFW001
;
import
com.baosight.hpjx.hp.fw.tools.HpFwTools
;
...
...
@@ -22,6 +23,7 @@ import com.baosight.iplat4j.core.service.impl.ServiceEPBase;
import
com.baosight.iplat4j.ed.util.SequenceGenerator
;
import
java.util.Arrays
;
import
java.util.HashMap
;
import
java.util.Map
;
/**
...
...
@@ -41,8 +43,8 @@ public class ServiceHPFW001B extends ServiceEPBase {
@Override
public
EiInfo
initLoad
(
EiInfo
inInfo
)
{
try
{
CommonMethod
.
initBlock
(
inInfo
,
Arrays
.
asList
(
DdynamicEnum
.
USER_BLOCK_ID
),
null
);
CommonMethod
.
initBlock
(
inInfo
,
Arrays
.
asList
(
DdynamicEnum
.
CUSTOMER_RECORD_BLOCK_ID
),
null
);
CommonMethod
.
initBlock
(
inInfo
,
Arrays
.
asList
(
DdynamicEnum
.
CUSTOMER_RECORD_BLOCK_ID
,
DdynamicEnum
.
USER_BLOCK_ID
),
new
HashMap
<
String
,
Object
>(){{
put
(
"companyCode"
,
UserSessionUtils
.
getCompanyCode
());
}}
);
this
.
setBaseInfo
(
inInfo
);
}
catch
(
Exception
e
)
{
LogUtils
.
setDetailMsg
(
inInfo
,
e
,
"初始化失败"
);
...
...
src/main/java/com/baosight/hpjx/hp/fw/service/ServiceHPFW002B.java
View file @
0b5a1219
...
...
@@ -4,6 +4,7 @@ import com.baosight.hpjx.aspect.annotation.OperationLogAnnotation;
import
com.baosight.hpjx.common.DdynamicEnum
;
import
com.baosight.hpjx.core.constant.CommonConstant
;
import
com.baosight.hpjx.core.dao.DaoUtils
;
import
com.baosight.hpjx.core.security.UserSessionUtils
;
import
com.baosight.hpjx.hp.constant.HPConstant
;
import
com.baosight.hpjx.hp.fw.domain.HPFW002
;
import
com.baosight.hpjx.hp.fw.tools.HpFwTools
;
...
...
@@ -22,6 +23,7 @@ import com.baosight.iplat4j.core.service.impl.ServiceEPBase;
import
com.baosight.iplat4j.ed.util.SequenceGenerator
;
import
java.util.Arrays
;
import
java.util.HashMap
;
import
java.util.Map
;
/**
...
...
@@ -41,8 +43,8 @@ public class ServiceHPFW002B extends ServiceEPBase {
@Override
public
EiInfo
initLoad
(
EiInfo
inInfo
)
{
try
{
CommonMethod
.
initBlock
(
inInfo
,
Arrays
.
asList
(
DdynamicEnum
.
USER_BLOCK_ID
),
null
);
CommonMethod
.
initBlock
(
inInfo
,
Arrays
.
asList
(
DdynamicEnum
.
CUSTOMER_RECORD_BLOCK_ID
),
null
);
CommonMethod
.
initBlock
(
inInfo
,
Arrays
.
asList
(
DdynamicEnum
.
CUSTOMER_RECORD_BLOCK_ID
,
DdynamicEnum
.
USER_BLOCK_ID
),
new
HashMap
<
String
,
Object
>(){{
put
(
"companyCode"
,
UserSessionUtils
.
getCompanyCode
());
}}
);
this
.
setBaseInfo
(
inInfo
);
}
catch
(
Exception
e
)
{
LogUtils
.
setDetailMsg
(
inInfo
,
e
,
"初始化失败"
);
...
...
src/main/java/com/baosight/hpjx/hp/fw/service/ServiceHPFW003B.java
View file @
0b5a1219
...
...
@@ -4,6 +4,7 @@ import com.baosight.hpjx.aspect.annotation.OperationLogAnnotation;
import
com.baosight.hpjx.common.DdynamicEnum
;
import
com.baosight.hpjx.core.constant.CommonConstant
;
import
com.baosight.hpjx.core.dao.DaoUtils
;
import
com.baosight.hpjx.core.security.UserSessionUtils
;
import
com.baosight.hpjx.hp.constant.HPConstant
;
import
com.baosight.hpjx.hp.fw.domain.HPFW003
;
import
com.baosight.hpjx.hp.fw.tools.HpFwTools
;
...
...
@@ -22,6 +23,7 @@ import com.baosight.iplat4j.core.service.impl.ServiceEPBase;
import
com.baosight.iplat4j.ed.util.SequenceGenerator
;
import
java.util.Arrays
;
import
java.util.HashMap
;
import
java.util.Map
;
/**
...
...
@@ -41,8 +43,11 @@ public class ServiceHPFW003B extends ServiceEPBase {
@Override
public
EiInfo
initLoad
(
EiInfo
inInfo
)
{
try
{
CommonMethod
.
initBlock
(
inInfo
,
Arrays
.
asList
(
DdynamicEnum
.
USER_BLOCK_ID
),
null
);
CommonMethod
.
initBlock
(
inInfo
,
Arrays
.
asList
(
DdynamicEnum
.
CUSTOMER_RECORD_BLOCK_ID
),
null
);
CommonMethod
.
initBlock
(
inInfo
,
Arrays
.
asList
(
DdynamicEnum
.
CUSTOMER_RECORD_BLOCK_ID
,
DdynamicEnum
.
USER_BLOCK_ID
),
new
HashMap
<
String
,
Object
>(){{
put
(
"companyCode"
,
UserSessionUtils
.
getCompanyCode
());
}}
);
this
.
setBaseInfo
(
inInfo
);
}
catch
(
Exception
e
)
{
LogUtils
.
setDetailMsg
(
inInfo
,
e
,
"初始化失败"
);
...
...
src/main/java/com/baosight/hpjx/hp/fw/service/ServiceHPFW004B.java
View file @
0b5a1219
...
...
@@ -3,6 +3,7 @@ package com.baosight.hpjx.hp.fw.service;
import
com.baosight.hpjx.common.DdynamicEnum
;
import
com.baosight.hpjx.core.constant.CommonConstant
;
import
com.baosight.hpjx.core.dao.DaoUtils
;
import
com.baosight.hpjx.core.security.UserSessionUtils
;
import
com.baosight.hpjx.hp.constant.HPConstant
;
import
com.baosight.hpjx.hp.fw.domain.HPFW004
;
import
com.baosight.hpjx.hp.fw.tools.HpFwTools
;
...
...
@@ -21,6 +22,7 @@ import com.baosight.iplat4j.core.service.impl.ServiceEPBase;
import
com.baosight.iplat4j.ed.util.SequenceGenerator
;
import
java.util.Arrays
;
import
java.util.HashMap
;
import
java.util.Map
;
/**
...
...
@@ -40,8 +42,11 @@ public class ServiceHPFW004B extends ServiceEPBase {
@Override
public
EiInfo
initLoad
(
EiInfo
inInfo
)
{
try
{
CommonMethod
.
initBlock
(
inInfo
,
Arrays
.
asList
(
DdynamicEnum
.
USER_BLOCK_ID
),
null
);
CommonMethod
.
initBlock
(
inInfo
,
Arrays
.
asList
(
DdynamicEnum
.
CUSTOMER_RECORD_BLOCK_ID
),
null
);
CommonMethod
.
initBlock
(
inInfo
,
Arrays
.
asList
(
DdynamicEnum
.
CUSTOMER_RECORD_BLOCK_ID
,
DdynamicEnum
.
USER_BLOCK_ID
),
new
HashMap
<
String
,
Object
>(){{
put
(
"companyCode"
,
UserSessionUtils
.
getCompanyCode
());
}}
);
this
.
setBaseInfo
(
inInfo
);
}
catch
(
Exception
e
)
{
LogUtils
.
setDetailMsg
(
inInfo
,
e
,
"初始化失败"
);
...
...
src/main/java/com/baosight/hpjx/hp/kc/service/ServiceHPKC012.java
View file @
0b5a1219
...
...
@@ -3,6 +3,7 @@ package com.baosight.hpjx.hp.kc.service;
import
com.baosight.hpjx.aspect.annotation.OperationLogAnnotation
;
import
com.baosight.hpjx.common.DdynamicEnum
;
import
com.baosight.hpjx.common.InventTypeEnum
;
import
com.baosight.hpjx.core.security.UserSessionUtils
;
import
com.baosight.hpjx.hp.kc.domain.HPKC012
;
import
com.baosight.hpjx.util.CommonMethod
;
import
com.baosight.hpjx.util.EiInfoUtils
;
...
...
@@ -39,7 +40,10 @@ public class ServiceHPKC012 extends ServiceBase {
try
{
Map
queryMap
=
new
HashMap
();
queryMap
.
put
(
"inventTypes"
,
DEFAULT_INVENT_CODE
);
CommonMethod
.
initBlock
(
inInfo
,
Arrays
.
asList
(
DdynamicEnum
.
USER_BLOCK_ID
),
null
,
true
);
CommonMethod
.
initBlock
(
inInfo
,
Arrays
.
asList
(
DdynamicEnum
.
USER_BLOCK_ID
),
new
HashMap
<
String
,
Object
>(){{
put
(
"companyCode"
,
UserSessionUtils
.
getCompanyCode
());
}},
true
);
CommonMethod
.
initBlock
(
inInfo
,
Arrays
.
asList
(
DdynamicEnum
.
WH_RECORD_BLOCK_ID
),
queryMap
);
CommonMethod
.
initBlock
(
inInfo
,
Arrays
.
asList
(
DdynamicEnum
.
INVENT_NAME_BLOCK_ID
),
queryMap
);
CommonMethod
.
initBlock
(
inInfo
,
Arrays
.
asList
(
DdynamicEnum
.
SPEC_NAME_BLOCK_ID
),
queryMap
);
...
...
src/main/java/com/baosight/hpjx/hp/pz/service/ServiceHPPZ007.java
View file @
0b5a1219
...
...
@@ -3,6 +3,7 @@ package com.baosight.hpjx.hp.pz.service;
import
com.baosight.hpjx.aspect.annotation.OperationLogAnnotation
;
import
com.baosight.hpjx.common.DdynamicEnum
;
import
com.baosight.hpjx.core.dao.DaoUtils
;
import
com.baosight.hpjx.core.security.UserSessionUtils
;
import
com.baosight.hpjx.hp.constant.HPConstant
;
import
com.baosight.hpjx.hp.pz.domain.HPPZ004
;
import
com.baosight.hpjx.hp.pz.domain.HPPZ007
;
...
...
@@ -37,7 +38,10 @@ public class ServiceHPPZ007 extends ServiceBase {
@OperationLogAnnotation
(
operModul
=
"仓库档案"
,
operType
=
"查询"
,
operDesc
=
"初始化"
)
public
EiInfo
initLoad
(
EiInfo
inInfo
)
{
try
{
CommonMethod
.
initBlock
(
inInfo
,
Arrays
.
asList
(
DdynamicEnum
.
USER_BLOCK_ID
),
null
,
true
);
CommonMethod
.
initBlock
(
inInfo
,
Arrays
.
asList
(
DdynamicEnum
.
USER_BLOCK_ID
),
new
HashMap
<
String
,
Object
>(){{
put
(
"companyCode"
,
UserSessionUtils
.
getCompanyCode
());
}},
true
);
CommonMethod
.
initBlock
(
inInfo
,
Arrays
.
asList
(
DdynamicEnum
.
FACTORY_RECORD_BLOCK_ID
),
null
,
false
);
inInfo
.
addBlock
(
EiConstant
.
resultBlock
).
addBlockMeta
(
new
HPPZ007
().
eiMetadata
);
}
catch
(
PlatException
e
)
{
...
...
src/main/java/com/baosight/hpjx/hp/sb/service/ServiceHPSB003A.java
View file @
0b5a1219
...
...
@@ -2,6 +2,7 @@ package com.baosight.hpjx.hp.sb.service;
import
com.baosight.hpjx.common.DdynamicEnum
;
import
com.baosight.hpjx.core.constant.CommonConstant
;
import
com.baosight.hpjx.core.security.UserSessionUtils
;
import
com.baosight.hpjx.hp.sb.domain.HPSB003
;
import
com.baosight.hpjx.hp.sb.domain.HPSB003A
;
import
com.baosight.hpjx.hp.sb.domain.HPSB008
;
...
...
@@ -14,6 +15,7 @@ import com.baosight.iplat4j.core.ei.EiInfo;
import
com.baosight.iplat4j.core.service.impl.ServiceEPBase
;
import
java.util.Arrays
;
import
java.util.HashMap
;
/**
* @author LiuYang
...
...
@@ -38,7 +40,10 @@ public class ServiceHPSB003A extends ServiceEPBase {
Arrays
.
asList
(
DdynamicEnum
.
FACTORY_CODE_BOX_BLOCK_ID
,
DdynamicEnum
.
USER_BLOCK_ID
,
DdynamicEnum
.
GROUP_CODE_BOX_BLOCK_ID
),
null
DdynamicEnum
.
GROUP_CODE_BOX_BLOCK_ID
),
new
HashMap
<
String
,
Object
>(){{
put
(
"companyCode"
,
UserSessionUtils
.
getCompanyCode
());
}}
);
return
inInfo
;
}
...
...
src/main/java/com/baosight/hpjx/hp/yx/service/ServiceHPYX001.java
View file @
0b5a1219
...
...
@@ -4,6 +4,7 @@ import com.baosight.hpjx.aspect.annotation.OperationLogAnnotation;
import
com.baosight.hpjx.common.DdynamicEnum
;
import
com.baosight.hpjx.core.constant.CommonConstant
;
import
com.baosight.hpjx.core.dao.DaoUtils
;
import
com.baosight.hpjx.core.security.UserSessionUtils
;
import
com.baosight.hpjx.hp.constant.HPConstant
;
import
com.baosight.hpjx.hp.yx.domain.HPYX001
;
import
com.baosight.hpjx.hp.yx.domain.HPYX002
;
...
...
@@ -16,10 +17,7 @@ import com.baosight.iplat4j.core.ei.EiConstant;
import
com.baosight.iplat4j.core.ei.EiInfo
;
import
com.baosight.iplat4j.core.service.impl.ServiceEPBase
;
import
java.util.ArrayList
;
import
java.util.Arrays
;
import
java.util.List
;
import
java.util.Map
;
import
java.util.*
;
/**
* @author LiuYang
...
...
@@ -35,7 +33,10 @@ public class ServiceHPYX001 extends ServiceEPBase {
DdynamicEnum
.
CUSTOMER_RECORD_BLOCK_ID
,
DdynamicEnum
.
SUPPLIER_RECORD_BLOCK_ID
,
DdynamicEnum
.
USER_BLOCK_ID
),
null
,
false
);
),
new
HashMap
<
String
,
Object
>(){{
put
(
"companyCode"
,
UserSessionUtils
.
getCompanyCode
());
}},
false
);
}
catch
(
Exception
e
)
{
LogUtils
.
setDetailMsg
(
inInfo
,
e
,
"初始化失败"
);
}
...
...
src/main/java/com/baosight/hpjx/hp/yx/service/ServiceHPYX005.java
View file @
0b5a1219
...
...
@@ -4,6 +4,7 @@ import com.baosight.hpjx.aspect.annotation.OperationLogAnnotation;
import
com.baosight.hpjx.common.DdynamicEnum
;
import
com.baosight.hpjx.core.constant.CommonConstant
;
import
com.baosight.hpjx.core.dao.DaoUtils
;
import
com.baosight.hpjx.core.security.UserSessionUtils
;
import
com.baosight.hpjx.hp.constant.HPConstant
;
import
com.baosight.hpjx.hp.wd.domain.HPWD001
;
import
com.baosight.hpjx.hp.yx.domain.*
;
...
...
@@ -18,10 +19,7 @@ import com.baosight.iplat4j.core.ei.EiInfo;
import
com.baosight.iplat4j.core.service.impl.ServiceEPBase
;
import
com.baosight.iplat4j.ed.util.SequenceGenerator
;
import
java.util.ArrayList
;
import
java.util.Arrays
;
import
java.util.List
;
import
java.util.Map
;
import
java.util.*
;
/**
* @author LiuYang
...
...
@@ -39,7 +37,9 @@ public class ServiceHPYX005 extends ServiceEPBase {
DdynamicEnum
.
CUSTOMER_RECORD_BLOCK_ID
,
DdynamicEnum
.
SUPPLIER_RECORD_BLOCK_ID
,
DdynamicEnum
.
USER_BLOCK_ID
),
null
,
false
);
),
new
HashMap
<
String
,
Object
>(){{
put
(
"companyCode"
,
UserSessionUtils
.
getCompanyCode
());
}},
false
);
}
catch
(
Exception
e
)
{
LogUtils
.
setDetailMsg
(
inInfo
,
e
,
"初始化失败"
);
}
...
...
src/main/java/com/baosight/hpjx/hp/yx/service/ServiceHPYX005B.java
View file @
0b5a1219
package
com
.
baosight
.
hpjx
.
hp
.
yx
.
service
;
import
com.baosight.hpjx.common.DdynamicEnum
;
import
com.baosight.hpjx.core.security.UserSessionUtils
;
import
com.baosight.hpjx.hp.yx.domain.HPYX005A
;
import
com.baosight.hpjx.util.CommonMethod
;
import
com.baosight.hpjx.util.LogUtils
;
...
...
@@ -9,6 +10,7 @@ import com.baosight.iplat4j.core.exception.PlatException;
import
com.baosight.iplat4j.core.service.impl.ServiceEPBase
;
import
java.util.Arrays
;
import
java.util.HashMap
;
/**
* @author LiuYang
...
...
@@ -30,7 +32,9 @@ public class ServiceHPYX005B extends ServiceEPBase {
DdynamicEnum
.
CUSTOMER_RECORD_BLOCK_ID
,
DdynamicEnum
.
SUPPLIER_RECORD_BLOCK_ID
,
DdynamicEnum
.
USER_BLOCK_ID
),
null
,
false
);
),
new
HashMap
<
String
,
Object
>(){{
put
(
"companyCode"
,
UserSessionUtils
.
getCompanyCode
());
}},
false
);
inInfo
.
addBlock
(
"detail"
).
addBlockMeta
(
new
HPYX005A
().
eiMetadata
);
}
catch
(
PlatException
e
)
{
LogUtils
.
setDetailMsg
(
inInfo
,
e
,
"初始化失败"
);
...
...
src/main/java/com/baosight/hpjx/hp/yx/service/ServiceHPYX005C.java
View file @
0b5a1219
...
...
@@ -3,6 +3,7 @@ package com.baosight.hpjx.hp.yx.service;
import
com.baosight.hpjx.aspect.annotation.OperationLogAnnotation
;
import
com.baosight.hpjx.common.DdynamicEnum
;
import
com.baosight.hpjx.core.constant.CommonConstant
;
import
com.baosight.hpjx.core.security.UserSessionUtils
;
import
com.baosight.hpjx.hp.yx.domain.HPYX005
;
import
com.baosight.hpjx.hp.yx.domain.HPYX005A
;
import
com.baosight.hpjx.hp.yx.tools.HPYXTools
;
...
...
@@ -14,6 +15,7 @@ import com.baosight.iplat4j.core.exception.PlatException;
import
com.baosight.iplat4j.core.service.impl.ServiceEPBase
;
import
java.util.Arrays
;
import
java.util.HashMap
;
import
java.util.List
;
/**
...
...
@@ -36,7 +38,9 @@ public class ServiceHPYX005C extends ServiceEPBase {
DdynamicEnum
.
CUSTOMER_RECORD_BLOCK_ID
,
DdynamicEnum
.
SUPPLIER_RECORD_BLOCK_ID
,
DdynamicEnum
.
USER_BLOCK_ID
),
null
,
false
);
),
new
HashMap
<
String
,
Object
>(){{
put
(
"companyCode"
,
UserSessionUtils
.
getCompanyCode
());
}},
false
);
String
id
=
inInfo
.
getString
(
"id"
);
HPYX005
hpyx005
=
HPYXTools
.
HpYx005
.
queryById
(
Long
.
valueOf
(
id
));
inInfo
.
addBlock
(
EiConstant
.
resultBlock
).
addRow
(
hpyx005
);
...
...
src/main/java/com/baosight/hpjx/hp/yx/service/ServiceHPYX006.java
View file @
0b5a1219
...
...
@@ -4,6 +4,7 @@ import com.baosight.hpjx.aspect.annotation.OperationLogAnnotation;
import
com.baosight.hpjx.common.DdynamicEnum
;
import
com.baosight.hpjx.core.constant.CommonConstant
;
import
com.baosight.hpjx.core.dao.DaoUtils
;
import
com.baosight.hpjx.core.security.UserSessionUtils
;
import
com.baosight.hpjx.hp.constant.HPConstant
;
import
com.baosight.hpjx.hp.yx.domain.*
;
import
com.baosight.hpjx.util.CommonMethod
;
...
...
@@ -15,10 +16,7 @@ import com.baosight.iplat4j.core.ei.EiInfo;
import
com.baosight.iplat4j.core.service.impl.ServiceEPBase
;
import
com.baosight.iplat4j.ed.util.SequenceGenerator
;
import
java.util.ArrayList
;
import
java.util.Arrays
;
import
java.util.List
;
import
java.util.Map
;
import
java.util.*
;
/**
* @author LiuYang
...
...
@@ -35,7 +33,9 @@ public class ServiceHPYX006 extends ServiceEPBase {
DdynamicEnum
.
SUPPLIER_RECORD_BLOCK_ID
,
DdynamicEnum
.
INVENT_NAME_BLOCK_ID
,
DdynamicEnum
.
USER_BLOCK_ID
),
null
,
false
);
),
new
HashMap
<
String
,
Object
>(){{
put
(
"companyCode"
,
UserSessionUtils
.
getCompanyCode
());
}},
false
);
}
catch
(
Exception
e
)
{
LogUtils
.
setDetailMsg
(
inInfo
,
e
,
"初始化失败"
);
}
...
...
src/main/java/com/baosight/hpjx/hp/zl/service/ServiceHPZL001.java
View file @
0b5a1219
...
...
@@ -4,6 +4,7 @@ import com.baosight.hpjx.aspect.annotation.OperationLogAnnotation;
import
com.baosight.hpjx.common.DdynamicEnum
;
import
com.baosight.hpjx.core.constant.CommonConstant
;
import
com.baosight.hpjx.core.dao.DaoUtils
;
import
com.baosight.hpjx.core.security.UserSessionUtils
;
import
com.baosight.hpjx.core.tools.Iplat4jTools
;
import
com.baosight.hpjx.hp.constant.HPConstant
;
import
com.baosight.hpjx.hp.constant.HPSqlConstant
;
...
...
@@ -37,11 +38,17 @@ public class ServiceHPZL001 extends ServiceBase {
@OperationLogAnnotation
(
operModul
=
"质量巡检单"
,
operType
=
"查询"
,
operDesc
=
"初始化"
)
public
EiInfo
initLoad
(
EiInfo
inInfo
)
{
try
{
CommonMethod
.
initBlock
(
inInfo
,
Arrays
.
asList
(
DdynamicEnum
.
PROJ_RECORD_BLOCK_ID
),
null
);
CommonMethod
.
initBlock
(
inInfo
,
Arrays
.
asList
(
DdynamicEnum
.
INVENT_RECORD_BLOCK_ID
),
null
);
CommonMethod
.
initBlock
(
inInfo
,
Arrays
.
asList
(
DdynamicEnum
.
SUB_INVENT_RECORD_BLOCK_ID
),
null
);
CommonMethod
.
initBlock
(
inInfo
,
Arrays
.
asList
(
DdynamicEnum
.
ORG_RECORD_BLOCK_ID
),
null
);
CommonMethod
.
initBlock
(
inInfo
,
Arrays
.
asList
(
DdynamicEnum
.
USER_BLOCK_ID
),
null
);
CommonMethod
.
initBlock
(
inInfo
,
Arrays
.
asList
(
DdynamicEnum
.
PROJ_RECORD_BLOCK_ID
,
DdynamicEnum
.
INVENT_RECORD_BLOCK_ID
,
DdynamicEnum
.
SUB_INVENT_RECORD_BLOCK_ID
,
DdynamicEnum
.
ORG_RECORD_BLOCK_ID
,
DdynamicEnum
.
USER_BLOCK_ID
),
new
HashMap
<
String
,
Object
>(){{
put
(
"companyCode"
,
UserSessionUtils
.
getCompanyCode
());
}}
);
inInfo
.
addBlock
(
EiConstant
.
resultBlock
).
addBlockMeta
(
new
HPZL001
().
eiMetadata
);
}
catch
(
Exception
e
)
{
LogUtils
.
setDetailMsg
(
inInfo
,
e
,
"初始化失败"
);
...
...
src/main/java/com/baosight/hpjx/hp/zl/service/ServiceHPZL004B.java
View file @
0b5a1219
...
...
@@ -5,6 +5,7 @@ import com.baosight.hpjx.common.DdynamicEnum;
import
com.baosight.hpjx.core.constant.CommonConstant
;
import
com.baosight.hpjx.core.dao.DaoUtils
;
import
com.baosight.hpjx.core.enums.HandleStatusEnum
;
import
com.baosight.hpjx.core.security.UserSessionUtils
;
import
com.baosight.hpjx.hp.constant.HPConstant
;
import
com.baosight.hpjx.hp.sc.domain.HPSC001
;
import
com.baosight.hpjx.hp.sc.domain.HPSC002
;
...
...
@@ -28,6 +29,7 @@ import com.baosight.iplat4j.core.service.impl.ServiceEPBase;
import
com.baosight.iplat4j.ed.util.SequenceGenerator
;
import
java.util.Arrays
;
import
java.util.HashMap
;
import
java.util.Map
;
/**
...
...
@@ -50,10 +52,15 @@ public class ServiceHPZL004B extends ServiceEPBase {
try
{
// 查询物料信息
this
.
setQualityInfo
(
inInfo
);
CommonMethod
.
initBlock
(
inInfo
,
Arrays
.
asList
(
DdynamicEnum
.
PROJ_RECORD_BLOCK_ID
),
null
,
false
);
CommonMethod
.
initBlock
(
inInfo
,
Arrays
.
asList
(
DdynamicEnum
.
INVENT_RECORD_BLOCK_ID
),
null
);
CommonMethod
.
initBlock
(
inInfo
,
Arrays
.
asList
(
DdynamicEnum
.
ORG_RECORD_BLOCK_ID
),
null
);
CommonMethod
.
initBlock
(
inInfo
,
Arrays
.
asList
(
DdynamicEnum
.
USER_BLOCK_ID
),
null
);
CommonMethod
.
initBlock
(
inInfo
,
Arrays
.
asList
(
DdynamicEnum
.
PROJ_RECORD_BLOCK_ID
,
DdynamicEnum
.
INVENT_RECORD_BLOCK_ID
,
DdynamicEnum
.
ORG_RECORD_BLOCK_ID
,
DdynamicEnum
.
USER_BLOCK_ID
),
new
HashMap
<
String
,
Object
>(){{
put
(
"companyCode"
,
UserSessionUtils
.
getCompanyCode
());
}},
false
);
inInfo
.
addBlock
(
EiConstant
.
resultBlock
).
addBlockMeta
(
new
HPZL004
().
eiMetadata
);
}
catch
(
Exception
e
)
{
LogUtils
.
setDetailMsg
(
inInfo
,
e
,
"初始化失败"
);
...
...
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