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
55c3e4b4
Commit
55c3e4b4
authored
Dec 18, 2018
by
zw
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
bug
parent
3ba0f452
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
3 deletions
+3
-3
DailyPaperService.php
application/api_broker/service/DailyPaperService.php
+1
-1
ODaily.php
application/model/ODaily.php
+1
-1
ODailyLog.php
application/model/ODailyLog.php
+1
-1
No files found.
application/api_broker/service/DailyPaperService.php
View file @
55c3e4b4
...
@@ -397,7 +397,7 @@ class DailyPaperService
...
@@ -397,7 +397,7 @@ class DailyPaperService
* @param $cash
* @param $cash
* @param $pos
* @param $pos
* @param $other_bank
* @param $other_bank
* @return array
* @return array
|int
* @throws \think\db\exception\DataNotFoundException
* @throws \think\db\exception\DataNotFoundException
* @throws \think\db\exception\ModelNotFoundException
* @throws \think\db\exception\ModelNotFoundException
* @throws \think\exception\DbException
* @throws \think\exception\DbException
...
...
application/model/ODaily.php
View file @
55c3e4b4
...
@@ -56,7 +56,7 @@ class ODaily extends BaseModel{
...
@@ -56,7 +56,7 @@ class ODaily extends BaseModel{
public
function
addDaily
(
$params
){
public
function
addDaily
(
$params
){
Db
::
startTrans
();
Db
::
startTrans
();
try
{
try
{
$this
->
db_
->
insert
All
(
$params
);
$this
->
db_
->
insert
(
$params
);
Db
::
commit
();
Db
::
commit
();
return
1
;
return
1
;
}
catch
(
\Exception
$e
)
{
}
catch
(
\Exception
$e
)
{
...
...
application/model/ODailyLog.php
View file @
55c3e4b4
...
@@ -55,7 +55,7 @@ class ODailyLog extends Model
...
@@ -55,7 +55,7 @@ class ODailyLog extends Model
public
function
addDailyCheck
(
$params
){
public
function
addDailyCheck
(
$params
){
Db
::
startTrans
();
Db
::
startTrans
();
try
{
try
{
$this
->
db_
->
insert
All
(
$params
);
$this
->
db_
->
insert
(
$params
);
Db
::
commit
();
Db
::
commit
();
return
1
;
return
1
;
}
catch
(
\Exception
$e
)
{
}
catch
(
\Exception
$e
)
{
...
...
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