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
08173a4f
Commit
08173a4f
authored
Mar 31, 2022
by
蒋勇
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
log
parent
5ccf5ed9
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
7 additions
and
0 deletions
+7
-0
ic-deliver/app/base/controller/impl/bizchance/deliverybillCtl.js
+2
-0
ic-deliver/app/base/db/dao.base.js
+3
-0
ic-deliver/app/base/db/impl/bizchance/deliverybillDao.js
+2
-0
No files found.
ic-deliver/app/base/controller/impl/bizchance/deliverybillCtl.js
View file @
08173a4f
...
@@ -570,6 +570,7 @@ class DeliverybillCtl extends CtlBase {
...
@@ -570,6 +570,7 @@ class DeliverybillCtl extends CtlBase {
if
(
pobj
.
deliverNumber
&&
pobj
.
deliverNumber
!=
'undefined'
)
{
if
(
pobj
.
deliverNumber
&&
pobj
.
deliverNumber
!=
'undefined'
)
{
try
{
try
{
var
res
=
await
this
.
service
.
findInfoByDeliverCode
(
pobj
);
var
res
=
await
this
.
service
.
findInfoByDeliverCode
(
pobj
);
console
.
log
(
"fen pei 业务员jiaofuyuan信息 after findInfoByDeliverCode=============="
);
if
(
res
)
{
if
(
res
)
{
var
sInfo
=
{
var
sInfo
=
{
"flowType"
:
"DELIVERY"
,
"flowType"
:
"DELIVERY"
,
...
@@ -609,6 +610,7 @@ class DeliverybillCtl extends CtlBase {
...
@@ -609,6 +610,7 @@ class DeliverybillCtl extends CtlBase {
...
pobj
,
...
pobj
,
master_source_number
:
res
.
master_source_number
master_source_number
:
res
.
master_source_number
});
//更新业务员信息
});
//更新业务员信息
console
.
log
(
"更新业务员信息 updateSalesmanInfoByDeliverCodeupdateSalesmanInfoByDeliverCode=============="
);
return
system
.
getResult
(
"操作成功!"
);
return
system
.
getResult
(
"操作成功!"
);
}
}
else
{
else
{
...
...
ic-deliver/app/base/db/dao.base.js
View file @
08173a4f
...
@@ -217,6 +217,9 @@ class Dao {
...
@@ -217,6 +217,9 @@ class Dao {
}
else
{
}
else
{
inWhereObj
[
"where"
]
=
whereObj
;
inWhereObj
[
"where"
]
=
whereObj
;
}
}
console
.
log
(
"inWhereObj------------------------"
);
console
.
log
(
inWhereObj
)
console
.
log
(
"inWhereObj------------------------"
);
return
this
.
model
.
update
(
setObj
,
inWhereObj
);
return
this
.
model
.
update
(
setObj
,
inWhereObj
);
}
}
async
customExecAddOrPutSql
(
sql
,
paras
=
null
)
{
async
customExecAddOrPutSql
(
sql
,
paras
=
null
)
{
...
...
ic-deliver/app/base/db/impl/bizchance/deliverybillDao.js
View file @
08173a4f
...
@@ -99,6 +99,7 @@ class DeliverybillDao extends Dao {
...
@@ -99,6 +99,7 @@ class DeliverybillDao extends Dao {
/*更新业务员/交付员信息*/
/*更新业务员/交付员信息*/
async
updateSalesmanInfoByDeliverCode
(
qobj
,
t
)
{
async
updateSalesmanInfoByDeliverCode
(
qobj
,
t
)
{
console
.
log
(
"updateSalesmanInfoByDeliverCodeupdateSalesmanInfoByDeliverCode=============="
);
var
setobj
=
{};
var
setobj
=
{};
if
(
qobj
.
type
==
"salesman"
)
{
if
(
qobj
.
type
==
"salesman"
)
{
if
(
qobj
.
salesmanId
&&
qobj
.
salesmanId
!=
'undefined'
)
{
if
(
qobj
.
salesmanId
&&
qobj
.
salesmanId
!=
'undefined'
)
{
...
@@ -140,6 +141,7 @@ class DeliverybillDao extends Dao {
...
@@ -140,6 +141,7 @@ class DeliverybillDao extends Dao {
if
(
qobj
.
productCode
)
{
if
(
qobj
.
productCode
)
{
whereobj
.
product_code
=
qobj
.
productCode
;
whereobj
.
product_code
=
qobj
.
productCode
;
}
}
console
.
log
(
"before fenpei dao updateByWhere=============="
);
return
await
this
.
updateByWhere
(
setobj
,
whereobj
,
t
);
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