Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
Z
zhichan
Overview
Overview
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
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
蒋勇
zhichan
Commits
6e2d7343
Commit
6e2d7343
authored
Dec 27, 2020
by
Sxy
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
add 工商注册
parent
596bdb6c
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
12 additions
and
4 deletions
+12
-4
ic-deliver/app/base/controller/impl/bizchance/bizoptCtl.js
+2
-2
ic-deliver/app/base/controller/impl/bizchance/deliverybillCtl.js
+5
-2
ic-deliver/app/base/db/impl/bizchance/deliverybillDao.js
+5
-0
No files found.
ic-deliver/app/base/controller/impl/bizchance/bizoptCtl.js
View file @
6e2d7343
...
...
@@ -30,7 +30,7 @@ class BizOptCtl extends CtlBase {
delete
pobj
.
search
.
dateType
}
if
(
pobj
.
search
&&
pobj
.
search
.
sourceName
)
{
pobj
.
search
.
source_name
=
pobj
.
search
.
sourceName
pobj
.
search
.
source_name
=
pobj
.
search
.
sourceName
delete
pobj
.
search
.
sourceName
}
const
rs
=
await
this
.
service
.
findAndCountAll
(
pobj
);
...
...
@@ -261,7 +261,7 @@ class BizOptCtl extends CtlBase {
//pobj.currentStatus = "beforeSubmission";//加上当前状态为待提交方案
// pobj.channelSource = "tencentCloud";//目前渠道只有腾讯
// pobj.sourceNumber = "1111111";
pobj
.
businessType
=
appconfig
.
pdict
.
dyDict
[
pobj
.
businessType
];
pobj
.
businessType
=
appconfig
.
pdict
.
dyDict
[
pobj
.
businessType
]
||
pobj
.
businessType
;
var
buInfo
=
await
this
.
service
.
insertInfo
(
pobj
);
var
logInfo
=
{
"flowType"
:
"BIZ"
,
...
...
ic-deliver/app/base/controller/impl/bizchance/deliverybillCtl.js
View file @
6e2d7343
...
...
@@ -574,7 +574,7 @@ class DeliverybillCtl extends CtlBase {
var
sInfo
=
{
"flowType"
:
"DELIVERY"
,
"flowId"
:
res
.
id
,
"flowCode"
:
pobj
.
deliverNumber
,
"flowCode"
:
res
.
master_source_number
||
pobj
.
deliverNumber
,
"salesmanInfo"
:
{
//"oldClerkPhone": res.salesman_phone,
"oldFacilitatorId"
:
res
.
facilitator_id
,
...
...
@@ -605,7 +605,10 @@ class DeliverybillCtl extends CtlBase {
}
}
await
this
.
shisService
.
insertInfo
(
sInfo
);
//之前业务员转历史
await
this
.
service
.
updateSalesmanInfoByDeliverCode
(
pobj
);
//更新业务员信息
await
this
.
service
.
updateSalesmanInfoByDeliverCode
({
...
pobj
,
master_source_number
:
res
.
master_source_number
});
//更新业务员信息
return
system
.
getResult
(
"操作成功!"
);
}
else
{
...
...
ic-deliver/app/base/db/impl/bizchance/deliverybillDao.js
View file @
6e2d7343
...
...
@@ -128,6 +128,11 @@ class DeliverybillDao extends Dao {
setobj
.
facilitator_name
=
qobj
.
facilitatorName
;
};
var
whereobj
=
{
"delivery_code"
:
qobj
.
deliverNumber
};
if
(
qobj
.
master_source_number
)
{
whereobj
=
{
master_source_number
:
qobj
.
master_source_number
}
}
return
await
this
.
updateByWhere
(
setobj
,
whereobj
,
t
);
}
...
...
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