Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
A
aic_duty_strategy
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
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
yinxiaoling
aic_duty_strategy
Commits
af921c1f
Commit
af921c1f
authored
May 16, 2020
by
yinxiaoling
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
导入日期添加
parent
d2c02e44
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
1 deletion
+5
-1
StrategyService.php
app/Service/StrategyService.php
+3
-0
DatabaseSeeder.php
database/seeds/DatabaseSeeder.php
+2
-1
No files found.
app/Service/StrategyService.php
View file @
af921c1f
...
...
@@ -239,6 +239,7 @@ class StrategyService
'name'
=>
$v
->
name
,
'phone'
=>
$v
->
phone
,
'duty_date'
=>
$v
->
duty_date
,
'import_date'
=>
$v
->
created_at
,
'parent_sn'
=>
$strategyInfo
[
'parent_sn'
],
'call_number'
=>
$strategyInfo
[
'call_number'
],
'project_sn'
=>
$project_sn
[
0
],
//$strategyInfo['project_sn'],
...
...
@@ -266,6 +267,7 @@ class StrategyService
'name'
=>
$v
->
name
,
'phone'
=>
$v
->
phone
,
'duty_date'
=>
$v
->
duty_date
,
'import_date'
=>
$v
->
created_at
,
'parent_sn'
=>
$strategyInfo
[
'parent_sn'
],
'call_number'
=>
$strategyInfo
[
'call_number'
],
'project_sn'
=>
$project_sn
[
0
],
...
...
@@ -279,6 +281,7 @@ class StrategyService
'name'
=>
$v
->
name
,
'phone'
=>
$v
->
phone
,
'duty_date'
=>
$v
->
duty_date
,
'import_date'
=>
$v
->
created_at
,
'parent_sn'
=>
$strategyInfo
[
'parent_sn'
],
'call_number'
=>
$strategyInfo
[
'call_number'
],
'project_sn'
=>
$project_sn
[
1
],
...
...
database/seeds/DatabaseSeeder.php
View file @
af921c1f
...
...
@@ -68,8 +68,9 @@ class DatabaseSeeder extends Seeder
$table
->
uuid
(
'strategy_sn'
)
->
comment
(
'策略sn编号'
);
//sn编号
$table
->
char
(
'name'
,
50
)
->
nullable
()
->
comment
(
'姓名'
);
$table
->
date
(
'duty_date'
)
->
nullable
()
->
comment
(
'值班日期(年月日)'
);
$table
->
date
(
'import_date'
)
->
nullable
()
->
comment
(
'导入日期(年-月-日 时:分:秒)'
);
$table
->
unsignedBigInteger
(
'phone'
)
->
comment
(
'手机号'
);
$table
->
char
(
'call_number'
,
50
)
->
comment
(
'主叫号码'
);
$table
->
char
(
'call_number'
,
50
)
->
comment
(
'主叫号码'
);
$table
->
date
(
'call_date'
)
->
comment
(
'外呼时间(年月日)'
);
$table
->
time
(
'call_time'
)
->
comment
(
'外呼时间(时分秒)'
);
$table
->
char
(
'parent_sn'
,
50
)
->
comment
(
'主账号名'
);
...
...
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