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
af0fa5d0
Commit
af0fa5d0
authored
Mar 18, 2022
by
蒋勇
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
remark
parent
2b7f26d4
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
21 additions
and
1 deletions
+21
-1
icp-deliver/app/base/controller/impl/delivery/deliverCtl.js
+8
-1
icp-deliver/app/base/db/models/delivery/delivery_bill.js
+4
-0
icp-deliver/app/base/service/impl/delivery/deliverSve.js
+9
-0
No files found.
icp-deliver/app/base/controller/impl/delivery/deliverCtl.js
View file @
af0fa5d0
...
...
@@ -8,7 +8,14 @@ class DeliverCtl extends CtlBase {
constructor
()
{
super
(
"delivery"
,
CtlBase
.
getServiceName
(
DeliverCtl
));
}
//修改备注
async
updateRemarkByDeliverCode
(
mobj
,
qobj
,
req
)
{
var
pobj
=
mobj
.
d
;
console
.
log
(
"xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"
)
await
this
.
service
.
updateRemarkByDeliverCode
(
pobj
)
return
system
.
getResult
(
"操作成功!"
);
}
async
findAndCountAll
(
pobj
,
qobj
,
req
)
{
//设置查询条件
const
rs
=
await
this
.
service
.
findAndCountAll
(
pobj
);
...
...
icp-deliver/app/base/db/models/delivery/delivery_bill.js
View file @
af0fa5d0
...
...
@@ -14,6 +14,10 @@ module.exports = (db, DataTypes) => {
allowNull
:
true
,
type
:
DataTypes
.
STRING
},
remark
:
{
// 备注
allowNull
:
true
,
type
:
DataTypes
.
STRING
},
source_name
:
{
// 渠道名称
allowNull
:
true
,
type
:
DataTypes
.
STRING
...
...
icp-deliver/app/base/service/impl/delivery/deliverSve.js
View file @
af0fa5d0
...
...
@@ -33,6 +33,15 @@ class DeliverService extends ServiceBase {
});
}
async
updateRemarkByDeliverCode
(
qobj
)
{
var
self
=
this
;
var
setobj
=
{
remark
:
qobj
.
remark
}
var
whereobj
=
{
"delivery_code"
:
qobj
.
deliverNumber
};
return
self
.
db
.
transaction
(
async
function
(
t
)
{
return
await
self
.
dao
.
updateByWhere
(
setobj
,
whereobj
,
t
);
});
}
async
submitMaterials
(
pobj
)
{
/**
* 1.此状态下是否可以提交材料
...
...
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