Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
huang.tao
/
jmai-platform
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
c65eb32b
authored
Jan 23, 2026
by
zhu.zewen
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
创建时设置结算日期和月份
parent
c50cfec9
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
1 deletions
jmai-physic/src/main/java/com/jmai/physic/entity/PhysicBill.java
jmai-physic/src/main/java/com/jmai/physic/service/impl/PhysicBillServiceImpl.java
jmai-physic/src/main/java/com/jmai/physic/entity/PhysicBill.java
View file @
c65eb32b
...
...
@@ -44,7 +44,6 @@ public class PhysicBill extends BaseVersionEntity {
@ApiModelProperty
(
value
=
"结算日期"
)
private
String
settleDate
;
@ApiModelProperty
(
value
=
"结算月份(年月)"
)
private
String
settleMonth
;
...
...
jmai-physic/src/main/java/com/jmai/physic/service/impl/PhysicBillServiceImpl.java
View file @
c65eb32b
...
...
@@ -71,6 +71,8 @@ public class PhysicBillServiceImpl extends AbstractService implements PhysicBill
@Transactional
@Override
public
void
createBill
(
BillDTO
req
)
{
LocalDateTime
now
=
LocalDateTime
.
now
();
PhysicBill
bill
=
new
PhysicBill
();
BeanUtil
.
copyProperties
(
req
,
bill
);
bill
.
setType
(
req
.
getType
());
...
...
@@ -90,6 +92,10 @@ public class PhysicBillServiceImpl extends AbstractService implements PhysicBill
}
bill
.
setStatus
(
0
);
bill
.
setSettleDate
(
now
.
toString
());
bill
.
setSettleMonth
(
YearMonth
.
from
(
now
).
toString
());
bill
.
setCreateTime
(
now
);
physicBillMapper
.
insert
(
bill
);
}
...
...
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