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
0fff9cca
Commit
0fff9cca
authored
Jul 24, 2019
by
clone
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1
parent
6401a0c2
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
7 additions
and
3 deletions
+7
-3
StoreFeeService.php
application/api_broker/service/StoreFeeService.php
+0
-0
StoreFee.php
application/index/controller/StoreFee.php
+2
-2
FApplyForFee.php
application/model/FApplyForFee.php
+3
-1
FStoreCostExt.php
application/model/FStoreCostExt.php
+1
-0
route.php
application/route.php
+1
-0
No files found.
application/api_broker/service/StoreFeeService.php
View file @
0fff9cca
This diff is collapsed.
Click to expand it.
application/index/controller/StoreFee.php
View file @
0fff9cca
...
...
@@ -34,11 +34,11 @@ class StoreFee extends Basic
public
function
creationStoreFee
()
{
$params
=
$this
->
params
;
$params
=
array
(
/*
$params = array(
"setting_date" => "2019-06-01",
"agent_id" => 1,
);
);
*/
if
(
!
$params
[
"setting_date"
]
||
!
$params
[
"agent_id"
])
{
return
$this
->
response
(
"101"
,
"请求参数错误 "
);
}
...
...
application/model/FApplyForFee.php
View file @
0fff9cca
...
...
@@ -87,12 +87,14 @@ class FApplyForFee extends BaseModel
* @throws \think\exception\DbException
*/
public
function
getApplyForFeeList
(
$field
,
$params
){
return
$this
->
db_
$result
=
$this
->
db_
->
field
(
$field
)
->
alias
(
"a"
)
->
join
(
"a_store b"
,
"a.store_id = b.id"
,
"left"
)
->
where
(
$params
)
->
select
();
// echo $this->db_->getLastSql();
return
$result
;
}
/**
...
...
application/model/FStoreCostExt.php
View file @
0fff9cca
...
...
@@ -24,6 +24,7 @@ class FStoreCostExt extends BaseModel
Db
::
commit
();
return
1
;
}
catch
(
\Exception
$e
)
{
dump
(
$e
);
Db
::
rollback
();
return
0
;
}
...
...
application/route.php
View file @
0fff9cca
...
...
@@ -550,6 +550,7 @@ Route::group('index', [
'getApplyForFeeStore'
=>
[
'index/StoreFee/getApplyForFeeStore'
,
[
'method'
=>
'GET'
]],
//获取费用承担办公室
'addFeeImage'
=>
[
'index/StoreFee/addFeeImage'
,
[
'method'
=>
'POST'
]],
//新增报销申请图片
'getStoreOffice'
=>
[
'index/Store/getStoreOffice'
,
[
'method'
=>
'GET'
]],
//获取费用承担办公室
'creationStoreFee'
=>
[
'index/StoreFee/creationStoreFee'
,
[
'method'
=>
'POST|GET'
]
],
'getStoreCostParameterList'
=>
[
'index/CostParameter/getStoreCostParameterList'
,
[
'method'
=>
'POST|GET'
]
],
'editCostParameter'
=>
[
'index/CostParameter/editCostParameter'
,
[
'method'
=>
'POST|GET'
]
],
...
...
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