Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
T
tl_estate
Project
Project
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
hujun
tl_estate
Commits
bad100e4
Commit
bad100e4
authored
Oct 12, 2019
by
zhuwei
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1
parent
6ac71584
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
3 deletions
+4
-3
AmercementService.php
application/index/service/AmercementService.php
+4
-3
No files found.
application/index/service/AmercementService.php
View file @
bad100e4
...
...
@@ -252,7 +252,7 @@ class AmercementService
$forfeit_penalty
=
0
;
$num
=
$this
->
diffBetweenTwoDays
(
$time
,
$now_time
);
if
((
$num
>
0
)
&&
(
$money
>
0
))
{
$money_every_day
=
$money
*
0.
2
;
$money_every_day
=
$money
*
0.
1
;
//2019年10月12日 滞纳金由20%改10%
$forfeit_penalty
=
$num
*
$money_every_day
;
}
$this
->
updateAmercement
(
$id
,
[
'forfeit_penalty'
=>
$forfeit_penalty
]);
...
...
@@ -578,11 +578,12 @@ class AmercementService
$e_data_old
[
'7'
]
=
$v
[
'status_name'
];
$e_data_old
[
'8'
]
=
$v
[
'forfeit_penalty'
];
$e_data_old
[
'9'
]
=
$v
[
'money_sum'
];
$e_data_old
[
'10'
]
=
$v
[
'remarks'
];
$e_data_new
[]
=
$e_data_old
;
}
$field_num
=
9
;
$title
=
[
'罚款ID'
,
'罚款项目'
,
'提交时间'
,
'提交人'
,
'罚款金额'
,
'被罚款人'
,
'状态'
,
'滞纳金'
,
'付款金额'
];
$field_num
=
10
;
$title
=
[
'罚款ID'
,
'罚款项目'
,
'提交时间'
,
'提交人'
,
'罚款金额'
,
'被罚款人'
,
'状态'
,
'滞纳金'
,
'付款金额'
,
'备注'
];
$title2
=
'罚款账单表'
;
$export
->
exportTable
(
'罚款账单表'
,
$e_data_new
,
$field_num
,
$title2
,
$title
);
...
...
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