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
a23761d7
Commit
a23761d7
authored
Jan 30, 2024
by
wuwenlong
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
审核更名为提交;
反审更名为撤回;
parent
e6608058
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
1 additions
and
68 deletions
+1
-68
ApprovalStatusEnum.java
...ain/java/com/baosight/hpjx/common/ApprovalStatusEnum.java
+0
-67
ServiceHPSC002.java
.../java/com/baosight/hpjx/hp/sc/service/ServiceHPSC002.java
+1
-1
No files found.
src/main/java/com/baosight/hpjx/common/ApprovalStatusEnum.java
deleted
100644 → 0
View file @
e6608058
package
com
.
baosight
.
hpjx
.
common
;
import
com.baosight.iplat4j.core.ei.EiBlock
;
import
java.util.ArrayList
;
import
java.util.HashMap
;
import
java.util.List
;
import
java.util.Map
;
/**
* @Author jhs
* @Date 2024/1/22 18:23
*/
public
enum
ApprovalStatusEnum
{
SAVED
(
1
,
"保存"
),
SUBMIT
(
2
,
"已提交"
),
APPROVED
(
3
,
"审批通过"
),
REJECTION
(
4
,
"审批拒绝"
);
private
Integer
code
;
private
String
value
;
ApprovalStatusEnum
(
Integer
code
,
String
value
)
{
this
.
code
=
code
;
this
.
value
=
value
;
}
public
Integer
getCode
()
{
return
code
;
}
public
void
setCode
(
Integer
code
)
{
this
.
code
=
code
;
}
public
String
getValue
()
{
return
value
;
}
public
void
setValue
(
String
value
)
{
this
.
value
=
value
;
}
public
static
EiBlock
generatorEiBlock
(){
EiBlock
block
=
new
EiBlock
(
"approval_status_block_id"
);
List
<
Map
<
String
,
Object
>>
rows
=
new
ArrayList
<
Map
<
String
,
Object
>>(){{
add
(
new
HashMap
<
String
,
Object
>(){{
put
(
HPConstants
.
TEXT_FIELD
,
SAVED
.
code
);
put
(
HPConstants
.
VALUE_FIELD
,
SAVED
.
value
);
}});
add
(
new
HashMap
<
String
,
Object
>(){{
put
(
HPConstants
.
TEXT_FIELD
,
SUBMIT
.
code
);
put
(
HPConstants
.
VALUE_FIELD
,
SUBMIT
.
value
);
}});
add
(
new
HashMap
<
String
,
Object
>(){{
put
(
HPConstants
.
TEXT_FIELD
,
APPROVED
.
code
);
put
(
HPConstants
.
VALUE_FIELD
,
APPROVED
.
value
);
}});
add
(
new
HashMap
<
String
,
Object
>(){{
put
(
HPConstants
.
TEXT_FIELD
,
REJECTION
.
code
);
put
(
HPConstants
.
VALUE_FIELD
,
REJECTION
.
value
);
}});
}};
block
.
setRows
(
rows
);
return
block
;
}
}
src/main/java/com/baosight/hpjx/hp/sc/service/ServiceHPSC002.java
View file @
a23761d7
...
...
@@ -299,7 +299,7 @@ public class ServiceHPSC002 extends ServiceBase {
map4
.
put
(
"materialStatus"
,
2
);
DaoUtils
.
update
(
"HPSC001.checkByProjCode"
,
map4
);
}
else
if
(
num1
>
0
&&
num1
<
num2
)
{
// 部分
审批
// 部分
提交
Map
map4
=
new
HashMap
();
map4
.
put
(
"projCode"
,
THPSC002
.
getProjCode
());
map4
.
put
(
"materialStatus"
,
1
);
...
...
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