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
efb3090e
Commit
efb3090e
authored
Apr 22, 2024
by
wancheng
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
添加app状态
parent
61c3e7be
Show whitespace changes
Inline
Side-by-side
Showing
10 changed files
with
25 additions
and
25 deletions
+25
-25
ServiceHPKC002.java
.../java/com/baosight/hpjx/hp/kc/service/ServiceHPKC002.java
+3
-3
ServiceHPKC002A.java
...java/com/baosight/hpjx/hp/kc/service/ServiceHPKC002A.java
+3
-3
ServiceHPKC003.java
.../java/com/baosight/hpjx/hp/kc/service/ServiceHPKC003.java
+3
-3
ServiceHPKC003A.java
...java/com/baosight/hpjx/hp/kc/service/ServiceHPKC003A.java
+3
-3
ServiceHPSC002B.java
...java/com/baosight/hpjx/hp/sc/service/ServiceHPSC002B.java
+2
-2
ServiceHPSC005.java
.../java/com/baosight/hpjx/hp/sc/service/ServiceHPSC005.java
+2
-2
ServiceHPSC005A.java
...java/com/baosight/hpjx/hp/sc/service/ServiceHPSC005A.java
+4
-4
ServiceHPSC005B.java
...java/com/baosight/hpjx/hp/sc/service/ServiceHPSC005B.java
+2
-2
ServiceHPSC005C.java
...java/com/baosight/hpjx/hp/sc/service/ServiceHPSC005C.java
+2
-2
ServiceHPXSOrg.java
.../java/com/baosight/hpjx/hp/xs/service/ServiceHPXSOrg.java
+1
-1
No files found.
src/main/java/com/baosight/hpjx/hp/kc/service/ServiceHPKC002.java
View file @
efb3090e
...
...
@@ -55,8 +55,8 @@ 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
,
"初始化失败"
);
inInfo
.
setStatus
(
500
);
}
return
inInfo
;
}
...
...
@@ -78,8 +78,8 @@ 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
,
"查询失败"
);
inInfo
.
setStatus
(
500
);
}
return
inInfo
;
}
...
...
@@ -123,8 +123,8 @@ public class ServiceHPKC002 extends ServiceBase {
inInfo
.
setStatus
(
EiConstant
.
STATUS_DEFAULT
);
inInfo
.
setMsg
(
"操作成功!本次对["
+
resultRows
.
size
()
+
"]条数据删除成功!"
);
}
catch
(
Exception
e
)
{
inInfo
.
setStatus
(
500
);
LogUtils
.
setDetailMsg
(
inInfo
,
e
,
"删除失败"
);
inInfo
.
setStatus
(
500
);
}
return
inInfo
;
}
...
...
src/main/java/com/baosight/hpjx/hp/kc/service/ServiceHPKC002A.java
View file @
efb3090e
...
...
@@ -73,8 +73,8 @@ public class ServiceHPKC002A extends ServiceEPBase {
}
inInfo
.
addBlock
(
EiConstant
.
resultBlock
).
addBlockMeta
(
new
HPKC010
().
eiMetadata
);
}
catch
(
Exception
e
)
{
inInfo
.
setStatus
(
500
);
LogUtils
.
setDetailMsg
(
inInfo
,
e
,
"初始化失败"
);
inInfo
.
setStatus
(
500
);
}
return
inInfo
;
}
...
...
@@ -93,8 +93,8 @@ 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
,
"查询失败"
);
inInfo
.
setStatus
(
500
);
}
return
inInfo
;
}
...
...
@@ -121,8 +121,8 @@ public class ServiceHPKC002A extends ServiceEPBase {
// 生成销售库单
this
.
saveData
(
resultRows
,
dbKc010Map
,
hpsc006Id
);
}
catch
(
Exception
e
)
{
inInfo
.
setStatus
(
500
);
LogUtils
.
setMsg
(
inInfo
,
e
,
"生成领料单失败"
);
inInfo
.
setStatus
(
500
);
}
return
inInfo
;
}
...
...
src/main/java/com/baosight/hpjx/hp/kc/service/ServiceHPKC003.java
View file @
efb3090e
...
...
@@ -53,8 +53,8 @@ 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
,
"初始化失败"
);
inInfo
.
setStatus
(
500
);
}
return
inInfo
;
}
...
...
@@ -75,8 +75,8 @@ 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
,
"查询失败"
);
inInfo
.
setStatus
(
500
);
}
return
inInfo
;
}
...
...
@@ -123,8 +123,8 @@ public class ServiceHPKC003 extends ServiceBase {
eiInfo
.
setStatus
(
EiConstant
.
STATUS_SUCCESS
);
eiInfo
.
setMsg
(
"删除成功!"
);
}
catch
(
Exception
e
)
{
eiInfo
.
setStatus
(
500
);
LogUtils
.
setDetailMsg
(
eiInfo
,
e
,
"删除失败"
);
eiInfo
.
setStatus
(
500
);
}
return
eiInfo
;
}
...
...
src/main/java/com/baosight/hpjx/hp/kc/service/ServiceHPKC003A.java
View file @
efb3090e
...
...
@@ -64,8 +64,8 @@ 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
,
"初始化失败"
);
inInfo
.
setStatus
(
500
);
}
return
inInfo
;
}
...
...
@@ -84,8 +84,8 @@ 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
,
"查询失败"
);
inInfo
.
setStatus
(
500
);
}
return
inInfo
;
}
...
...
@@ -159,8 +159,8 @@ public class ServiceHPKC003A extends ServiceEPBase {
newKc003
.
getAmount
(),
newKc003
.
getWeight
(),
fSc005b
.
getFactoryCode
());
}
}
catch
(
Exception
e
)
{
inInfo
.
setStatus
(
500
);
LogUtils
.
setDetailMsg
(
inInfo
,
e
,
"生成入库单失败"
);
inInfo
.
setStatus
(
500
);
}
return
inInfo
;
}
...
...
src/main/java/com/baosight/hpjx/hp/sc/service/ServiceHPSC002B.java
View file @
efb3090e
...
...
@@ -45,8 +45,8 @@ public class ServiceHPSC002B extends ServiceEPBase {
inInfo
.
addBlock
(
EiConstant
.
resultBlock
).
addBlockMeta
(
new
HPSC002A
().
eiMetadata
);
}
}
catch
(
PlatException
e
)
{
inInfo
.
setStatus
(
500
);
LogUtils
.
setDetailMsg
(
inInfo
,
e
,
"初始化失败"
);
inInfo
.
setStatus
(
500
);
}
return
inInfo
;
}
...
...
@@ -69,8 +69,8 @@ public class ServiceHPSC002B extends ServiceEPBase {
inInfo
=
super
.
query
(
inInfo
,
"HPSC002B.queryDev"
,
new
HPSC002B
());
}
}
catch
(
Throwable
e
)
{
inInfo
.
setStatus
(
500
);
LogUtils
.
setDetailMsg
(
inInfo
,
e
,
"查询失败"
);
inInfo
.
setStatus
(
500
);
}
return
inInfo
;
}
...
...
src/main/java/com/baosight/hpjx/hp/sc/service/ServiceHPSC005.java
View file @
efb3090e
...
...
@@ -35,8 +35,8 @@ public class ServiceHPSC005 extends ServiceBase {
new
HashMap
<
String
,
Object
>(){});
inInfo
.
addBlock
(
EiConstant
.
resultBlock
).
addBlockMeta
(
new
HPSC005
().
eiMetadata
);
}
catch
(
Exception
e
)
{
inInfo
.
setStatus
(
500
);
LogUtils
.
setDetailMsg
(
inInfo
,
e
,
"初始化失败"
);
inInfo
.
setStatus
(
500
);
}
return
inInfo
;
}
...
...
@@ -57,8 +57,8 @@ 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
,
"查询失败"
);
inInfo
.
setStatus
(
500
);
}
return
inInfo
;
}
...
...
src/main/java/com/baosight/hpjx/hp/sc/service/ServiceHPSC005A.java
View file @
efb3090e
...
...
@@ -56,8 +56,8 @@ public class ServiceHPSC005A extends ServiceBase {
new
HashMap
<
String
,
Object
>(){{
put
(
HPSC005
.
FIELD_FACTORY_CODE
,
dbSc005
.
getFactoryCode
());}},
false
);
inInfo
.
addBlock
(
EiConstant
.
resultBlock
).
addBlockMeta
(
new
HPSC005A
().
eiMetadata
);
}
catch
(
Exception
e
)
{
inInfo
.
setStatus
(
500
);
LogUtils
.
setMsg
(
inInfo
,
e
,
"初始化失败"
);
inInfo
.
setStatus
(
500
);
}
return
inInfo
;
}
...
...
@@ -74,8 +74,8 @@ public class ServiceHPSC005A extends ServiceBase {
try
{
inInfo
=
super
.
query
(
inInfo
,
HPSC005A
.
QUERY
,
new
HPSC005A
());
}
catch
(
Throwable
e
)
{
inInfo
.
setStatus
(
500
);
LogUtils
.
setDetailMsg
(
inInfo
,
e
,
"查询失败"
);
inInfo
.
setStatus
(
500
);
}
return
inInfo
;
}
...
...
@@ -119,8 +119,8 @@ public class ServiceHPSC005A extends ServiceBase {
inInfo
.
setStatus
(
EiConstant
.
STATUS_DEFAULT
);
inInfo
.
setMsg
(
"操作成功!本次对["
+
resultRows
.
size
()
+
"]条数据操作成功!"
);
}
catch
(
Exception
e
)
{
inInfo
.
setStatus
(
500
);
LogUtils
.
setMsg
(
inInfo
,
e
,
"新增失败"
);
inInfo
.
setStatus
(
500
);
}
return
inInfo
;
}
...
...
@@ -199,8 +199,8 @@ public class ServiceHPSC005A extends ServiceBase {
inInfo
.
setStatus
(
EiConstant
.
STATUS_DEFAULT
);
inInfo
.
setMsg
(
"操作成功!本次对["
+
resultRows
.
size
()
+
"]条数据删除成功!"
);
}
catch
(
Exception
e
)
{
inInfo
.
setStatus
(
500
);
LogUtils
.
setMsg
(
inInfo
,
e
,
"删除失败"
);
inInfo
.
setStatus
(
500
);
}
return
inInfo
;
}
...
...
src/main/java/com/baosight/hpjx/hp/sc/service/ServiceHPSC005B.java
View file @
efb3090e
...
...
@@ -32,8 +32,8 @@ 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
,
"初始化失败"
);
inInfo
.
setStatus
(
500
);
}
return
inInfo
;
}
...
...
@@ -50,8 +50,8 @@ public class ServiceHPSC005B extends ServiceBase {
try
{
inInfo
=
super
.
query
(
inInfo
,
HPSC005B
.
QUERY
,
new
HPSC005B
());
}
catch
(
Throwable
e
)
{
inInfo
.
setStatus
(
500
);
LogUtils
.
setDetailMsg
(
inInfo
,
e
,
"查询失败"
);
inInfo
.
setStatus
(
500
);
}
return
inInfo
;
}
...
...
src/main/java/com/baosight/hpjx/hp/sc/service/ServiceHPSC005C.java
View file @
efb3090e
...
...
@@ -46,8 +46,8 @@ 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
,
"初始化失败"
);
inInfo
.
setStatus
(
500
);
}
return
inInfo
;
}
...
...
@@ -65,8 +65,8 @@ 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
,
"查询失败"
);
inInfo
.
setStatus
(
500
);
}
return
inInfo
;
}
...
...
src/main/java/com/baosight/hpjx/hp/xs/service/ServiceHPXSOrg.java
View file @
efb3090e
...
...
@@ -74,8 +74,8 @@ public class ServiceHPXSOrg extends ServiceBase {
list
.
add
(
DdynamicEnum
.
USER_GROUP_BLOCK_ID
);
CommonMethod
.
initBlock
(
inInfo
,
list
,
queryRow
,
false
);
}
catch
(
Exception
e
)
{
inInfo
.
setStatus
(
500
);
LogUtils
.
setMsg
(
inInfo
,
e
,
"查询组失败"
);
inInfo
.
setStatus
(
500
);
}
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