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
e704d375
Commit
e704d375
authored
Jun 27, 2024
by
13420
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
合同管理bug处理
parent
89fd6ac4
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
17 additions
and
1 deletions
+17
-1
ServiceHGCW002A.java
...java/com/baosight/hggp/hg/cw/service/ServiceHGCW002A.java
+2
-1
HGCWTools.java
src/main/java/com/baosight/hggp/hg/cw/tools/HGCWTools.java
+15
-0
No files found.
src/main/java/com/baosight/hggp/hg/cw/service/ServiceHGCW002A.java
View file @
e704d375
...
...
@@ -4,6 +4,7 @@ import com.baosight.hggp.aspect.annotation.OperationLogAnnotation;
import
com.baosight.hggp.common.DdynamicEnum
;
import
com.baosight.hggp.core.dao.DaoUtils
;
import
com.baosight.hggp.hg.cw.domain.HGCW002
;
import
com.baosight.hggp.hg.cw.tools.HGCWTools
;
import
com.baosight.hggp.hg.cw.vo.UserVO
;
import
com.baosight.hggp.hg.pz.domain.HGPZ002
;
import
com.baosight.hggp.hg.pz.domain.HGPZ003
;
...
...
@@ -123,7 +124,7 @@ public class ServiceHGCW002A extends ServiceBase {
}
}
}
else
if
(
contractCategory
.
equals
(
"2"
))
{
List
<
HGPZ003
>
hgpz003List
=
HG
PZTools
.
HgPz003
.
list
(
4
);
List
<
HGPZ003
>
hgpz003List
=
HG
CWTools
.
HgCw002
.
list
(
1
);
if
(
CollectionUtils
.
isNotEmpty
(
hgpz003List
))
{
hgpz003List
.
forEach
(
hgpz003
->
{
UserVO
userVO
=
new
UserVO
();
...
...
src/main/java/com/baosight/hggp/hg/cw/tools/HGCWTools.java
View file @
e704d375
...
...
@@ -5,6 +5,7 @@ import com.baosight.hggp.core.dao.DaoBase;
import
com.baosight.hggp.core.dao.DaoUtils
;
import
com.baosight.hggp.hg.cw.domain.*
;
import
com.baosight.hggp.hg.cw.vo.UserVO
;
import
com.baosight.hggp.hg.pz.domain.HGPZ003
;
import
com.baosight.hggp.hg.xs.domain.Org
;
import
com.baosight.hggp.hg.xs.tools.HGXSTools
;
import
com.baosight.hggp.util.AssertUtils
;
...
...
@@ -42,6 +43,20 @@ public class HGCWTools {
}
return
userVO
;
}
/**
* 供应商档案数据更改,固定取全部供应商
*如果固定取劳动合同更改HGPZTools.HgPz003.list();
* @param
* @return
*/
public
static
List
<
HGPZ003
>
list
(
Integer
status
)
{
if
(
status
==
null
)
{
return
null
;
}
Map
queryMap
=
new
HashMap
();
queryMap
.
put
(
"status"
,
1
);
return
DaoBase
.
getInstance
().
query
(
HGPZ003
.
QUERY
,
queryMap
);
}
public
static
HGCW002
getId
(
String
id
)
{
AssertUtils
.
isNull
(
id
,
"合同ID不能为空!"
);
...
...
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