Commit f7df8f95 by 傅伟强-富德

Update test.txt

1 parent 9916bd00
Showing with 18 additions and 10 deletions
...@@ -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();
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!