Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
S
stock_new
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
sugar
stock_new
Commits
68c5ae79
Commit
68c5ae79
authored
Jun 18, 2024
by
wuxiaoli
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
no message
parent
2d29ea27
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
application/market/model/StockSubAccountSelf.php
application/market/model/StockSubAccountSelf.php
+2
-2
No files found.
application/market/model/StockSubAccountSelf.php
View file @
68c5ae79
...
@@ -47,7 +47,7 @@ class StockSubAccountSelf extends Model{
...
@@ -47,7 +47,7 @@ class StockSubAccountSelf extends Model{
public
function
myadd
(
$uid
,
$market
,
$code
){
public
function
myadd
(
$uid
,
$market
,
$code
){
$data
=
Db
::
name
(
'stock_subaccount_self'
)
$data
=
Db
::
name
(
'stock_subaccount_self'
)
->
where
(
'uid='
.
$uid
)
->
where
(
'uid='
.
$uid
)
->
where
(
'market
='
.
$market
)
->
where
(
'market
'
,
"="
,
$market
)
->
where
(
'gupiao_code='
.
$code
)
->
where
(
'gupiao_code='
.
$code
)
->
find
();
->
find
();
return
$data
;
return
$data
;
...
@@ -58,7 +58,7 @@ class StockSubAccountSelf extends Model{
...
@@ -58,7 +58,7 @@ class StockSubAccountSelf extends Model{
public
function
delmyselectbycode
(
$uid
,
$market
,
$code
){
public
function
delmyselectbycode
(
$uid
,
$market
,
$code
){
$data
=
Db
::
name
(
'stock_subaccount_self'
)
$data
=
Db
::
name
(
'stock_subaccount_self'
)
->
where
(
'uid='
.
$uid
)
->
where
(
'uid='
.
$uid
)
->
where
(
'market
='
.
$market
)
->
where
(
'market
'
,
"="
,
$market
)
->
where
(
'gupiao_code='
.
$code
)
->
where
(
'gupiao_code='
.
$code
)
->
delete
();
->
delete
();
return
$data
;
return
$data
;
...
...
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