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
93c9c97e
Commit
93c9c97e
authored
Mar 10, 2020
by
王昆
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'xggsve-invoice' into xggsve-invoice-dev
parents
e80f7d0c
8672e824
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
26 additions
and
26 deletions
+26
-26
.gitignore
+11
-0
Dockerfile
+1
-1
release-note.txt
+0
-18
xggsve-invoice/app/base/service/impl/invoice/applySve.js
+6
-2
xggsve-invoice/app/base/service/impl/invoice/delivererSve.js
+4
-1
xggsve-invoice/app/config/localsettings.js
+4
-4
No files found.
.gitignore
0 → 100644
View file @
93c9c97e
xggsve-invoice/node_modules/
.idea/
xggsve-invoice/npm-debug.log
xggsve-invoice/dump.rdb
xggsve-invoice/.DS_Store
xggsve-invoice/.project
xggsve-invoice/.package-lock.json
xggsve-invoice/*.csv
xggsve-invoice/.vscode/launch.json
Dockerfile
View file @
93c9c97e
#!/bin/bash
#!/bin/bash
FROM
registry.cn-beijing.aliyuncs.com/hantang/node105:v2
FROM
registry.cn-beijing.aliyuncs.com/hantang
2
/node105:v2
MAINTAINER
jy "jiangyong@gongsibao.com"
MAINTAINER
jy "jiangyong@gongsibao.com"
ADD
xggsve-invoice /apps/xggsve-invoice/
ADD
xggsve-invoice /apps/xggsve-invoice/
WORKDIR
/apps/xggsve-invoice/
WORKDIR
/apps/xggsve-invoice/
...
...
release-note.txt
View file @
93c9c97e
...
@@ -22,25 +22,7 @@
...
@@ -22,25 +22,7 @@
5、利用k8s上线镜像为运行容器(这一步后续会实现为自动化)
5、利用k8s上线镜像为运行容器(这一步后续会实现为自动化)
项目版本号段分配
项目版本号段分配
0、bigdata release-v0.x.x
1、igirl-web release-v1.x.x
2、igirl-zcapi release-v2.x.x
3、igirl-channel-web release-v3.x.x
4、igirl-channel release-v4.x.x
5、scratch-web release-v5.x.x
6、ipself-web release-v6.x.x
7. ipop-web release-v7.x.x
8. bpo-web release-v8.x.x
9. bpo-admin release-v9.x.x
10. laowubao release-v10.x.x
11. xggsve-common release-v11.x.x
12. xggsve-merchant release-v12.x.x
13. xggsve-order release-v13.x.x
14. xggsve-invoice release-v14.x.x
14. xggsve-invoice release-v14.x.x
15. xggpc release-v15.x.x
16. xggadmin release-v16.x.x
17. xggweb release-v17.x.x
后续号端请继续补充
后续号端请继续补充
查看自己项目号段到达的数字,执行git tag | grep v【号段前缀】
查看自己项目号段到达的数字,执行git tag | grep v【号段前缀】
...
...
xggsve-invoice/app/base/service/impl/invoice/applySve.js
View file @
93c9c97e
...
@@ -178,7 +178,7 @@ class ApplyService extends ServiceBase {
...
@@ -178,7 +178,7 @@ class ApplyService extends ServiceBase {
//试算
//试算
let
val
=
await
rule
.
dispatcher
(
params
);
let
val
=
await
rule
.
dispatcher
(
params
);
if
(
val
.
data
==-
1
){
if
(
val
.
data
==-
1
){
return
getResult
(
-
1
,
`系统错误
${
val
.
msg
}
`
);
return
system
.
getResult
(
-
1
,
`系统错误
${
val
.
msg
}
`
);
}
}
params
.
personalIncomeTax
=
this
.
trim
(
val
.
personalIncomeTax
);
params
.
personalIncomeTax
=
this
.
trim
(
val
.
personalIncomeTax
);
params
.
additionalTax
=
this
.
trim
(
val
.
additionalTax
);
params
.
additionalTax
=
this
.
trim
(
val
.
additionalTax
);
...
@@ -781,6 +781,9 @@ class ApplyService extends ServiceBase {
...
@@ -781,6 +781,9 @@ class ApplyService extends ServiceBase {
if
(
this
.
trim
(
params
.
applyNo
))
{
if
(
this
.
trim
(
params
.
applyNo
))
{
where
.
applyNo
=
this
.
trim
(
params
.
applyNo
);
where
.
applyNo
=
this
.
trim
(
params
.
applyNo
);
}
}
if
(
this
.
trim
(
params
.
businessmenCreditCode
))
{
where
.
businessmenCreditCode
=
this
.
trim
(
params
.
businessmenCreditCode
);
}
if
(
this
.
trim
(
params
.
invoiceTime
))
{
if
(
this
.
trim
(
params
.
invoiceTime
))
{
where
.
invoiceTime
=
{
where
.
invoiceTime
=
{
[
this
.
db
.
Op
.
gte
]:
this
.
trim
(
params
.
invoiceTime
)
[
this
.
db
.
Op
.
gte
]:
this
.
trim
(
params
.
invoiceTime
)
...
@@ -827,13 +830,14 @@ class ApplyService extends ServiceBase {
...
@@ -827,13 +830,14 @@ class ApplyService extends ServiceBase {
where
:
{
where
:
{
id
:
item
.
id
id
:
item
.
id
},
},
attributes
:
[
'status'
]
attributes
:
[
'status'
,
'invoiceImg'
]
});
});
if
(
_invoice
.
status
)
{
if
(
_invoice
.
status
)
{
this
.
dao
.
setRowCodeName
(
_invoice
,
"status"
);
this
.
dao
.
setRowCodeName
(
_invoice
,
"status"
);
}
else
{
}
else
{
_invoice
.
status
=
""
;
_invoice
.
status
=
""
;
}
}
item
.
invoiceImg
=
this
.
trim
(
_invoice
.
invoiceImg
);
item
.
delivererStatus
=
_invoice
.
statusName
;
item
.
delivererStatus
=
_invoice
.
statusName
;
//处理时间
//处理时间
this
.
handleDate
(
item
,
[
"invoiceTime"
],
null
,
-
8
);
this
.
handleDate
(
item
,
[
"invoiceTime"
],
null
,
-
8
);
...
...
xggsve-invoice/app/base/service/impl/invoice/delivererSve.js
View file @
93c9c97e
...
@@ -7,8 +7,11 @@ const moment = require('moment');
...
@@ -7,8 +7,11 @@ const moment = require('moment');
class
DelivererService
extends
ServiceBase
{
class
DelivererService
extends
ServiceBase
{
constructor
()
{
constructor
()
{
super
(
"invoice"
,
ServiceBase
.
getDaoName
(
DelivererService
));
super
(
"invoice"
,
ServiceBase
.
getDaoName
(
DelivererService
));
//
this.invoiceDao = system.getObject("db.invoice.invoiceDao");
this
.
invoiceDao
=
system
.
getObject
(
"db.invoice.invoiceDao"
);
this
.
applyDao
=
system
.
getObject
(
"db.invoice.applyDao"
);
this
.
applyDao
=
system
.
getObject
(
"db.invoice.applyDao"
);
let
is
=
system
.
getObject
(
"util.invoiceStatus"
);
this
.
invoiceStatus
=
is
.
status
;
}
}
/**
/**
...
...
xggsve-invoice/app/config/localsettings.js
View file @
93c9c97e
...
@@ -10,10 +10,10 @@ var settings={
...
@@ -10,10 +10,10 @@ var settings={
user
:
"write"
,
user
:
"write"
,
password
:
"write"
,
password
:
"write"
,
config
:
{
config
:
{
//
host: '43.247.184.35',
host
:
'43.247.184.35'
,
//
port: 8899,
port
:
8899
,
host
:
'192.168.18.237'
,
//
host: '192.168.18.237',
port
:
3306
,
//
port: 3306,
dialect
:
'mysql'
,
dialect
:
'mysql'
,
operatorsAliases
:
false
,
operatorsAliases
:
false
,
...
...
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