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
2c0b583e
Commit
2c0b583e
authored
Jun 08, 2018
by
hujun
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
经纪人主页
parent
67228408
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
13 additions
and
3 deletions
+13
-3
AAgents.php
application/model/AAgents.php
+2
-2
Evaluate.php
application/model/Evaluate.php
+11
-1
No files found.
application/model/AAgents.php
View file @
2c0b583e
...
...
@@ -878,9 +878,9 @@ class AAgents extends BaseModel
//入职年限
if
(
$year
==
0
)
{
$result
[
'created'
]
=
$year
.
'个月
以上'
;
$result
[
'created'
]
=
'4年
以上'
;
}
else
{
$result
[
'created'
]
=
$year
.
'
年以上'
;
$result
[
'created'
]
=
'5
年以上'
;
}
$result
[
'label'
]
=
array
(
0
=>
'待定标签数据'
,
1
=>
'待定标签数据'
);
...
...
application/model/Evaluate.php
View file @
2c0b583e
...
...
@@ -68,7 +68,17 @@ class Evaluate extends Model
->
value
(
'a.create_time'
);
}
$data
[
$k
][
'houserAddress'
]
=
isset
(
$v
[
'internal_address'
])
?
$v
[
'internal_address'
]
:
''
;
if
(
empty
(
$v
[
'internal_address'
]))
{
$v
[
'internal_address'
]
=
""
;
}
else
{
if
(
strpos
(
$v
[
'internal_address'
],
'号'
))
{
$v
[
'internal_address'
]
=
mb_substr
(
$v
[
'internal_address'
],
0
,
mb_strpos
(
$v
[
'internal_address'
],
'号'
,
0
));
}
else
{
$v
[
'internal_address'
]
=
mb_substr
(
$v
[
'internal_address'
],
0
,
mb_strpos
(
$v
[
'internal_address'
],
'路'
,
0
));
}
}
$data
[
$k
][
'houserAddress'
]
=
$v
[
'internal_address'
];
$data
[
$k
][
'receptiontime'
]
=
$applies_time
;
$data
[
$k
][
'created'
]
=
$v
[
'create_time'
]
?
$v
[
'create_time'
]
:
''
;
}
...
...
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