Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
傅伟强-富德
/
test
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit f7df8f95
authored
Apr 25, 2019
by
傅伟强-富德
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update test.txt
1 parent
9916bd00
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
18 additions
and
10 deletions
test.txt
test.txt
View file @
f7df8f9
...
@@ -23,16 +23,24 @@ ppp.add_prem_eff_date AS ppp_add_prem_eff_date,
...
@@ -23,16 +23,24 @@ ppp.add_prem_eff_date AS ppp_add_prem_eff_date,
String userId
addDate(date, days) {
if (days == undefined || days == '') {
days = 1;
operation
}
operationDate
var date = new Date(date);
pkSerial
date.setDate(date.getDate() + days);
updatedUser
var month = date.getMonth() + 1;
updatedDate
return date.getFullYear()+'-'+month+'-'+date.getDate();
createdDate
}
createdUser
nextDate=this.addDate(nextDate.substring(0, 10),1);
var date = new Date(dueDate.substring(0,10));
date.setDate(date.getDate() + 1);
var month = date.getMonth() + 1;
dueDate = date.getFullYear()+ '-' + month + '-' + date.getDate();
...
...
Write
Preview
Markdown
is supported
Attach a file
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 post a comment