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
5822a918
Commit
5822a918
authored
Apr 19, 2024
by
wancheng
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
增加app异常状态
parent
d7a6bef7
Hide whitespace changes
Inline
Side-by-side
Showing
9 changed files
with
24 additions
and
0 deletions
+24
-0
ServiceHPKC002.java
.../java/com/baosight/hpjx/hp/kc/service/ServiceHPKC002.java
+3
-0
ServiceHPKC002A.java
...java/com/baosight/hpjx/hp/kc/service/ServiceHPKC002A.java
+3
-0
ServiceHPKC003.java
.../java/com/baosight/hpjx/hp/kc/service/ServiceHPKC003.java
+3
-0
ServiceHPKC003A.java
...java/com/baosight/hpjx/hp/kc/service/ServiceHPKC003A.java
+3
-0
ServiceHPSC002B.java
...java/com/baosight/hpjx/hp/sc/service/ServiceHPSC002B.java
+2
-0
ServiceHPSC005.java
.../java/com/baosight/hpjx/hp/sc/service/ServiceHPSC005.java
+2
-0
ServiceHPSC005A.java
...java/com/baosight/hpjx/hp/sc/service/ServiceHPSC005A.java
+4
-0
ServiceHPSC005B.java
...java/com/baosight/hpjx/hp/sc/service/ServiceHPSC005B.java
+2
-0
ServiceHPSC005C.java
...java/com/baosight/hpjx/hp/sc/service/ServiceHPSC005C.java
+2
-0
No files found.
src/main/java/com/baosight/hpjx/hp/kc/service/ServiceHPKC002.java
View file @
5822a918
...
...
@@ -55,6 +55,7 @@ public class ServiceHPKC002 extends ServiceBase {
inInfo
.
addBlock
(
EiConstant
.
resultBlock
).
addBlockMeta
(
new
HPKC002
().
eiMetadata
);
inInfo
.
setBlock
(
InventTypeEnum
.
generatorEiBlock
());
}
catch
(
PlatException
e
)
{
inInfo
.
setStatus
(
500
);
LogUtils
.
setDetailMsg
(
inInfo
,
e
,
"初始化失败"
);
}
return
inInfo
;
...
...
@@ -77,6 +78,7 @@ public class ServiceHPKC002 extends ServiceBase {
queryRow
.
put
(
"inventTypes"
,
DEFAULT_INVENT_CODE
);
inInfo
=
super
.
query
(
inInfo
,
HPKC002
.
QUERY
,
new
HPKC002
());
}
catch
(
Exception
e
)
{
inInfo
.
setStatus
(
500
);
LogUtils
.
setDetailMsg
(
inInfo
,
e
,
"查询失败"
);
}
return
inInfo
;
...
...
@@ -121,6 +123,7 @@ public class ServiceHPKC002 extends ServiceBase {
inInfo
.
setStatus
(
EiConstant
.
STATUS_DEFAULT
);
inInfo
.
setMsg
(
"操作成功!本次对["
+
resultRows
.
size
()
+
"]条数据删除成功!"
);
}
catch
(
Exception
e
)
{
inInfo
.
setStatus
(
500
);
LogUtils
.
setDetailMsg
(
inInfo
,
e
,
"删除失败"
);
}
return
inInfo
;
...
...
src/main/java/com/baosight/hpjx/hp/kc/service/ServiceHPKC002A.java
View file @
5822a918
...
...
@@ -73,6 +73,7 @@ public class ServiceHPKC002A extends ServiceEPBase {
}
inInfo
.
addBlock
(
EiConstant
.
resultBlock
).
addBlockMeta
(
new
HPKC010
().
eiMetadata
);
}
catch
(
Exception
e
)
{
inInfo
.
setStatus
(
500
);
LogUtils
.
setDetailMsg
(
inInfo
,
e
,
"初始化失败"
);
}
return
inInfo
;
...
...
@@ -92,6 +93,7 @@ public class ServiceHPKC002A extends ServiceEPBase {
queryRow
.
put
(
"inventTypes"
,
DEFAULT_INVENT_CODE
);
inInfo
=
super
.
query
(
inInfo
,
HPKC010
.
QUERY
,
new
HPKC010
());
}
catch
(
Exception
e
)
{
inInfo
.
setStatus
(
500
);
LogUtils
.
setDetailMsg
(
inInfo
,
e
,
"查询失败"
);
}
return
inInfo
;
...
...
@@ -119,6 +121,7 @@ public class ServiceHPKC002A extends ServiceEPBase {
// 生成销售库单
this
.
saveData
(
resultRows
,
dbKc010Map
,
hpsc006Id
);
}
catch
(
Exception
e
)
{
inInfo
.
setStatus
(
500
);
LogUtils
.
setMsg
(
inInfo
,
e
,
"生成领料单失败"
);
}
return
inInfo
;
...
...
src/main/java/com/baosight/hpjx/hp/kc/service/ServiceHPKC003.java
View file @
5822a918
...
...
@@ -53,6 +53,7 @@ public class ServiceHPKC003 extends ServiceBase {
CommonMethod
.
initBlock
(
inInfo
,
Arrays
.
asList
(
DdynamicEnum
.
FACTORY_RECORD_BLOCK_ID
),
null
,
false
);
inInfo
.
addBlock
(
EiConstant
.
resultBlock
).
addBlockMeta
(
new
HPKC003
().
eiMetadata
);
}
catch
(
Exception
e
)
{
inInfo
.
setStatus
(
500
);
LogUtils
.
setDetailMsg
(
inInfo
,
e
,
"初始化失败"
);
}
return
inInfo
;
...
...
@@ -74,6 +75,7 @@ public class ServiceHPKC003 extends ServiceBase {
StringUtil
.
DEFAULT_CHARACTER_TO_BE_REMOVED
));
inInfo
=
super
.
query
(
inInfo
,
"HPKC003.query"
,
new
HPKC003
());
}
catch
(
Exception
e
)
{
inInfo
.
setStatus
(
500
);
LogUtils
.
setDetailMsg
(
inInfo
,
e
,
"查询失败"
);
}
return
inInfo
;
...
...
@@ -121,6 +123,7 @@ public class ServiceHPKC003 extends ServiceBase {
eiInfo
.
setStatus
(
EiConstant
.
STATUS_SUCCESS
);
eiInfo
.
setMsg
(
"删除成功!"
);
}
catch
(
Exception
e
)
{
eiInfo
.
setStatus
(
500
);
LogUtils
.
setDetailMsg
(
eiInfo
,
e
,
"删除失败"
);
}
return
eiInfo
;
...
...
src/main/java/com/baosight/hpjx/hp/kc/service/ServiceHPKC003A.java
View file @
5822a918
...
...
@@ -61,6 +61,7 @@ public class ServiceHPKC003A extends ServiceEPBase {
CommonMethod
.
initBlock
(
inInfo
,
Arrays
.
asList
(
DdynamicEnum
.
GROUP_RECORD_BLOCK_ID
),
null
,
false
);
inInfo
.
addBlock
(
EiConstant
.
resultBlock
).
addBlockMeta
(
new
HPSC005B
().
eiMetadata
);
}
catch
(
Exception
e
)
{
inInfo
.
setStatus
(
500
);
LogUtils
.
setDetailMsg
(
inInfo
,
e
,
"初始化失败"
);
}
return
inInfo
;
...
...
@@ -80,6 +81,7 @@ public class ServiceHPKC003A extends ServiceEPBase {
queryMap
.
put
(
"isComplete"
,
CommonConstant
.
YesNo
.
NO_0
);
inInfo
=
super
.
query
(
inInfo
,
HPSC005B
.
QUERY
,
new
HPSC005B
());
}
catch
(
Exception
e
)
{
inInfo
.
setStatus
(
500
);
LogUtils
.
setDetailMsg
(
inInfo
,
e
,
"查询失败"
);
}
return
inInfo
;
...
...
@@ -154,6 +156,7 @@ public class ServiceHPKC003A extends ServiceEPBase {
newKc003
.
getAmount
(),
newKc003
.
getWeight
(),
fSc005b
.
getFactoryCode
());
}
}
catch
(
Exception
e
)
{
inInfo
.
setStatus
(
500
);
LogUtils
.
setDetailMsg
(
inInfo
,
e
,
"生成入库单失败"
);
}
return
inInfo
;
...
...
src/main/java/com/baosight/hpjx/hp/sc/service/ServiceHPSC002B.java
View file @
5822a918
...
...
@@ -45,6 +45,7 @@ public class ServiceHPSC002B extends ServiceEPBase {
inInfo
.
addBlock
(
EiConstant
.
resultBlock
).
addBlockMeta
(
new
HPSC002A
().
eiMetadata
);
}
}
catch
(
PlatException
e
)
{
inInfo
.
setStatus
(
500
);
LogUtils
.
setDetailMsg
(
inInfo
,
e
,
"初始化失败"
);
}
return
inInfo
;
...
...
@@ -68,6 +69,7 @@ public class ServiceHPSC002B extends ServiceEPBase {
inInfo
=
super
.
query
(
inInfo
,
"HPSC002B.queryDev"
,
new
HPSC002B
());
}
}
catch
(
Throwable
e
)
{
inInfo
.
setStatus
(
500
);
LogUtils
.
setDetailMsg
(
inInfo
,
e
,
"查询失败"
);
}
return
inInfo
;
...
...
src/main/java/com/baosight/hpjx/hp/sc/service/ServiceHPSC005.java
View file @
5822a918
...
...
@@ -35,6 +35,7 @@ public class ServiceHPSC005 extends ServiceBase {
try
{
inInfo
.
addBlock
(
EiConstant
.
resultBlock
).
addBlockMeta
(
new
HPSC005
().
eiMetadata
);
}
catch
(
Exception
e
)
{
inInfo
.
setStatus
(
500
);
LogUtils
.
setDetailMsg
(
inInfo
,
e
,
"初始化失败"
);
}
return
inInfo
;
...
...
@@ -56,6 +57,7 @@ public class ServiceHPSC005 extends ServiceBase {
DateUtils
.
formatShort
(
inInfo
.
getCellStr
(
EiConstant
.
queryBlock
,
ACConstants
.
ROW_CODE_0
,
HPSC003
.
FIELD_PLAN_COMPLETION_DATE
)));
inInfo
=
super
.
query
(
inInfo
,
HPSC005
.
QUERY
,
new
HPSC005
());
}
catch
(
Throwable
e
)
{
inInfo
.
setStatus
(
500
);
LogUtils
.
setDetailMsg
(
inInfo
,
e
,
"查询失败"
);
}
return
inInfo
;
...
...
src/main/java/com/baosight/hpjx/hp/sc/service/ServiceHPSC005A.java
View file @
5822a918
...
...
@@ -50,6 +50,7 @@ public class ServiceHPSC005A extends ServiceBase {
CommonMethod
.
initBlock
(
inInfo
,
Arrays
.
asList
(
DdynamicEnum
.
FACTORY_RECORD_BLOCK_ID
),
null
,
false
);
inInfo
.
addBlock
(
EiConstant
.
resultBlock
).
addBlockMeta
(
new
HPSC005A
().
eiMetadata
);
}
catch
(
Exception
e
)
{
inInfo
.
setStatus
(
500
);
LogUtils
.
setMsg
(
inInfo
,
e
,
"初始化失败"
);
}
return
inInfo
;
...
...
@@ -67,6 +68,7 @@ public class ServiceHPSC005A extends ServiceBase {
try
{
inInfo
=
super
.
query
(
inInfo
,
HPSC005A
.
QUERY
,
new
HPSC005A
());
}
catch
(
Throwable
e
)
{
inInfo
.
setStatus
(
500
);
LogUtils
.
setDetailMsg
(
inInfo
,
e
,
"查询失败"
);
}
return
inInfo
;
...
...
@@ -111,6 +113,7 @@ public class ServiceHPSC005A extends ServiceBase {
inInfo
.
setStatus
(
EiConstant
.
STATUS_DEFAULT
);
inInfo
.
setMsg
(
"操作成功!本次对["
+
resultRows
.
size
()
+
"]条数据操作成功!"
);
}
catch
(
Exception
e
)
{
inInfo
.
setStatus
(
500
);
LogUtils
.
setMsg
(
inInfo
,
e
,
"新增失败"
);
}
return
inInfo
;
...
...
@@ -190,6 +193,7 @@ public class ServiceHPSC005A extends ServiceBase {
inInfo
.
setStatus
(
EiConstant
.
STATUS_DEFAULT
);
inInfo
.
setMsg
(
"操作成功!本次对["
+
resultRows
.
size
()
+
"]条数据删除成功!"
);
}
catch
(
Exception
e
)
{
inInfo
.
setStatus
(
500
);
LogUtils
.
setMsg
(
inInfo
,
e
,
"删除失败"
);
}
return
inInfo
;
...
...
src/main/java/com/baosight/hpjx/hp/sc/service/ServiceHPSC005B.java
View file @
5822a918
...
...
@@ -32,6 +32,7 @@ public class ServiceHPSC005B extends ServiceBase {
CommonMethod
.
initBlock
(
inInfo
,
Arrays
.
asList
(
DdynamicEnum
.
GROUP_RECORD_BLOCK_ID
),
null
,
false
);
inInfo
.
addBlock
(
EiConstant
.
resultBlock
).
addBlockMeta
(
new
HPSC005B
().
eiMetadata
);
}
catch
(
Exception
e
)
{
inInfo
.
setStatus
(
500
);
LogUtils
.
setMsg
(
inInfo
,
e
,
"初始化失败"
);
}
return
inInfo
;
...
...
@@ -49,6 +50,7 @@ public class ServiceHPSC005B extends ServiceBase {
try
{
inInfo
=
super
.
query
(
inInfo
,
HPSC005B
.
QUERY
,
new
HPSC005B
());
}
catch
(
Throwable
e
)
{
inInfo
.
setStatus
(
500
);
LogUtils
.
setDetailMsg
(
inInfo
,
e
,
"查询失败"
);
}
return
inInfo
;
...
...
src/main/java/com/baosight/hpjx/hp/sc/service/ServiceHPSC005C.java
View file @
5822a918
...
...
@@ -46,6 +46,7 @@ public class ServiceHPSC005C extends ServiceBase {
CommonMethod
.
initBlock
(
inInfo
,
Arrays
.
asList
(
DdynamicEnum
.
SUB_INVENT_RECORD_BLOCK_ID
),
null
,
false
);
inInfo
.
addBlock
(
EiConstant
.
resultBlock
).
addBlockMeta
(
new
HPSC005C
().
eiMetadata
);
}
catch
(
Exception
e
)
{
inInfo
.
setStatus
(
500
);
LogUtils
.
setMsg
(
inInfo
,
e
,
"初始化失败"
);
}
return
inInfo
;
...
...
@@ -64,6 +65,7 @@ public class ServiceHPSC005C extends ServiceBase {
Map
queryRow
=
EiInfoUtils
.
getFirstRow
(
inInfo
);
inInfo
=
super
.
query
(
inInfo
,
HPSC005C
.
QUERY
,
new
HPSC005C
());
}
catch
(
Throwable
e
)
{
inInfo
.
setStatus
(
500
);
LogUtils
.
setDetailMsg
(
inInfo
,
e
,
"查询失败"
);
}
return
inInfo
;
...
...
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