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
a00cdaff
Commit
a00cdaff
authored
Nov 07, 2024
by
liuyang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
调整销售开票和采购开票填写公司
parent
e16de89e
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
8 deletions
+8
-8
ServiceHGCW010.java
.../java/com/baosight/hggp/hg/cw/service/ServiceHGCW010.java
+3
-3
ServiceHGCW014.java
.../java/com/baosight/hggp/hg/cw/service/ServiceHGCW014.java
+5
-5
No files found.
src/main/java/com/baosight/hggp/hg/cw/service/ServiceHGCW010.java
View file @
a00cdaff
...
...
@@ -229,9 +229,9 @@ public class ServiceHGCW010 extends ServiceBase {
if
(
StringUtils
.
isEmpty
(
mainId
))
{
//先生成主表
HGCW010
hgcw010
=
new
HGCW010
();
UserVO
userVO
=
HGCWTools
.
HgCw002
.
getUserCompany
();
hgcw010
.
setCompanyCode
(
userVO
.
getUserc
ode
());
hgcw010
.
setCompanyName
(
userVO
.
getUsern
ame
());
//
UserVO userVO = HGCWTools.HgCw002.getUserCompany();
hgcw010
.
setCompanyCode
(
hgcw011List
.
get
(
0
).
getCompanyC
ode
());
hgcw010
.
setCompanyName
(
hgcw011List
.
get
(
0
).
getCompanyN
ame
());
hgcw010
.
setBillTybe
(
1
);
hgcw010
.
setReviewStatus
(
0
);
hgcw010
.
setBillState
(
1
);
...
...
src/main/java/com/baosight/hggp/hg/cw/service/ServiceHGCW014.java
View file @
a00cdaff
...
...
@@ -90,9 +90,9 @@ public class ServiceHGCW014 extends ServiceBase {
for
(
int
i
=
0
;
i
<
resultRows
.
size
();
i
++)
{
HGCW014
HGCW014
=
new
HGCW014
();
HGCW014
.
fromMap
(
resultRows
.
get
(
i
));
UserVO
userVO
=
HGCWTools
.
HgCw002
.
getUserCompany
();
/*
UserVO userVO = HGCWTools.HgCw002.getUserCompany();
HGCW014.setCompanyCode(userVO.getUsercode());
HGCW014
.
setCompanyName
(
userVO
.
getUsername
());
HGCW014.setCompanyName(userVO.getUsername());
*/
HGCW014
.
setCancelStatus
(
1
);
HGCW014
.
setReviewStatus
(
0
);
HGCW014
.
setIncomeNumber
(
SequenceGenerator
.
getNextSequence
(
HGConstant
.
SequenceId
.
CW_COLLECTION_NO
));
...
...
@@ -183,9 +183,9 @@ public class ServiceHGCW014 extends ServiceBase {
if
(
StringUtils
.
isEmpty
(
mainId
))
{
//先生成主表
HGCW014
hgcw014
=
new
HGCW014
();
UserVO
userVO
=
HGCWTools
.
HgCw002
.
getUserCompany
();
hgcw014
.
setCompanyCode
(
userVO
.
getUserc
ode
());
hgcw014
.
setCompanyName
(
userVO
.
getUsern
ame
());
//
UserVO userVO = HGCWTools.HgCw002.getUserCompany();
hgcw014
.
setCompanyCode
(
hgcw015List
.
get
(
0
).
getCompanyC
ode
());
hgcw014
.
setCompanyName
(
hgcw015List
.
get
(
0
).
getCompanyN
ame
());
hgcw014
.
setCancelStatus
(
1
);
hgcw014
.
setReviewStatus
(
ReviewStatusEnum
.
UNREVIEWED
.
getCode
());
hgcw014
.
setIncomeNumber
(
SequenceGenerator
.
getNextSequence
(
HGConstant
.
SequenceId
.
CW_COLLECTION_NO
));
...
...
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